Page tree

Versions Compared

Key

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

에디터가 편집 모드인지 여부를 반환합니다.


Return:

TypeDescription
Boolean 에디터가
편집모드이면
편집 모드이면 true,
편집모드가
편집 모드가 아니면 false를 반환합니다.



Example:

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

...