#2456: V3: Editor instances
-----------------------------------+----------------------------------------
 Reporter:  fredck                 |       Owner:              
     Type:  New Feature            |      Status:  new         
 Priority:  Normal                 |   Milestone:  CKEditor 3.0
Component:  General                |     Version:              
 Keywords:  Confirmed V3ProtoCore  |  
-----------------------------------+----------------------------------------
 In the CKEditor prototype, an editor instance is represented by the
 CKEDITOR.editor class, which is defined in two files,
 "core/editor_basic.js" and "core/editor.js".

 To create and editor instance, the following information can be passed to
 the editor class constructor:

  * Instance configurations: an object containing configurations specific
 for this instance.
  * The linked element: the element which will be used to create the
 instance.
  * The linked element mode: the way the element is linked to the editor.
 It indicates if the editor will replace the element, or be appended inside
 of it.

 In any case, the editor class constructor is not to be called directly by
 end users. They will be using the functions available at CKEDITOR for
 that, as explained in #2454.

 When an instance is create in the page, the following things happen, in
 this order:

  * If the "basic" code has been loaded, the editor is not created
 immediately. It is placed in a queue, and the full code is loaded. As soon
 as it is available, all queued editors are initialized (the _init()
 function definition in editor_basic.js and editor.js).

  * The instance configuration is them loaded (initConfig).

  * The instance plugins are loaded and initialized (loadPlugins).

  * The instance skin and theme are loaded (loadSkinTheme).

  * The theme builds the instance interface. At this point, the editor is
 ready to be used.

 All the above points will be explained in detail in other tickets.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2456>
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