Toolbar Settings

You can freely arrange and use the various features provided by Synap Editor.


Setup Method

Configure the toolbar using the editor.toolbar key, as shown below.

// synapeditor.config.js
{
  'editor.toolbar': [
    'new', 'open', '|',
    'paragraphStyleWithText', '|',
    'fontFamilyWithText', '|',
    'fontSizeWithText', '|',
    'bold', 'italic', 'underline', 'strike', '|',
    'fontColor', 'fontBackgroundColor'
  ]
}

[Result]

Toolbar setup result


Default Settings

The default toolbar setting is as follows.

// synapeditor.config.js
{
  'editor.toolbar': [
    'new', 'open', 'template', 'layout', '|',
    'undo', 'redo', '|',
    'copy', 'cut', 'paste', '|',
    'link', 'unlink', 'bookmark', '|',
    'image', 'background', 'video', 'file', '|',
    'table', 'div', 'horizontalLine', 'quote', '|',
    'specialCharacter', 'emoji', '-',
    'paragraphStyleWithText', '|',
    'fontFamilyWithText', '|',
    'fontSizeWithText', '|',
    'bold', 'italic', 'underline', 'strike', '|',
    'growFont', 'shrinkFont', '|',
    'fontColor', 'fontBackgroundColor', '|',
    'bulletList', 'numberedList', 'multiLevelList', '|',
    'align', '|',
    'lineHeight', '|',
    'decreaseIndent', 'increaseIndent'
  ],
}

[Result]

Default toolbar result


Using All Features

To use every feature provided by Synap Editor, simply remove the editor.toolbar setting.

You can preview every feature on the All Features page.


Icon and Function List

Refer to the table below for the KEY, ICON, and description of each feature.

KEYICONDescription
newnewClears all editing content and starts a new document
openopenImports a document
printprintPrint
pageBreakpageBreakPage-break marker used when printing
templatetemplateTemplate dialog
layoutlayoutLayout
autoSaveautoSaveList of auto-saved documents
undoundoUndo
redoredoRedo
paragraphStyleparagraphStyleParagraph style (P, H1–H6)
paragraphStyleWithTextparagraphStyleWithTextParagraph style dropdown
fontFamilyfontFamilySets the font
fontFamilyWithTextfontFamilyWithTextFont selection dropdown
fontFamilyWithTextFieldfontFamilyWithTextFieldFont dropdown with input field
fontSizefontSizeSets the font size
fontSizeWithTextfontSizeWithTextFont size dropdown
fontSizeWithTextFieldfontSizeWithTextFieldFont size dropdown with input field
customParagraphStylecustomParagraphStyleShows user-defined paragraph styles. The user-defined paragraph styles must be set in the config.
customRunStylecustomRunStyleShows user-defined character (run) styles. The user-defined run styles must be set in the config.
growFontgrowFontIncrease font size by one step
shrinkFontshrinkFontDecrease font size by one step
boldboldBold
italicitalicItalic
underlineunderlineUnderline
strikestrikeStrikethrough
superScriptsuperScriptSuperscript
subScriptsubScriptSubscript
fontColorfontColorFont color
fontBackgroundColorfontBackgroundColorFont background color
alignalignParagraph alignment (dropdown: left, center, right, justify)
alignLeftalignLeftAlign left
alignCenteralignCenterAlign center
alignRightalignRightAlign right
alignJustifyalignJustifyJustify
copycopyCopy
cutcutCut
pastepastePaste
copyRunStylecopyRunStyleCopy formatting
pasteRunStylepasteRunStylePaste formatting
removeRunStyleremoveRunStyleClear formatting (removes formatting applied to text)
removeStyle (Release 2.17.0+)removeStyleClear all formatting (includes paragraph- and container-level formatting in addition to text formatting)
linklinkInsert link
unlinkunlinkRemove link
openLinkopenLinkOpen link
bookmarkbookmarkBookmark
tabletableInsert table
imageimageInsert image
backgroundbackgroundSet background image / color of the document
videovideoInsert video
filefileInsert file
horizontalLinehorizontalLineInsert horizontal line
divdivInsert layer (div)
drawAbsolutePositionDivdrawAbsolutePositionDivDraw layer
quotequoteInsert quote
bulletListbulletListBullet list
numberedListnumberedListNumbered list
multiLevelListmultiLevelListMultilevel list
increaseIndentincreaseIndentIncrease indent
decreaseIndentdecreaseIndentDecrease indent
lineHeightlineHeightLine height
lineHeightWithTextlineHeightWithTextLine height button
paragraphPropertiesparagraphPropertiesEdit paragraph detail properties
fullScreenfullScreenFull-screen mode
sourcesourceSource view
previewpreviewPreview
rulerrulerRuler
divGuide (deprecated)divGuideShow/hide layer outline
guide (2.9.0+)guideShow/hide editing guides for shapes and layers
findfindFind and replace
conversionconversionConversion (uppercase, lowercase, title case, toggle case)
helphelpHelp
aboutaboutAbout Synap Editor
selectionModeselectionModeShape selection mode
responsiveresponsiveResponsive view
contentsPropertiescontentsPropertiesEdit area properties
|Horizontal separator
-Vertical separator
codeBlock (Release 3.3.0+)codeBlockCode block
conditionalFormatting (Release 3.3.0+)conditionalFormattingConditional formatting
export (Release 3.3.2602+)exportExport
showMemo (Release 3.3.0+)showMemoComments

Plugins

KEYICONDescription
specialCharacterspecialCharacterInsert special character
emojiemojiInsert emoji
shapeEditorshapeEditorInsert shape
tuiImageEditortuiImageEditorImage editor
WebAccessibilityCheckerWebAccessibilityCheckerWeb accessibility tool
personalDataProtectionpersonalDataProtectionPersonal data protection
webSpellCheckerwebSpellCheckerSpell checker

Related Information

  • Button & Icon Size Settings
  • Fixed Toolbar Area
  • Inline mode