Feature

Font Size Up/Down

Increase or decrease the font size of the selection one step at a time through predefined size levels.

toolbar: growFont · shrinkFont

Font Size Control

Change the font size one step at a time. The steps are: 9pt → 10pt → 11pt → 12pt → 14pt → 16pt → 18pt → 20pt → 24pt → 28pt → 36pt.

10pt — Body small

12pt — Body default

16pt — Subtitle

20pt — Subheading

28pt — Heading

Select text and press the A▲ / A▼ buttons to adjust the size step by step.

Configuration

mode: classic · 2 buttons
var config = Object.assign(synapEditorConfig, {
    'editor.license': synapEditorLicense,
    'editor.lang': 'en',
    'editor.toolbar': [
        'new', '|',
        'growFont', 'shrinkFont'
    ],
    'editor.menu.show': false
});

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