Skip to content
This repository was archived by the owner on Jan 23, 2021. It is now read-only.

Repository files navigation

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

About

Shadowed Editor.js element with iframe

Topics

Resources

Code of conduct

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages