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/[email protected]/dist/dialog-polyfill.css"
    integrity="sha256-hT0ET4tfm+7MyjeBepBgV2N5tOmsAVKcTWhH82jvoaA="
    crossorigin="anonymous"
  />
</head>yarn webpackyarn fixyarn test Tomoyuki Hata [email protected]
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
