juice icon indicating copy to clipboard operation
juice copied to clipboard

Juice sets list-style-type to none

Open felipediogo opened this issue 7 years ago • 3 comments

No matter if I have a OL or UL it removes the * and the numbers of the list when I run it through the method inlineContent.

felipediogo avatar Apr 24 '19 14:04 felipediogo

Actually I've found is that it doesnt not work with ::before of CSS.

Here's an example. https://codesandbox.io/s/7z29r79nv0

I'm removing the list-item-type and using ::before to add a \2022 which is the bullet char.

felipediogo avatar Apr 24 '19 16:04 felipediogo

The option inlinePseudoElements works, Quill removes the list item and uses a: li::before { content : '\2022'; } but it wraps the string 2022 inside a span, which is wrong, it should get the character so in my codesandbox sample, you can see that the console.log outputs a different html than the one being displayed on the screen.

felipediogo avatar Apr 24 '19 16:04 felipediogo

Since I made the dumb decision to re-use my codesandbox to something else. I'm closing this issue until I remember what it was :'(

felipediogo avatar Jan 02 '20 18:01 felipediogo