• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Configuration Options

This version was saved 15 years, 8 months ago View current version     Page history
Saved by Brian Kirchoff
on October 12, 2008 at 2:36:19 am
 

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']

iconsPath

String path to the icons file for example 'images/nicEditorIcons.gif'

 

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.