Skip to content

Conversation

dbaines
Copy link

@dbaines dbaines commented Jun 11, 2025

The dangerouslyPasteHTML command unfortunately doesn't trigger the text-change event in quill.
This means anything watching the text-change event doesn't get any events from the html editor populating it's content.
For our use-case we have an angular form field implementation and found that if users were pasting in the html and not making any changes afterwards then that change would be lost.

This is a simple addition that calls the text-change event with the new html content so anything watching for that event gets the new content and can update accordingly.

@dbaines dbaines force-pushed the feature/text-change-event branch from 51b6c76 to 597a716 Compare June 11, 2025 00:29
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

Successfully merging this pull request may close these issues.

1 participant