Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hata6502/editorjs-layout
Layout block tool for Editor.js.
https://github.com/hata6502/editorjs-layout
codex-editor editorjs layout tool
Last synced: 26 days ago
JSON representation
Layout block tool for Editor.js.
- Host: GitHub
- URL: https://github.com/hata6502/editorjs-layout
- Owner: hata6502
- License: mit
- Created: 2021-01-20T10:19:03.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-01T15:51:31.000Z (over 1 year ago)
- Last Synced: 2024-11-13T05:31:52.789Z (about 1 month ago)
- Topics: codex-editor, editorjs, layout, tool
- Language: TypeScript
- Homepage: https://hata6502.github.io/editorjs-layout/
- Size: 448 KB
- Stars: 72
- Watchers: 5
- Forks: 24
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-editorjs - editorjs-layout
README
# editorjs-layout
Layout block tool for Editor.js.
Alternative solution: [editorjs-inline](https://github.com/hata6502/editorjs-inline)
### ✨ [Demo](https://hata6502.github.io/editorjs-layout/)
![demo](https://user-images.githubusercontent.com/7702653/105721139-97eb9100-5f67-11eb-8dca-dd4d89314377.gif)
## Install
```bash
$ npm i editorjs-layout
```or
```html
```
## Usage
Please see [demo HTML](https://github.com/hata6502/editorjs-layout/blob/main/docs/index.html).
## Config params
Please see type declaration of [LayoutBlockToolConfig](https://github.com/hata6502/editorjs-layout/blob/main/src/LayoutBlockTool.ts).
## Output data
Please see type declaration of [ValidatedLayoutBlockToolData](https://github.com/hata6502/editorjs-layout/blob/main/src/LayoutBlockTool.ts).
## Copied data
Please see type declaration of [LayoutBlockToolData](https://github.com/hata6502/editorjs-layout/blob/main/src/LayoutBlockTool.ts).
NOTE:
Copied block data by `ctrl+c` are not [validated](https://editorjs.io/blockapi#methods).
So copied block data and output block data may be different.
Please see also [this comment](https://github.com/codex-team/editor.js/issues/1280#issuecomment-706482368).## Disclaimer
The following creations are included in this product:
- [ionic-team/ionicons](https://github.com/ionic-team/ionicons/blob/master/LICENSE)