에디터가 편집 모드인지 여부를 반환합니다.
Return:
| Type | Description |
|---|---|
| Boolean | 에디터가 편집 모드이면 true, 편집 모드가 아니면 false |
Example:
if(editor.isEditMode()) {
editor.insertHTML('Hello SynapEditor~');
}
에디터가 편집 모드인지 여부를 반환합니다.
Return:
| Type | Description |
|---|---|
| Boolean | 에디터가 편집 모드이면 true, 편집 모드가 아니면 false |
if(editor.isEditMode()) {
editor.insertHTML('Hello SynapEditor~');
}