tinymce.EditorMode
TinyMCE Editor Mode API.
Summary
Properties
Name | Type | Summary | Defined by |
---|---|---|---|
editorReadOnly |
|
Flags whether the editor should be made readonly while this mode is active. |
Methods
Name | Summary | Defined by |
---|---|---|
Handler to activate this mode, called before deactivating the previous mode. |
||
Handler to deactivate this mode, called after activating the new mode. |
||
Returns the active editor mode, such as "design" or "readonly". |
||
Checks if the editor is in a readonly state. |
||
Registers a new editor mode. |
||
Sets the editor mode. The available modes are "design" and "readonly". Additional modes can be registered using 'register'. |