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

emit original quill event information with 'change' #285

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mgmeiner
Copy link

With this PR i want to provide the original event parameters of the 'text-change'-event from quill to listeners of the 'change' event of the vue-quill-editor wrapper.
I also changed the parameter naming from 'oldDelta' to 'oldContents' to match the current quill event documentation)

This change is 100% backward compatible. I also updated the examples in which a listener on 'change' is registered

Background info: In some cases i need to get the delta from a change and the source of the change. Currently i register an additional listener directly on quill but with this PR this would get much easier.

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.

None yet

2 participants