Methods
focus
- focus(): void
Returns void
getContentFinal
- getContentFinal(): string
Returns string
getContentMarked
- getContentMarked(): string
Returns string
getContentRaw
- getContentRaw(): string
Returns string
getEl
- getEl(): HTMLElement
Returns HTMLElement
getHeaderInputEls
- getHeaderInputEls(): Record<string, HTMLInputElement>
Returns Record<string, HTMLInputElement>
getOptions
- getOptions(): EditorOptions
Returns EditorOptions
getPlugins
- getPlugins(): undefined | PluginManager
Returns undefined | PluginManager
getUI
- getUI(): EditorUI
Returns EditorUI
hideLoading
- hideLoading(): void
Returns void
insertContent
- insertContent(val): void
Returns void
reset
- reset(): void
Returns void
resetState
- resetState(): void
Returns void
setContent
- setContent(val): void
Returns void
setEditComment
- setEditComment(commentData, $comment): void
Returns void
setPlugins
- setPlugins(plugins): void
Returns void
setReplyComment
- setReplyComment(commentData, $comment, scroll?): void
Parameters
- commentData: CommentData
- $comment: HTMLElement
Optional
scroll: boolean
Returns void
showLoading
- showLoading(): void
Returns void
showNotify
- showNotify(msg, type): void
Returns void
submit
- submit(): void
Returns void
Focus editor