-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minimum level depth #4
Comments
Hey,
Thanks |
Hello, I was just going to post almost the issue, so instead of creating a new one I add it here. In my situation I am creating a WYSIWYG editor and i'm using SimmerJs to create style sheet rules instead of having inline styles. Say I have the following structue: <div id="continer">
<div>
<h1>Hello there</h1>
</div>
</div> When the user clicks on the Then the user append a new heading to the container: <div id="continer">
<div>
<h1>Hello there</h1>
</div>
<h1>Goodbye</h1>
</div> When the user clicks on the new In my real world case I am using Scope.
Does this make sence to you? |
Hi,
I'm struggling with one small problem. In some cases Simmer generates selector only with tag name. For example, if I have only one "strong" tag in the DOM tree Simmer generates "strong" selector without any additional selectors. Is there any way to specify minimum level depth of the selector? I know that "strong" is unique selector but would be nice if Simmer could generate more detailed selectors. I tried to set specificity threshold but without expected effect.
The text was updated successfully, but these errors were encountered: