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

Loaded HTML in Quill editor doesn't match actual HTML #1851

Closed
paulchartres opened this issue May 14, 2024 · 4 comments
Closed

Loaded HTML in Quill editor doesn't match actual HTML #1851

paulchartres opened this issue May 14, 2024 · 4 comments

Comments

@paulchartres
Copy link

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:
image
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:
image
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!

@KillerCodeMonkey
Copy link
Owner

KillerCodeMonkey commented May 14, 2024 via email

@paulchartres
Copy link
Author

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.

@KillerCodeMonkey
Copy link
Owner

KillerCodeMonkey commented May 14, 2024 via email

@KillerCodeMonkey
Copy link
Owner

any 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