-
-
Notifications
You must be signed in to change notification settings - Fork 537
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
Pasting text in the TextEditor
no longer works
#5545
Comments
The After Panel moved to Bokeh 3, the
Both patches were inspired from https://stackoverflow.com/questions/67914657/quill-editor-inside-shadow-dom/67944380#67944380, the author of this answer can also be found on Quill's Github slab/quill#2961 (comment). The copy/paste issue has also been reported on Quill's issue tracker a few times:
I haven't yet seen a solution that fixes the issue, I haven't tried them all though and I could easily miss it 🙃 I've tried a few things to fix the issue, without luck so far. It seems the issue doesn't occur on Firefox. |
In my quest for finding a fix for this, I found this interesting PR nuxeo/quill#2 where they are patching Quill directly and replacing the shadow-selection-polyfill with an alternative. This branch slab/quill@develop...nuxeo:quill:2.0.0-NX, apparently built on top of the 2.0dev branch of Quill (that is a few years old) has a few commits to add support to the Shadow DOM. It's been last published two years ago https://www.npmjs.com/package/@nuxeo/quill. I'm pretty sure we'll get hit back by some of these Shadow DOM issues with Quill, when that happens, trying out |
Pasting text in the
TextEditor
no longer works. That's the error logged in the browser console when you try to paste in the widget:The text was updated successfully, but these errors were encountered: