Skip to content

hata6502/editorjs-inline

Repository files navigation

Welcome to editorjs-inline 👋

Version License: MIT Twitter: hata6502

Inline-Editor.js Tool for Editor.js

💡 Motivation

Editor.js inline tools are need to control DOM directly, so they may be able to provide only simple functions. By launching another Editor.js instance as inline element, existing block tools can be reused as inline tool.

I recommend to use it with editorjs-inline-template and editorjs-style.

Alternative solution: editorjs-layout

Demo

demo

Install

Install via yarn

yarn add editorjs-inline

Load from CDN

<script src="https://cdn.jsdelivr.net/npm/editorjs-inline@latest"></script>

Usage

Please see Demo HTML.

Config params

Please see EditorJSInlineToolConfig.

Output data

Please see Demo.

Build

yarn webpack

Format

yarn fix

Run tests

yarn test

Author

hata6502 Tomoyuki Hata hato6502@gmail.com

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2020 Tomoyuki Hata.
This project is MIT licensed.

Disclaimer

The following creations are included in this product:

Please see also DISCLAIMER.md.


This README was generated with ❤️ by readme-md-generator