Table of Contents
setMode Method 

Change editor mode.

Syntax
JavaScript
 Editor.setMode(mode)

Parameters

mode
  • 0 - Design mode;
  • 1 - HTML mode;
  • 2 - Preview mode;
See Also