Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Use 'editor.balloon' to configure the buttons required to edit texts, images, videos, layers, hyperlinks and tables.

Configuration Method

Code Block
languagejs
themeEmacs
titlesynapeditor.config.js (기본값)
{
	'editor.balloon': {
        'Name of balloon popup1': ['button1', 'button2', '-', 'button3', 'button4'],
        'Name of balloon popup2': ['button5', 'button6', '-', 'button7', 'button8']
    }
}

...

Please refer to Toolbar Configuration for more available balloon popup names.


Example Balloon Popup Configuration

Default 

Code Block
languagejs
themeEmacs
titlesynapeditor.config.js
{
	'editor.balloon': {
        'text': ['fontFamilyWithText', 'fontSizeWithText', '-', 'bold', 'italic', 'underline', 'strike', 'fontColor', 'fontBackgroundColor'],
        'image': ['objVertAlignBottom', 'link', 'unlink', 'openLink', 'alt', 'caption', '-', 'imageProperties', 'rotateDrawingObjectLeft', 'rotateDrawingObjectRight', 'imageOriginSize', 'tuiImageEditor', 'deleteImage'],
        'video': ['objVertAlignBottom', 'videoProperties', 'deleteVideo'],
        'div': ['drawingObjectBorderColor', 'drawingObjectLineThickness', 'drawingObjectLineStyle', '-', 'drawingObjectFill', 'divProperties', 'deleteDiv'],
        'hyperlink': ['link', 'unlink', 'openLink'],
        'tableCell': ['formulaInput', '-', 'fill', 'selectBorder', 'borderColor', 'lineThickness', 'lineStyle', 'cellSize', 'mergeCell', 'splitCell', 'fitTableWidth', '-', 'contentsAlign', 'verticalAlign', 'deleteRow', 'deleteCol', 'cellProperties', 'tableProperties', 'deleteTable']
    }
}

...


Balloon Popup Configuration for Editing Tables

Code Block
languagejs
themeEmacs
titlesynapeditor.config.js
{
	'editor.balloon': {
        'tableCell': ['formulaInput', '-', 'fill', 'selectBorder', 'borderColor', 'lineThickness', 'lineStyle', 'fitTableWidth', '-', 'insertRowBefore', 'insertRowAfter', 'insertColBefore', 'insertColAfter', 'deleteRow', 'deleteCol', 'deleteTable', '-', 'contentsAlign', 'verticalAlign',  'cellSize', 'mergeCell', 'splitCell', 'cellProperties', 'tableProperties']
    }
}


Screen after setting balloon popup for table editingResult of Applying Balloon Popup Configuration for Editing Tables