Issue trying to use Quill inside an iframe #4229
adamwagman-customerinsightscdp
started this conversation in
General
Replies: 1 comment
-
Here's a link to a potential fix that someone made on a branch four years ago for a previous version of Quill. It was never merged. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use Quill within an iframe so that I can pop up an editor on, e.g., one text element inside an HTML document. It almost works, in that the editor opens up correctly, but none of the toolbar items actually affects the text. I've seen some old threads about Quill and iframes and the shadow DOM, but I'm hoping there's some current solution that I haven't found yet.
I don't currently have a code demo to share, but the screenshots show that the editor toolbar looks correct regardless of whether the element it's attached to is in an iframe or not, and the toolbar buttons are clickable, but in the iframe case, there is no effect on the text.
FWIW, I did include the stylesheet and the Quill script inside the iframe document, which is why it mostly works...
Any hints would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions