Socket
Socket
Sign inDemoInstall

editorjs-change-case

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    editorjs-change-case

Change Case Tool for the Editor.js - Allows to change selected text case in the block.


Version published
Weekly downloads
473
decreased by-0.63%
Maintainers
1
Install size
14.6 kB
Created
Weekly downloads
 

Readme

Source

Change Case Inline Tool

Change Case Tool for the Editor.js.

Installation

Install via NPM

Get the package

npm i --save-dev editorjs-change-case

OR

yarn add editorjs-change-case

Include module at your application

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.

var editor = EditorJS({  
  tools: {
    changeCase: {
      class: ChangeCase,
      config: {
        showLocaleOption: true, // enable locale case options
        locale: 'tr' // or ['tr', 'TR', 'tr-TR']
      }
    }
  }
});

Keywords

FAQs

Last updated on 04 Jul 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc