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
Comments
If this is an urgent one Feel free to send a pr :)
Am 8. März 2024 17:04:03 MEZ schrieb PaulDesiles ***@***.***>:
…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](https://github.com/KillerCodeMonkey/ngx-quill/blob/master/projects/ngx-quill/src/lib/quill-editor.component.ts)
To reproduce :
- visit the demo page : https://stackblitz.com/edit/stackblitz-starters-yqbbgf?file=src%2Fmain.ts
- type an unordered list in the top editor
- the viewer based on the formControl value is an ordered list
thanks
--
Reply to this email directly or view it on GitHub:
#1813
You are receiving this because you are subscribed to this thread.
Message ID: ***@***.***>
|
@PaulDesiles i switched to |
Nice ! the problem is fixed on my use case :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 ofinnerHtml
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
The text was updated successfully, but these errors were encountered: