Editor Mode

Classic mode

The most common editor mode with a fixed toolbar at the top.

mode: classic default

Classic Mode

The most familiar editor layout. The menu bar and toolbar are fixed at the top, and the body is displayed in page format.

Features

  • Quick access to all editing commands from the top toolbar
  • Page-based layout optimized for long document editing
  • User experience similar to a word processor

Ideal for general-purpose use cases such as bulletin boards, document writing, and email composition.

Configuration

mode: classic · default
var config = Object.assign(synapEditorConfig, {
    'editor.license': synapEditorLicense,
    'editor.lang': 'en'
});

// Create editor instance
var editor = new SynapEditor('synapEditor', config, initialHtml);