editorjs-style
Version:
Inline-style Tool for Editor.js
95 lines (58 loc) • 2.35 kB
Markdown
<!-- markdownlint-disable first-line-h1 -->
<h1 align="center">Welcome to editorjs-style 👋</h1>
<p>
<a href="https://www.npmjs.com/package/editorjs-style" target="_blank">
<img alt="Version" src="https://img.shields.io/npm/v/editorjs-style.svg">
</a>
<a href="#" target="_blank">
<img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" />
</a>
<a href="https://twitter.com/hata6502" target="_blank">
<img alt="Twitter: hata6502" src="https://img.shields.io/twitter/follow/hata6502.svg?style=social" />
</a>
</p>
> Inline-style Tool for Editor.js
## 💡 Motivation
Editor.js may need many inline tools to styling inline elements.
editorjs-style provides feature attaching any id, class and style to inline elements.
### ✨ [Demo](https://hata6502.github.io/editorjs-style/)

## Install
### Install via yarn
```sh
yarn add editorjs-style
```
### Load from CDN
```html
<script src="https://cdn.jsdelivr.net/npm/editorjs-style@latest"></script>
```
## Usage
Please see [Demo HTML](https://github.com/hata6502/editorjs-style/blob/master/docs/index.html).
## Config params
This tool has no config params.
## Output data
Please see [Demo](https://hata6502.github.io/editorjs-style/).
## Build
```sh
yarn webpack
```
## Run tests
```sh
yarn test
```
## Author
<img alt="hata6502" src="https://avatars.githubusercontent.com/hata6502" width="48" /> **Tomoyuki Hata <hato6502@gmail.com>**
## 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/hata6502/editorjs-style/issues).
## Show your support
Give a ⭐️ if this project helped you!
## 📝 License
Copyright © 2020 [Tomoyuki Hata](https://github.com/hata6502).
This project is [MIT](https://github.com/hata6502/editorjs-style/blob/master/LICENSE) licensed.
## Disclaimer
The following creations are included in this product:
- [ionic-team/ionicons](https://github.com/ionic-team/ionicons/blob/master/LICENSE)
Please see also [DISCLAIMER.md](https://github.com/hata6502/editorjs-style/blob/master/DISCLAIMER.md).
---
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_