Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maziyank/editorjs-change-case
Change Case Inline Tool for the Editor.js.
https://github.com/maziyank/editorjs-change-case
change-case editorjs editorjs-plugin inline
Last synced: about 2 months ago
JSON representation
Change Case Inline Tool for the Editor.js.
- Host: GitHub
- URL: https://github.com/maziyank/editorjs-change-case
- Owner: maziyank
- License: mit
- Created: 2021-06-27T14:37:48.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T21:43:44.000Z (about 1 year ago)
- Last Synced: 2024-05-19T14:32:09.001Z (8 months ago)
- Topics: change-case, editorjs, editorjs-plugin, inline
- Language: JavaScript
- Homepage:
- Size: 98.6 KB
- Stars: 12
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-editorjs - editorjs-change-case
README
![](https://badgen.net/badge/Editor.js/v2.0/blue)
# Change Case Inline Tool
Change Case Tool for the [Editor.js](https://editorjs.io).
![](assets/example.gif)
## Installation
### Install via NPM
Get the package
```shell
npm i --save-dev editorjs-change-case
```OR
```shell
yarn add editorjs-change-case
```Include module at your application
```javascript
import ChangeCase from 'editorjs-change-case';
```## Usage
Add a new Tool to the `tools` property of the Editor.js initial config.
The locale parameter used to convert according to locale-specific case mappings.```javascript
var editor = EditorJS({
tools: {
changeCase: {
class: ChangeCase,
config: {
showLocaleOption: true, // enable locale case options
locale: 'tr' // or ['tr', 'TR', 'tr-TR']
}
}
}
});
```