Layout block tool for Editor.js.
Alternative solution: editorjs-inline
✨ Demo
yarn add editorjs-layout
<script src="https://cdn.jsdelivr.net/npm/editorjs-layout@latest"></script>
Please see demo HTML.
Please see type declaration of LayoutBlockToolConfig.
Please see type declaration of ValidatedLayoutBlockToolData.
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.
editorjs-layout uses <dialog>
element and GoogleChrome/dialog-polyfill.
Please load dialog-polyfill.css
in your document.
<head>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/dialog-polyfill@0.5.6/dist/dialog-polyfill.css"
integrity="sha256-hT0ET4tfm+7MyjeBepBgV2N5tOmsAVKcTWhH82jvoaA="
crossorigin="anonymous"
/>
</head>
yarn webpack
yarn fix
yarn test
Tomoyuki Hata hato6502@gmail.com
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
The following creations are included in this product:
Please see also DISCLAIMER.md.
This README was generated with ❤️ by readme-md-generator