TinyMCE:API/tinymce.EditorManager
From Moxiecode Documentation Wiki
[edit]
Class: tinymce.EditorManager
This class is used to create multiple editor instances and contain them in a collection. So it's both a factory and a manager for editor instances.
[edit]
Properties
- activeEditor
- The currently focused/active editor instance.
[edit]
Methods
- add
- Adds an editor instance to the editor collection.
- addI18n
- Adds a language pack, this gets called by the loaded language files like en.
- execCommand
- Executes a specific command on the currently active editor.
- execInstanceCommand
- Executes a command on a specific editor by id.
- get
- Returns a editor instance by id.
- getInstanceById
- Returns a editor instance by id.
- init
- Initializes a set of editors.
- remove
- Removes a editor instance from the collection.
- triggerSave
- Calls the save method on all editor instances in the collection.
