Feature

Format Painter

Copy only the formatting (font, color, alignment, etc.) of selected text and apply it to other text.

toolbar: copyRunStyle · pasteRunStyle

Try Format Painter

Click the format painter button and the cursor changes to a brush. The formatting will be applied to the next text you select.

Source — Copy the formatting from this text.


Target 1 — Plain text. Try applying the formatting here.

Target 2 — Another plain text paragraph.

Target 3 — Double-click to apply formatting to multiple selections consecutively.

Configuration

mode: classic · 12 buttons
var config = Object.assign(synapEditorConfig, {
    'editor.license': synapEditorLicense,
    'editor.lang': 'en',
    'editor.toolbar': [
        'new', '|',
        'fontFamilyWithText', '|',
        'fontSizeWithText', '|',
        'bold', 'italic', 'underline', 'strike', '|',
        'fontColor', 'fontBackgroundColor', '|',
        'copyRunStyle', 'pasteRunStyle'
    ],
    'editor.menu.show': false
});

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