editorjs-layout-testing
v0.0.2
Published
Layout block tool for Editor.js.
Downloads
3
Maintainers
Readme
Layout block tool for Editor.js.
Alternative solution: editorjs-inline
✨ Demo
Install
Install via yarn
yarn add editorjs-layout
Load from CDN
<script src="https://cdn.jsdelivr.net/npm/editorjs-layout@latest"></script>
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 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>
Build
yarn webpack
Format
yarn fix
Run tests
yarn test
Author
Tomoyuki Hata [email protected]
🤝 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
The following creations are included in this product:
Please see also DISCLAIMER.md.
This README was generated with ❤️ by readme-md-generator