Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

editorjs-change-case

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

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.

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
649
decreased by-3.42%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 04 Jul 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc