editorjs-element
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Welcome to editorjs-element 👋

Version License: MIT Total alerts Language grade: JavaScript Twitter: hata6502

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 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

Package Sidebar

Install

npm i editorjs-element

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

1.41 MB

Total Files

16

Last publish

Collaborators

  • hata6502