NicEdit is highly configurable by passing the configuration when you create the NicEditor. Pass your configuration when you call:
new NicEditor({CONFIG HERE})
Add .panelInstance('ID TO TEXTAREA HERE') to add the editor to the textarea.
Available Configuration Options:
fullPanel (true or false, default is false)
|
If set to true, the editor instance will be created with all available buttons. If false, buttonList will be used to control which buttons are displayed
|
buttonList
|
An array of buttons in the editors for example
['bold','italic','underline','left','center']
|
|
|
List of Buttons for buttonList option
- 'bold'
- 'italic'
- 'underline'
- 'left'
- 'center'
- 'right'
- 'ol'
- 'ul'
- 'subscript'
- 'superscript'
- 'strikethrough'
- 'indent'
- 'outdent'
- 'hr'
- 'image'
- 'forecolor'
- 'bgcolor'
- 'link' * requires nicLink
- 'unlink' * requires nicLink
- 'fontSize' * requires nicSelect
- 'fontFamily' * requires nicSelect
- 'fontFamily' * requires nicSelect
- 'xhtml' * required nicCode
Comments (0)
You don't have permission to comment on this page.