Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

에디터가 편집 모드인지 여부를 반환합니다'It returns whether the editor is in Edit Mode.


Return:

TypeDescription
Boolean 에디터가 편집 모드이면 true, 편집 모드가 아니면 falseTrue if the editor is in Edit Mode, false if not in Edit Mode.



Example:

Code Block
languagejs
themeEmacs
if(editor.isEditMode()) {
	editor.insertHTML('Hello SynapEditor~');
}

...