You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that an id tag is automatically generated on h1, h2, h3 tags by using the text of the actual heading. The issue I'm experiencing is that sometimes the generated ids are clashing with existing ids I've defined elsewhere on the page and in my CSS.
The ramifications of this is you now have multiple elements with the same id (which isn't good) as well as a styling conflict where the inappropriate style may be applied.
I assume you've added the ids for table of contents or other such outlining behavior?
Could we say add a prefix to the generated ids to reduce the chance of such conflicts? say "ql-" or "ql-header-"?
Platforms:
Chrome 50 on Mac 10.11
Version:
Quill 1.0 Beta 2
The text was updated successfully, but these errors were encountered:
I think I might just remove this id generation feature. It was partially motivated to have Parchment/Blots do something more interesting but seems like not an innocuous feature.
I noticed that an id tag is automatically generated on h1, h2, h3 tags by using the text of the actual heading. The issue I'm experiencing is that sometimes the generated ids are clashing with existing ids I've defined elsewhere on the page and in my CSS.
The ramifications of this is you now have multiple elements with the same id (which isn't good) as well as a styling conflict where the inappropriate style may be applied.
I assume you've added the ids for table of contents or other such outlining behavior?
Could we say add a prefix to the generated ids to reduce the chance of such conflicts? say "ql-" or "ql-header-"?
Platforms:
Chrome 50 on Mac 10.11
Version:
Quill 1.0 Beta 2
The text was updated successfully, but these errors were encountered: