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

  • Finally, you can manage your Google Docs, uploads, and email attachments (plus Dropbox and Slack files) in one convenient place. Claim a free account, and in less than 2 minutes, Dokkio (from the makers of PBworks) can automatically organize your content for you.

View
 

Javascript API

This version was saved 12 years, 6 months ago View current version     Page history
Saved by Brian Kirchoff
on October 11, 2008 at 4:32:30 pm
 

 

Class nicEditors

The nicEditors class provides convience methods to add NicEditor to the page or get a reference to a editor by ID

 

nicEditors.allTextAreas

Converts all the textareas on the page info NicEditor instances.  Returns a reference to the array of all NicEdit instances on the page.

nicEditors.findEditor

Finds a specific editor by ID if created using allTextAreas explitly

 

For example to get the nicedit instance for

<textarea id="myArea2"></textarea>

use:

nicEditors.findEditor('myArea2');

 

The method returns a nicedit instance that you call the functions below on.

 

nicEditors.editors[] The raw array of all the NicEdit instances on the page

 

Class nicInstance

The nicEditor instance class creates the editable area for a single element and provides a number of useful methods to developers.  You can get a reference to the nicInstance object using

nicEditors.findEditor

 

 

Class nicEditor

The nicEditor class is a container for a number of nicEditor instances and 1 nicPanel. 

 

 

Comments (0)

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