editorjs-layout
TypeScript icon, indicating that this package has built-in type declarations

1.2.5 • Public • Published

editorjs-layout

Layout block tool for Editor.js.

Alternative solution: editorjs-inline

Demo

demo

Install

$ npm i editorjs-layout

or

<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.

Disclaimer

The following creations are included in this product:

Package Sidebar

Install

npm i editorjs-layout

Weekly Downloads

462

Version

1.2.5

License

MIT

Unpacked Size

17.5 kB

Total Files

12

Last publish

Collaborators

  • hata6502