ei

editorjs-inline

Inline-Editor.js Tool for Editor.js

Showing:

Popularity

Downloads/wk

60

GitHub Stars

19

Maintenance

Last Commit

5mos ago

Contributors

2

Package

Dependencies

1

Size (min+gzip)

6.0KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

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.

<dialog> polyfill

editorjs-inline 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/dialog-polyfill@0.5.6/dist/dialog-polyfill.css"
    integrity="sha256-hT0ET4tfm+7MyjeBepBgV2N5tOmsAVKcTWhH82jvoaA="
    crossorigin="anonymous"
  />
</head>

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100