Page tree

Versions Compared

Key

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

사이냅에디터에서 제공하는 다양한 기능들을 자유롭게 배치하고 사용 할 수 있습니다.

설정방법

'Use "editor.toolbar'키를 이용해서 아래와 같이 설정합니다toolbar" key on initialization to configure the functionality of the toolbar.

Code Block
languagejs
themeEmacs
titlesynapeditor.config.js
{
	'editor.toolbar': [
		'new','open','|', 
		'paragraphStyleWithText', '|', 
		'fontFamilyWithText', '|',
		'fontSizeWithText', '|',
		'bold', 'italic', 'underline', 'strike', '|',
		'fontColor', 'fontBackgroundColor'
	]
}

[적용결과]

기본설정

기본 제공되는 툴바 설정은 아래와 같습니다.

Code Block
languagejs
themeEmacs
titlesynapeditor.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'
    ],
}

[적용결과]

전체기능사용

사이냅에디터에서 제공하는 모든 기능을 사용하시려면 'editor.toolbar' 설정을 제거하면 됩니다.

전체기능 페이지에서 미리 확인 할 수 있습니다.


아이콘 및 기능설명

각 기능에 대한 KEY, ICON, 설명을 아래를 참고하세요.

TOOLBAR KEYICONACTION
new

Image Added

Create a new document; existing content will be destroyed.
open

Image Added

Import an MS Word / LibreOffice document.
print

Image Added

Print current document.
pageBreak

Image Added

Insert page break.
template

Image Added

Open Templates dialogue box.
autoSave

Image Added

Open auto-saved document list.
undo

Image Added

Undo last command.
redo

Image Added

Redo last command.
paragraphStyle

Image Added

Set paragraph style (P, H1 ~ H6).
paragraphStyleWithText

Image Added

Show drop-down menu for paragraph styles.
fontFamily

Image Added

Set font family.
fontFamilyWithText

Image Added

Show drop-down menu for font families.
fontSize

Image Added

Set font size.
fontSizeWithText

Image Added

Show drop-down menu for font sizes.
customParagraphStyle

Image Added

Show predefined custom paragraph styles.
customRunStyle

Image Added

Show predefined custom text styles.
growFont

Image Added

Larger font size.
shrinkFont

Image Added

Smaller font size.
bold

Image Added

Set as boldface.
italic

Image Added

Set as italic.
underline

Image Added

Set as underlined.
strike

Image Added

Set as strikethrough.
superScript

Image Added

Set as superscript.
subScript

Image Added

Set as subscript.
fontColor

Image Added

Set text color.
fontBackgroundColor

Image Added

Set text background color.
align

Image Added

Set text alignment.
copy

Image Added

Copy current selection.
cut

Image Added

Cut current selection.
paste

Image Added

Paste into current position.
copyRunStyle

Image Added

Copy text style only.
pasteRunStyle

Image Added

Paste text style to current selection.
removeRunStyle

Image Added

Clear text formatting from current selection.
link

Image Added

Insert link to current selection.
unlink

Image Added

Delete current link.
table

Image Added

Insert table.
image

Image Added

Insert image.
background

Image Added

Set background image/color for the whole document.
video

Image Added

Insert video.
file

Image Added

Insert file.
horizontalLine

Image Added

Insert horizontal line.
specialCharacter

Image Added

Insert special character.
emoji

Image Added

Insert emoji character.
div

Image Added

Insert a <div> layer.
drawDiv

Image Added

Insert a <div> layer by mouse dragging.
quote

Image Added

Insert quote.
bulletList

Image Added

Set current selection as bulleted (unordered) list.
numberedList

Image Added

Set current selection as numbered (ordered) list.
multiLevelList

Image Added

Set current selection as multi-level list.
increaseIndent

Image Added

Increase indentation level for current paragraph.
decreaseIndent

Image Added

Decrease indentation level for current paragraph.
lineHeight

Image Added

Set line spacing for current paragraph.
lineHeightWithText

Image Added

Show drop-down menu for line spacing.
paragraphProperties

Image Added

Open dialogue box for paragraph properties.
fullScreen

Image Added

View full screen.
source

Image Added

View source code.
preview

Image Added

Change to preview mode.
ruler

Image Added

Show ruler.
divOutline

Image Added

Show/hide guiding box of layers.
accessibility

Image Added

Open dialogue box for web accessibility check.
personalDataProtection

Image Added

Open dialogue box for personal data protection.
find

Image Added

Open dialogue box for find/replace.


KEYICON설명
new

편집중인 내용을 모두 지우고 새문서
open

문서를 임포트
print

인쇄
pageBreak

인쇄시 사용되는 페이지 구분자
template

템플릿 다이얼로그
autoSave

자동저장된 문서목록
undo

실행취소
redo

재실행
paragraphStyle

문단스타일 (P, H1 ~ H6)
paragraphStyleWithText

문단스타일 지정버튼 드롭다운
fontFamily

글꼴을 설정
fontFamilyWithText

글꼴설정 버튼 드롭다운
fontSize

글자크기
fontSizeWithText

글자크기 드롭다운
customParagraphStyle

사용자정의 문단스타일을 보여줍니다.
사용자정의 문단스타일은 config에 설정해야합니다.
customRunStyle

사용자정의 글자스타일을 보여줍니다.
사용자정의 글자스타일은 config에 설정해야합니다.
growFont

글자크기 한단계 키움
shrinkFont

글자크기 한단계 줄임
bold

굵게
italic

기울임
underline

밑줄
strike

취소선
superScript

위첨자
subScript

아래첨자
fontColor

글자색
fontBackgroundColor

글자배경색

align

>

문단정렬 (드롭다운: left, center, right, justify)

alignLeft

alignCenter

alignRight

alignJustify

왼쪽정렬

중앙정렬

오른쪽정렬

양쪽정렬

copy

복사
cut

잘라내기
paste

붙여넣기
copyRunStyle

서식복사
pasteRunStyle

서식붙여넣기
removeRunStyle

서식지우기
link

링크
unlink

링크해제
table

표 삽입
image

이미지 삽입
background

문서 배경 이미지 및 색 지정
video

동영상 삽입
file

파일 삽입
horizontalLine

가로줄 삽입
specialCharacter

특수문자 삽입
emoji

이모지 삽입
div

레이어 삽입
drawDiv

레이어 그리기
quote

인용문구 삽입
bulletList

글머리 기호
numberedList

글머리 번호
multiLevelList

다단계 글머리
increaseIndent

들여쓰기
decreaseIndent

내어쓰기
lineHeight

줄간격
lineHeightWithText

줄간격 버튼
paragraphProperties

문단 상세속성 편집
fullScreen

전체화면
source

소스보기
preview

미리보기
ruler

줄자
divGuide

레이어 외각선 보이기/감추기
find

찾기/바꾸기
|
가로 나눔선
-
세로 나눔선