Page tree
Skip to end of metadata
Go to start of metadata

It returns whether the editor is in Preview Mode.


Return:

TypeDescription
Boolean True if editor is in Preview Mode, false if not in Preview Mode



Example:

if(editor.isPreviewMode()) {
	editor.setMode('edit');
}
  • No labels