Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/DennisSuitters/summernote-text-manipulator

Text Manipulation Plugin Summernote Plugin
https://github.com/DennisSuitters/summernote-text-manipulator

plugin summernote text wysiwyg

Last synced: 3 months ago
JSON representation

Text Manipulation Plugin Summernote Plugin

Awesome Lists containing this project

README

        

# summernote-text-manipulator
A plugin for the [Summernote](https://github.com/summernote/summernote/) WYSIWYG editor.

Adds a dropdown to the Toolbar that contains various text manipulation options.

### Installation

#### 1. Include JS

Include the following code after including Summernote:

```html

```

#### 2. Supported languages

Supported languages can be found in the `lang` folder, and should be included after the plugin, then setting the chosen language when initialising Summernote.

#### 3. Summernote options
Finally, customize the Summernote Toolbar.

```javascript
$(document).ready(function() {
$('#summernote').summernote({
toolbar:[
['custom',['textManipulator']], // The dropdown
['style',['style']],
['font',['bold','italic','underline','clear']],
['fontname',['fontname']],
['color',['color']],
['para',['ul','ol','paragraph']],
['height',['height']],
['table',['table']],
['insert',['media','link','hr']],
['view',['fullscreen','codeview']],
['help',['help']]
],
textManipulator:{
lang: 'en-US' // Change to your chosen language
}
});
});
```

#### 4. Check out our other Summernote Plugins via our main Github page.
- [Diemen Design](https://github.com/DiemenDesign/)