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.

See the examples below:


Default (No Config Specified)

new nicEditor().panelInstance('area1');

Font Size...
Font Family...
Font Format...

All Available Buttons {fullPanel : true}

new nicEditor({fullPanel : true}).panelInstance('area2');

Font Size...
Font Family...
Font Format...
Some Initial Content was in this textarea

Change Path to Icon File {iconsPath : 'path/to/nicEditorIcons.gif'}

new nicEditor({iconsPath : 'nicEditorIcons.gif'}).panelInstance('area3');

Font Size...
Font Family...
Font Format...

Customize the Panel Buttons/Select List

{buttonList : ['fontSize','bold','italic','underline','strikeThrough','subscript','superscript']}

Font Size...
HTML content default in textarea

Set a maximum expansion size (maxHeight)

{maxHeight : 100}

Font Size...
Font Family...
Font Format...
HTML content default in textarea