-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Quill 2.0 clipboard matcher issue #2706
Comments
@jhchen added description as you wanted |
Confirming I've come up against this too. These lines are a short-circuit of the matcher functionality for text that doesn't include HTML: The following line calls This is easily reproduced by:
The text copied from an html source will at minimum include a |
Still appears to be a regression, even in the latest |
well i guess my journey ends here for now: visualjerk/quill-magic-url#94 (comment) |
there's also this comment which should probably be broadcast more widely: #4002 (comment) |
When paste plain text, clipboard matchers are not applied.
because of this line
https://github.com/quilljs/quill/blob/develop/modules/clipboard.js#L87
new quill just interrupts converting delta
I believe need to apply all textMatchers in this case
Steps for Reproduction
https://recordit.co/nOvfaaJpKF
Expected behavior:
Clipboard handler should be called
Actual behavior:
Was not called
Platforms:
Windows, Chrome
Version:
"2.0.0-dev.2"
The text was updated successfully, but these errors were encountered: