Skip to content
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

Html export : Unordered lists are saved as Ordered lists #1813

Closed
PaulDesiles opened this issue Mar 8, 2024 · 3 comments
Closed

Html export : Unordered lists are saved as Ordered lists #1813

PaulDesiles opened this issue Mar 8, 2024 · 3 comments

Comments

@PaulDesiles
Copy link

Since quillv2 it seems it uses only <ol> elements for its internal rendering, even when displaying unordered lists.

As described is this quilljs issue, it's therefore recommended to use getSemanticHTML() instead of innerHtml to access an exported state :
quilljs/quill#3957 (comment)

From my understanding this change is not yet made in ngx-quill, at least in the valueGetter, line 165 of quill-editor

To reproduce :

thanks

@KillerCodeMonkey
Copy link
Owner

KillerCodeMonkey commented Mar 8, 2024 via email

@KillerCodeMonkey
Copy link
Owner

@PaulDesiles i switched to getSemanticHTML. it is released in v25.1.1
Feel free to close the issue, if it is working for you.

@PaulDesiles
Copy link
Author

Nice ! the problem is fixed on my use case :)
Thanks a lot for your quick update !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants