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

  • Whenever you search in PBworks or on the Web, Dokkio Sidebar (from the makers of PBworks) will run the same search in your Drive, Dropbox, OneDrive, Gmail, Slack, and browsed web pages. Now you can find what you're looking for wherever it lives. Try Dokkio Sidebar for free.


Configuration Options

Page history last edited by welly 12 years, 10 months ago

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.

You can specify multi config options they are JSON syntax: {fullPanel : true, iconsPath : 'nicEditorIcons.gif', maxHeight : 200}

Note that some configuration options, such as buttonlist, will not work unless you download a version of NicEdit and use it from your own webserver..


Available Configuration Options:


If set to true, the editor instance will be created with all available buttons.  If false (the default), buttonList will be used to control which buttons are displayed


An array of buttons in the editors for example



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

maxHeight Height value in pixels that the editor should not expand automatically past.  The editing area can still be larger then the specified value it will simply use scrollbars.  For a fixed height (not dynamically growing) editor set both the maxHeight value and the style="height: X" value to the same pixel value

Relative path to an external style sheet to apply to iframe nicEditor instances (only FF2 uses this mode of operation). Example:

{externalCSS : 'mysite.css'}


Absolute or relative URL to the nicUpload reciever script. Allows you to upload images from nicedit to your own server.  *requires nicUpload



{uploadURI : 'http://yourdomain.com/nicUpload.php'}

Default (http://files.nicedit.com/) uses nicedit server and uploads to imageshack


You can find a PHP version of an upload script at:



List of Buttons for buttonList option

  • 'bold'
  • 'italic'
  • 'underline'
  • 'left'
  • 'center'
  • 'right'
  • 'justify'
  • 'ol'
  • 'ul'
  • 'subscript'
  • 'superscript'
  • 'strikethrough'
  • 'removeformat'
  • 'indent'
  • 'outdent'
  • 'hr'
  • 'image'
  • 'upload' * requires nicUpload
  • 'forecolor'
  • 'bgcolor'
  • 'link' * requires nicLink
  • 'unlink' * requires nicLink
  • 'fontSize' * requires nicSelect
  • 'fontFamily' * requires nicSelect
  • 'fontFormat' * requires nicSelect
  • 'xhtml' * required nicCode



Comments (3)

felixvera said

at 9:49 pm on Jan 4, 2009

Excelent solution!!!

Gagugo said

at 5:40 am on Feb 25, 2009

Can you add table button??

Adrian said

at 6:29 pm on Feb 22, 2010

Thanks so much for the referenced PHP upload script. Just saved me quite a few hours of work and works marvelously.

You don't have permission to comment on this page.