사이냅 에디터는 다양한 어플리케이션에서 활용 할 수 있는 강력한 API들을 제공하고 있습니다.
Actions
- SELECTION
- command - blurIme
- command - clearSelection
- command - disableIme
- command - documentEnd
- command - documentStart
- command - down
- command - enableIme
- command - extendCol
- command - extendDocumentEnd
- command - extendDocumentStart
- command - extendDown
- command - extendLeft
- command - extendLineEnd
- command - extendLineStart
- command - extendNextParagraphStart
- command - extendNextWord
- command - extendPageDown
- command - extendPageUp
- command - extendPreviousParagraphStart
- command - extendPreviousWord
- command - extendRight
- command - extendRow
- command - extendTable
- command - extendUp
- command - focusIme
- command - left
- command - lineEnd
- command - lineStart
- command - nextParagraphStart
- command - nextWord
- command - pageDown
- command - pageUp
- command - previousParagraphStart
- command - previousWord
- command - right
- command - selectAll
- command - selectParagraph
- command - selectWord
- command - setCaret
- command - setCaretById
- command - setSelection
- command - setSelectionByHTMLElement
- command - up
- TEXT EDIT
- command - addRunStyle
- command - bold
- command - copyRunStyle
- command - decreaseFontSize
- command - deleteLeft
- command - deleteRight
- command - enter
- command - fill
- command - fontName
- command - fontSize
- command - increaseFontSize
- command - insertLineBreak
- command - insertText
- command - italic
- command - lowerCase
- command - pasteRunStyle
- command - removeTextStyle
- command - replaceText
- command - replaceTextByIndex
- command - setTextVertAlign
- command - strike
- command - tab
- command - textFill
- command - titleCase
- command - toggleCase
- command - underline
- command - untab
- command - upperCase
- HYPERLINK EDIT
- PARAGRAPH EDIT
- command - addParagraphProperties
- command - align
- command - decreaseIndent
- command - decreaseQuote
- command - increaseIndent
- command - increaseQuote
- command - insertHTML
- command - setBulletList
- command - setLineHeight
- command - setListStartValue
- command - setMultiList
- command - setNumberedList
- command - setParaTagName
- command - toggleList
- DRAWING OBJECT EDIT
- command - changeDrawingObjectProperties
- command - insertDrawingObject
- command - insertDrawingObjectAlt
- command - insertDrawingObjectByURL
- command - insertDrawingObjectCaption
- command - moveAbsolutePositionDrawingObject
- command - moveDrawingObject
- command - removeDrawingObject
- command - resizeDrawingObject
- command - rotateDrawingObjectLeft
- command - rotateDrawingObjectRight
- command - setDrawingObjectBackground
- command - setDrawingObjectBorderColor
- command - setDrawingObjectBorderStyle
- command - setDrawingObjectBorderWidth
- command - zoomDrawingObject
- TABLE EDIT
- command - cellBackground
- command - cellSizeEqual
- command - cellVerticalAlign
- command - columnWidthEqual
- command - deleteCol
- command - deleteRow
- command - deleteTable
- command - fitTableWidth
- command - insertCol
- command - insertRow
- command - insertTable
- command - mergeCell
- command - resizeTable
- command - rowHeightEqual
- command - setBorderColor
- command - setBorderStyle
- command - setBorderWidth
- command - setCellProperties
- command - setFormula
- command - setTableProperties
- command - splitCell
- UI
- command - blockUI
- command - hideAllPopup
- command - hideDimLayer
- command - hideLoadingProgress
- command - showDimLayer
- command - showLoadingProgress
- command - toggleCodeView
- command - toggleDivGuide (deprecated)
- command - toggleDrawMode
- command - toggleFullScreen
- command - toggleGuide
- command - toggleMenu
- command - togglePreview
- command - toggleRuler
- command - unblockUI
- ETC
Editor Object
- addUploadPath
- clearDirty
- downloadAndUploadImages
- execCommand
- getAPIModelById
- getAPIModels
- getAPIModelsBySelector
- getBodyModelJSON
- getContentsDocument
- getHTMLElement
- getHTMLElements
- getModelDiffHTML
- getPublishingHtml
- getSelection
- getTableCellDataByFieldName
- getTableCellHTMLElement
- getText
- getTextByRegex
- getTextBySelectors
- getTextContent
- getUploadedFiles
- insertHTML
- isCodeViewMode
- isDirty
- isEdited
- isEditMode
- isEmpty
- isPreviewMode
- openDocumentByURL
- openDocumentByData
- openDocumentOnServer
- openHTML
- render
- setContentsToPaste
- setCustomUploadFunction
- setLock
- setMode
- setText
- setTextBySelectors
- setUnlock
- static: addIcons
- static: addMessages
- static: getIcons
- static: getMessages
- updateBodyModel
- updateModel
- uploadBase64Images
- xhtml4pubdoc
Events
- initialized
- beforeUploadImage
- afterUploadImage
- beforeUploadVideo
- afterUploadVideo
- beforeUploadFile
- afterUploadFile
- beforeOpenDocument
- afterOpenDocument
- beforeNewDocument
- afterNewDocument
- onSelection
- beforeCopy
- beforePaste
- afterPaste
- afterEdit
APIModel
API 활용하기
관련정보