#2454: V3: Instances creation
-----------------------------------+----------------------------------------
 Reporter:  fredck                 |       Owner:              
     Type:  New Feature            |      Status:  new         
 Priority:  Normal                 |   Milestone:  CKEditor 3.0
Component:  General                |     Version:              
 Keywords:  Confirmed V3ProtoCore  |  
-----------------------------------+----------------------------------------
 The CKEditor prototype implements a few ways to create editor instances.
 All methods are defined under the CKEDITOR object, and are available in
 the "basic" code version.

  * '''CKEDITOR.replace()''': replaces a textarea or a div with an editor
 instance. See the replacebycode.html and divreplace.html samples.

  * '''CKEDITOR.replaceAll()''': replace all testareas in the page. It is
 possible to pass a class name to be used to filter selected textareas, or
 even a function that asserts the replacement.

  * '''CKEDITOR.appendTo()''': creates and editor instance inside a DOM
 element. There is no field associated to the editor in this case. See the
 ajax.html sample.

  * '''CKEDITOR.replaceClass''': if CKEDITOR.replaceByClassEnabled is
 enabled, all textareas with class name that match CKEDITOR.replaceClass
 will be automaticaly replaced. This is enabled by default, for the class
 name "ckeditor". See the replacebyclass.html sample.

 All function return the created editor instance, which can be used to
 manipulate it, like adding event listeners.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2454>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to