1.0.1 • Published 4 years ago

editorjs-element v1.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

Shadowed Editor.js element with iframe

💡 Motivation

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.

Usage

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!

Build

yarn webpack

Run tests

yarn test

Author

hata6502

🤝 Contributing

Contributions, issues and feature requests are welcome!Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2020 hata6502. This project is MIT licensed.

Disclaimer

Please see DISCLAIMER.md.


This README was generated with ❤️ by readme-md-generator