KillerCodeMonkey / ngx-quill-example

demo app for the advanced usage of ngx-quill module
213 stars 126 forks source link

Text align for <ul> or <ol> tag is not working #1749

Closed junan-trustarc closed 4 months ago

junan-trustarc commented 4 months ago

image

li tag should have ql-align-center class when align is changed to ol or li, either center, right, justify.

When those HTML snippet is injected to innerHTML on div, only li and ol tag doesn't work with align. Could you please look and fix, Thanks !

KillerCodeMonkey commented 4 months ago

I think this is a quilljs issue.

KillerCodeMonkey commented 4 months ago

And keep in mind there are known clitshes when browser extensions used like grammarly

junan-trustarc commented 4 months ago

ah..... yeah.. I can see issue on quill 2.0.1, I tried to use native quill 1.3.7, seems good

kulitha commented 2 months ago

Hey @KillerCodeMonkey I didn't create an issue for this since I'm not sure if it's a quill problem, but bullet points for <ul> and numbers for <ol> are not displayed in the quill-container with relevant CSS using innerHTML, or using <quill-view-html></quill-view-html>.

This can be seen in the above screenshots and is happening in the live demo as well. image

Is there a fix for this?

KillerCodeMonkey commented 2 months ago

Thats a quill thing. There is now a method to get Editors HTML from the editor and I am using this now internally.

If I would not use it other issues will appear.

Am 18. Juni 2024 17:14:36 MESZ schrieb kulitha @.***>:

Hey @KillerCodeMonkey I didn't create an issue for this since I'm not sure if it's a quill problem, but bullet points for <ul> and numbers for <ol> are not displayed in the quill-container with relevant CSS using innerHTML, or using <quill-view-html></quill-view-html>.

This can be seen in the above screenshots and is happening in the live demo as well. image

Is there a fix for this?

-- Reply to this email directly or view it on GitHub: https://github.com/KillerCodeMonkey/ngx-quill-example/issues/1749#issuecomment-2176355014 You are receiving this because you were mentioned.

Message ID: @.***>

KillerCodeMonkey commented 2 months ago

https://github.com/slab/quill/issues/4124

There are some more detailed explanations.

kulitha commented 2 months ago

Thank you very much for the reply.