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

'It returns whether the editor is in 'Source Code View' mode.


Return:

TypeDescription
Boolean True if the editor is in ‘Source Code View’ mode, false if not in ‘Source Code View’ mode



Example:

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