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

Enable Disable Clipboard Matchers on Update #606

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

onzag
Copy link

@onzag onzag commented May 6, 2020

It seems to work just fine according to my testing and prevents the issue where you have a controlled field where you have your own custom clipboard matcher functionality and react quill given it sanitizes data and builds the delta with the clipboard might just break when you have custom matchers that don't allow for pasting the same you can display. Eg. having a plaintext matcher is very common, but that totally breaks a value update.

This allows for disabling/enabling matchers on the fly during the update and then restores them to their normal state.

@onzag
Copy link
Author

onzag commented May 18, 2020

Hello?...

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

1 participant