QuillJS uses references to its own CSS for formatting HTML #102
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I was helping
Archer72with his notes for show 4527 recently and noticed that QuillJS apparently generates HTML which relies on its own CSS definitions. Elements like lists are not implemented with simple nested<ul><li>sequences but useclassattributes that start withql-.For example (slightly reformatted for space):
The second
<li>would normally be a "child" of the first in more "standard" HTML.Perhaps there are two solutions to the problems this causes:
ql-CSS references. This would generate more universally acceptable HTML, but it's not trivial to code.I looked on the QuillJS Github repo to see if it was possible to find the CSS the tool uses, but didn't find anything in the time I had. I did see this in the HTML for show 4527:
SELECT * FROMepsWHEREnotesLIKE '%class="ql-%';20 total
@davmo the best would be to have QuillJS not produce this in the first place.
You are right of course. My (limited) researches didn't show how that could be done, but maybe you know better?