-
-
Notifications
You must be signed in to change notification settings - Fork 256
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
Loaded HTML in Quill editor doesn't match actual HTML #1851
Comments
Do you use quill v2 and previously v1?
Because the are changes how quill Formats things.
Maybe this could be a reason.
Try the playground on the quilljs Homepage if it occurs there as well, when you use the quill API to Set your HTML.
I guess this is a quill problem.
Am 14. Mai 2024 21:32:11 MESZ schrieb Paul Dielenschneider ***@***.***>:
…Hi there,
I've been facing a pretty weird issue for the past few days. I tried fixing it a lot of different ways, to no avail, so I'm verry sorry to turn to you for help! I believe this may be a bug?
I wrote a little formatted paragraph that displays as follows when saved to the database straight from the Quill editor:
<img width="995" alt="image" src="https://github.com/KillerCodeMonkey/ngx-quill/assets/5456986/c4033fc4-63c1-4b50-b6a4-c02b68997f5a">
Now, when I try to edit the paragraph (so when I load it from the database straight into the editor, using ngModel or formControlName), I notice that the formatting isn't correct, at a seemingly arbitrary breaking point:
<img width="491" alt="image" src="https://github.com/KillerCodeMonkey/ngx-quill/assets/5456986/e85d3d06-231e-423a-a565-2a6ede993c1f">
Note that the first bold title is rendered properly. I printed the HTML code and I can confirm that the title is surrounded by `<strong>` tags. It seems like Quill just completely ignores that (for the first few words, weirdly?).
I am completely lost as to what the issue could be, so I hope a bright mind can enlighten me :)
Thanks a lot for the work on this lib and have a great day!
--
Reply to this email directly or view it on GitHub:
#1851
You are receiving this because you are subscribed to this thread.
Message ID: ***@***.***>
|
I use Quill v1, I haven't made any migrations lately. Does ngx-quill support v2? I could give it a shot and see if the problem persists. |
Yes latest major Version Supports angular v17 with quill v2
Am 14. Mai 2024 21:57:18 MESZ schrieb Paul Dielenschneider ***@***.***>:
…I use Quill v1, I haven't made any migrations lately. Does ngx-quill support v2? I could give it a shot and see if the problem persists.
I'll try it on the playground and get back to you later today.
--
Reply to this email directly or view it on GitHub:
#1851 (comment)
You are receiving this because you commented.
Message ID: ***@***.***>
|
any update? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
I've been facing a pretty weird issue for the past few days. I tried fixing it a lot of different ways, to no avail, so I'm verry sorry to turn to you for help! I believe this may be a bug?
I wrote a little formatted paragraph that displays as follows when saved to the database straight from the Quill editor:
Now, when I try to edit the paragraph (so when I load it from the database straight into the editor, using ngModel or formControlName), I notice that the formatting isn't correct, at a seemingly arbitrary breaking point:
Note that the first bold title is rendered properly. I printed the HTML code and I can confirm that the title is surrounded by
<strong>
tags. It seems like Quill just completely ignores that (for the first few words, weirdly?).I am completely lost as to what the issue could be, so I hope a bright mind can enlighten me :)
Thanks a lot for the work on this lib and have a great day!
The text was updated successfully, but these errors were encountered: