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

Quill does not fire events when embedded in an iframe #982

Open
marcustran98 opened this issue Jun 17, 2024 · 0 comments
Open

Quill does not fire events when embedded in an iframe #982

marcustran98 opened this issue Jun 17, 2024 · 0 comments

Comments

@marcustran98
Copy link

I am experiencing an issue where Quill is not firing events correctly when it is embedded within an iframe. The specific setup is as follows:

<App>
  <iframe>
    <ParentComponent>
      <ReactQuill />
    </ParentComponent>
  </iframe>
</App>

Issue:

  • The toolbar for the ReactQuill editor does not show up when selecting text.
  • Keyboard shortcuts like Ctrl + B for bold do not work when text is selected.
  • Other toolbar actions also do not respond when embedded in an iframe.

Steps to Reproduce:

  • Embed ReactQuill within a component that is rendered inside an iframe.
  • Try to select text and expect the toolbar to show up for formatting options.
  • Attempt to use keyboard shortcuts like Ctrl + B to bold the selected text.

Expected Behavior:

  • The toolbar should appear when text is selected.
  • Keyboard shortcuts should apply formatting as expected (e.g., Ctrl + B should make the selected text bold).

Actual Behavior:

  • The toolbar does not show up upon text selection.
  • Keyboard shortcuts do not apply any formatting.
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

No branches or pull requests

1 participant