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.
Gets the current editor mode
// Get the editor mode var mode = editor.mode.get()
none.
String - code
if the editor is in code mode, design
if the editor is design mode.