Properties
appendText
appendText: ((text) => void)
Optional
clearUndoHistory
clearUndoHistory?: (() => void)
focus
focus: (() => void)
getContent
getContent: (() => string)
Optional
insertImage
insertImage?: ((url, attrs?) => void)
Type declaration
- (url, attrs?): void
Parameters
- url: string
Optional
attrs: {
[key: string]: string;
}
Returns void
isDisposed
isDisposed: (() => boolean)
Type declaration
- (): boolean
Returns boolean
setContent
setContent: ((content, triggerAutoSave?) => void)
Type declaration
- (content, triggerAutoSave?): void
Parameters
- content: string
Optional
triggerAutoSave: boolean
Returns void
Tells if Editor is unmounted