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

Chrome error when EditorJs is loaded in an iframe #2789

Closed
damacisaac opened this issue Jul 19, 2024 · 5 comments · Fixed by #2790
Closed

Chrome error when EditorJs is loaded in an iframe #2789

damacisaac opened this issue Jul 19, 2024 · 5 comments · Fixed by #2790
Labels

Comments

@damacisaac
Copy link
Contributor

damacisaac commented Jul 19, 2024

See #2675.

This issue is preventing use of the library when inside of an iframe that is out of our control.

@neSpecc
Copy link
Member

neSpecc commented Aug 20, 2024

Please, add more details. How to reproduce the problem?
I've tested this code and the editor is working fine in there

<iframe src="https://editorjs.io" frameborder="0" width="100%" height="700px"></iframe>

@damacisaac
Copy link
Contributor Author

damacisaac commented Aug 21, 2024

@neSpecc It works almost fine, but the [ + ] button does not appear beside blocks. I tried just now with your example in a random http://localhost:8000 site and was able to see the error in the console logs and the button does not appear.

@welcomeapp
Copy link

Is there any information on how to fix this bug? There is no access to the iframe settings and [+] is not displayed and the error
image

@damacisaac
Copy link
Contributor Author

the fix is to merge this PR: #2790

@damacisaac
Copy link
Contributor Author

@neSpecc can we get that PR merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants