Shadowed Editor.js element with iframe
DOM event, CSS Style, etc may conflict each other when multiple Editor.js instances are launched in same page. By launching Editor.js in iframe, these problems are resolved forcibly. This repository provides the template of Editor.js in iframe.
Launch editorjs-element by loading dist/index.html in iframe.
<iframe src="index.html"></iframe>
editorjs-element can be communicated via window.postMessage. The message interface is here, and example is here (window.addEventListener).
This repository is a template, please fork it in order to customize Editor.js!
yarn webpack
yarn test
- Website: https://b-hood.site/
- Twitter: @hata6502
- Github: @hata6502
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
Copyright © 2020 hata6502.
This project is MIT licensed.
Please see DISCLAIMER.md.
This README was generated with ❤️ by readme-md-generator