moroz1999/ckeditor-texttransform-plugin

There is no license information available for the latest version (1.0.2) of this package.

Installs: 596

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 16

Language:JavaScript

Type:package

1.0.2 2018-05-09 14:44 UTC

This package is auto-updated.

Last update: 2024-11-21 20:17:57 UTC


README

A very simple plugin which provides transforming selected text to new cases. You can transform selected text to uppercase, lowercase or simply capitalize it.

Available Transform Cases

  • Transform Text to Uppercase: Convert letters to uppercase
  • Transform Text to Lowercase: Convert letters to lowercase
  • Transform Capitalize: Capitalize each word of selected text
  • Transform Switcher: Loop through all cases

Internationalization

Currently plugin supports 4 languages.

  • en
  • tr
  • fr (thanks to regisenguehard)
  • es (thanks to mivanpv)

Translations are welcomed.

Usage

  1. Download source files and place them on to be created "texttransform" folder under the CKEditor's plugin base.

  2. Define plugin in CKEDITOR config object.

     CKEDITOR.config.extraPlugins = 'texttransform';
    
  3. Add transform buttons to your editor toolbar.

     CKEDITOR.config.toolbar = [
     { name: 'paragraph',   groups: ['texttransform'] }
     ];
    
  4. Set your CKEDITOR language if you did not set it yet.

     CKEDITOR.config.language = 'en';
    

Demo

View the live demo on jsFiddle.

Cheers

Thanks to [CKEditor] 1 and [jsFiddle] 2 for their good work.