plec-editor
v0.0.11
Published
Simple wysiwyg
Downloads
2
Readme
#Plec Editor
Simple wysiwyg
#Usage
import PlecEditor from 'plec-editor'
PlecEditor.init({
el: 'editor'
}
Options
- el = Element to bind
- buttonFilter = Array of command button to display, available value are :
- 'bold'
- 'italic'
- 'underline'
- 'strikeThrough'
- 'justifyLeft'
- 'justifyCenter'
- 'justifyRight'
- 'insertOrderedList'
- 'insertUnorderedList'
- 'link'
- 'unlink'
- 'fontSize'
- 'removeFormat'