사이냅에디터에서 제공하는 다양한 기능들을 자유롭게 배치하고 사용 할 수 있습니다.
설정방법
'editor.toolbar'키를 이용해서 아래와 같이 설정합니다You can freely arrange and use various features provided by SynapEditor.
Configuration Method
Use "editor.toolbar" key on initialization to configure the toolbar features.
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
{
'editor.toolbar': [
'new','open','|',
'paragraphStyleWithText', '|',
'fontFamilyWithText', '|',
'fontSizeWithText', '|',
'bold', 'italic', 'underline', 'strike', '|',
'fontColor', 'fontBackgroundColor'
]
} |
[적용결과Application result]
기본설정
기본 제공되는 툴바 설정은 아래와 같습니다Basic Configuration
The basic toolbar configuration is as follows.
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
{
'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'
],
} |
[적용결과Application result]
전체기능사용
사이냅에디터에서 제공하는 모든 기능을 사용하시려면Using Every Features
To use every features provided by SynapEditor, remove 'editor.toolbar' 설정을 제거하면 됩니다.
전체기능 페이지에서 미리 확인 할 수 있습니다.
아이콘 및 기능설명
각 기능에 대한 KEY, ICON, 설명을 아래를 참고하세요.
setting.
You can preview the features at the Full Features page.
Icons and Actions
As for keys, icons, and descriptions of each function, please refer to the below.
| TOOLBAR KEY | ICON설명 | ACTION |
|---|---|---|
| new | Creates a new document; the current contents will be discarded. | |
| open | Imports an MS Word / LibreOffice document. | |
| Prints the current document. | ||
| pageBreak | Inserts page break. | |
| template | Opens Templates dialogue box. | |
| autoSave | Opens auto-saved document list. | |
| undo | Undoes the last command. | |
| redo | Redoes the last undone command. | |
paragraphStyle | 문단스타일 Sets paragraph style (P, H1 ~ H6). | |
paragraphStyleWithText | Shows drop-down menu for paragraph styles. | |
fontFamily | Sets font family. | |
fontFamilyWithText | Shows drop-down menu for font family. | |
fontSize | Sets font size. | |
fontSizeWithText | Shows drop-down menu for font size. | |
| customParagraphStyle | Shows predefined custom paragraph styles. | |
| 사용자정의 문단스타일은 config에 설정해야합니다.customRunStyle | Shows predefined custom text styles. | |
| 사용자정의 글자스타일은 config에 설정해야합니다.growFont | Grows font size. | |
| shrinkFont | Shrinks font size. | |
| bold | Sets as boldface. | |
| italic | Sets as italic. | |
| underline | Sets as underlined. | |
| strike | Sets as strikethrough. | |
| superScript | Sets as superscript. | |
| subScript | Sets as subscript. | |
| fontColor | Set text color. | |
| fontBackgroundColor | Set text background color. | |
| align | > | 문단정렬 (드롭다운: left, center, right, justify) |
alignLeft alignCenter alignRight alignJustify | 왼쪽정렬 중앙정렬 오른쪽정렬 양쪽정렬 | |
| Set text alignment. | ||
| copy | Copy the current block. | |
| cut | Cut the current block. | |
| paste | Paste the copied contents into the current position. | |
| copyRunStyle | Copy text style only. | |
| pasteRunStyle | Paste text style to the current block. | |
| removeRunStyle | Clear text formatting from the current block. | |
| link | Insert link to the current block. | |
| unlink | Remove the selected link. | |
| table | Insert table. | |
| image | Insert image. | |
| background | Set background image/color for the whole document. | |
| video | Insert video. | |
| file | Insert file. | |
| horizontalLine | Insert horizontal line. | |
| shapeEditor | Insert shape. | |
| specialCharacter | Insert special character. | |
| emoji | Insert emoji character. | |
| div | Insert a <div> layer. | |
| drawDiv | Insert a <div> layer by mouse dragging. | |
| quote | Insert quote. | |
| bulletList | Set the current block as bulleted (unordered) list. | |
| numberedList | Set the current block as numbered (ordered) list. | |
| multiLevelList | Set the current block as multi-level list. | |
| increaseIndent | Increase indentation level for the current paragraph. | |
| decreaseIndent | Decrease indentation level for the current paragraph. | |
| lineHeight | Set line spacing for the current paragraph. | |
| lineHeightWithText | Show drop-down menu for line spacing. | |
| paragraphProperties | Open dialogue box for paragraph properties. | |
| fullScreen | View full screen. | |
| source | View source code. | |
| preview | Change to preview mode. | |
| ruler | Show ruler. | |
| divGuidedivOutline | 외각선 보이기/감추기Show/hide guiding box of layers. | |
| accessibility | Open dialogue box for web accessibility check. | |
| personalDataProtection | Open dialogue box for personal data protection. | |
| find | /바꾸기Open dialogue box for find/replace. | |
| |가로 나눔선 | Horizontal dividing line | |
| - | 세로 나눔선 |
관련정보
| Vertical dividing line |
