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

Gets the current editor mode

Example

editor.content.set(html)
// Get the editor mode
var mode = editor.mode.get()

Parameters

none.

 

Returns

String - code if the editor is in code mode, design if the editor is design mode.

  • No labels