Welcome to editorjs-layout 👋
Layout block tool for Editor.js.
Install
yarn add editorjs-layout
Usage
Please see demo HTML.
Config params
Please see type declaration of LayoutBlockToolConfig.
Output data
Please see type declaration of ValidatedLayoutBlockToolData.
Copied data
Please see type declaration of LayoutBlockToolData.
NOTE:
Copied block data by ctrl+c
are not validated.
So copied block data and output block data may be different.
Please see also this comment.
<dialog> polyfill
editorjs-layout uses <dialog>
element.
GoogleChrome/dialog-polyfill can be used to improve the browser compatibility.
Build
yarn webpack
Format
yarn fix
Run tests
yarn test
Author
Tomoyuki Hata hato6502@gmail.com
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!
Disclaimer
Please see DISCLAIMER.md.
This README was generated with ❤️ by readme-md-generator