툴바 설정

Synap Editor에서 제공하는 다양한 기능을 자유롭게 배치하고 사용할 수 있습니다.


설정 방법

아래와 같이 editor.toolbar 키를 사용하여 툴바를 구성합니다.

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

[Result]

1.00


기본 설정

기본 툴바 설정은 다음과 같습니다.

// 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]

1.00


모든 기능 사용

Synap Editor에서 제공하는 모든 기능을 사용하려면 editor.toolbar 설정을 제거하면 됩니다.

모든 기능은 전체 기능 데모에서 직접 사용해 볼 수 있습니다.


아이콘 및 기능 목록

아래 표를 참고하여 각 기능의 키, 아이콘, 설명을 확인합니다.

키아이콘설명
newnew모든 편집 내용을 지우고 새 문서를 시작합니다
openopen문서를 임포트합니다
printprint인쇄
pageBreakpageBreak인쇄 시 사용되는 페이지 나누기 표시
templatetemplate템플릿 다이얼로그
layoutlayout레이아웃
autoSaveautoSave자동 저장된 문서 목록
undoundo실행 취소
redoredo다시 실행
paragraphStyleparagraphStyle문단 스타일 (P, H1–H6)
paragraphStyleWithTextparagraphStyleWithText문단 스타일 드롭다운
fontFamilyfontFamily글꼴 설정
fontFamilyWithTextfontFamilyWithText글꼴 선택 드롭다운
fontFamilyWithTextFieldfontFamilyWithTextField입력 필드가 있는 글꼴 드롭다운
fontSizefontSize글꼴 크기 설정
fontSizeWithTextfontSizeWithText글꼴 크기 드롭다운
fontSizeWithTextFieldfontSizeWithTextField입력 필드가 있는 글꼴 크기 드롭다운
customParagraphStylecustomParagraphStyle사용자 정의 문단 스타일을 표시합니다. 사용자 정의 문단 스타일은 설정(config)에 지정해야 합니다.
customRunStylecustomRunStyle사용자 정의 글자 스타일을 표시합니다. 사용자 정의 글자 스타일은 설정(config)에 지정해야 합니다.
growFontgrowFont글꼴 크기를 한 단계 키우기
shrinkFontshrinkFont글꼴 크기를 한 단계 줄이기
boldbold굵게
italicitalic기울임꼴
underlineunderline밑줄
strikestrike취소선
superScriptsuperScript위 첨자
subScriptsubScript아래 첨자
fontColorfontColor글꼴 색상
fontBackgroundColorfontBackgroundColor글꼴 배경색
alignalign문단 정렬 (드롭다운: 왼쪽, 가운데, 오른쪽, 양쪽 맞춤)
alignLeftalignLeft왼쪽 정렬
alignCenteralignCenter가운데 정렬
alignRightalignRight오른쪽 정렬
alignJustifyalignJustify양쪽 맞춤
copycopy복사
cutcut잘라내기
pastepaste붙여넣기
copyRunStylecopyRunStyle서식 복사
pasteRunStylepasteRunStyle서식 붙여넣기
removeRunStyleremoveRunStyle서식 지우기 (텍스트에 적용된 서식 제거)
removeStyle (릴리즈 2.17.0+)removeStyle모든 서식 지우기 (텍스트 서식뿐만 아니라 문단 및 컨테이너 수준의 서식도 포함)
linklink링크 삽입
unlinkunlink링크 제거
openLinkopenLink링크 열기
bookmarkbookmark책갈피
tabletable표 삽입
imageimage이미지 삽입
backgroundbackground문서의 배경 이미지/색상 설정
videovideo동영상 삽입
filefile파일 삽입
horizontalLinehorizontalLine가로줄 삽입
divdivdiv 삽입
drawAbsolutePositionDivdrawAbsolutePositionDiv레이어 그리기
quotequote인용문구 삽입
bulletListbulletList글머리 기호
numberedListnumberedList글머리 번호
multiLevelListmultiLevelList다단계 글머리
increaseIndentincreaseIndent들여쓰기 증가
decreaseIndentdecreaseIndent들여쓰기 감소
lineHeightlineHeight줄 간격
lineHeightWithTextlineHeightWithText줄 간격 버튼
paragraphPropertiesparagraphProperties문단 상세 속성 편집
fullScreenfullScreen전체 화면 모드
sourcesource소스 보기
previewpreview미리보기
rulerruler눈금자
divGuide (deprecated)divGuide레이어 외곽선 표시/숨기기
guide (2.9.0+)guideShape 및 레이어 편집 가이드 표시/숨기기
findfind찾기 및 바꾸기
conversionconversion변환 (대문자, 소문자, 제목 형식, 대/소문자 전환)
helphelp도움말
aboutaboutSynap Editor 정보
selectionModeselectionModeShape 선택 모드
responsiveresponsive반응형 보기
contentsPropertiescontentsProperties편집 영역 속성 편집
|—버튼 사이의 세로 구분선
-—새로운 툴바 행을 시작하는 줄 바꿈
codeBlock (릴리즈 3.3.0+)codeBlock코드 블록
conditionalFormatting (릴리즈 3.3.0+)conditionalFormatting조건부 서식
export (릴리즈 3.3.2602+)export내보내기
showMemo (릴리즈 3.3.0+)showMemo댓글

플러그인

키아이콘설명
specialCharacterspecialCharacter특수기호 삽입
emojiemoji이모지 삽입
shapeEditorshapeEditorshape 삽입
tuiImageEditortuiImageEditor이미지 에디터
WebAccessibilityCheckerWebAccessibilityChecker웹 접근성 도구
personalDataProtectionpersonalDataProtection개인정보 보호
webSpellCheckerwebSpellChecker맞춤법 검사기

관련 정보