'It returns whether the editor is in Edit Mode.
Return:
| Type | Description |
|---|---|
| Boolean | True if the editor is in Edit Mode, false if not in Edit Mode. |
Example:
if(editor.isEditMode()) {
editor.insertHTML('Hello SynapEditor~');
}
'It returns whether the editor is in Edit Mode.
Return:
| Type | Description |
|---|---|
| Boolean | True if the editor is in Edit Mode, false if not in Edit Mode. |
if(editor.isEditMode()) {
editor.insertHTML('Hello SynapEditor~');
}