Interface: RichTextEditorProps
The Rich text editor component properties.
Extends
ReactQuillProps
Properties
bounds?
optionalbounds:string|HTMLElement
Inherited from
ReactQuill.ReactQuillProps.bounds
children?
optionalchildren:ReactElement<any,string|JSXElementConstructor<any>>
Inherited from
ReactQuill.ReactQuillProps.children
className?
optionalclassName:string
The CSS class name.
Overrides
ReactQuill.ReactQuillProps.className
defaultValue?
optionaldefaultValue:Value
Inherited from
ReactQuill.ReactQuillProps.defaultValue
formats?
optionalformats:string[]
Inherited from
ReactQuill.ReactQuillProps.formats
id?
optionalid:string
Inherited from
ReactQuill.ReactQuillProps.id
initialValue?
optionalinitialValue:string
The initial value for the editor.
label?
optionallabel:string
The label for the component.
modules?
optionalmodules:Record<string,unknown>
Allows to customize the behavior and functionality of the editor.
Overrides
ReactQuill.ReactQuillProps.modules
onChange()
onChange: (
value?) =>void
Triggered after the content changed.
Parameters
value?
string
Returns
void
Overrides
ReactQuill.ReactQuillProps.onChange
onKeyDown()?
optionalonKeyDown: (event) =>void
Parameters
event
any
Returns
void
Inherited from
ReactQuill.ReactQuillProps.onKeyDown
onKeyPress()?
optionalonKeyPress: (event) =>void
Parameters
event
any
Returns
void
Inherited from
ReactQuill.ReactQuillProps.onKeyPress
onKeyUp()?
optionalonKeyUp: (event) =>void
Parameters
event
any
Returns
void
Inherited from
ReactQuill.ReactQuillProps.onKeyUp
placeholder?
optionalplaceholder:string
Inherited from
ReactQuill.ReactQuillProps.placeholder
preserveWhitespace?
optionalpreserveWhitespace:boolean
Inherited from
ReactQuill.ReactQuillProps.preserveWhitespace
readOnly?
optionalreadOnly:boolean
Inherited from
ReactQuill.ReactQuillProps.readOnly
style?
optionalstyle:CSSProperties
Inherited from
ReactQuill.ReactQuillProps.style
tabIndex?
optionaltabIndex:number
Inherited from
ReactQuill.ReactQuillProps.tabIndex
theme?
optionaltheme:string
Inherited from
ReactQuill.ReactQuillProps.theme
toolbarOptions?
optionaltoolbarOptions: ("block"|"color"|"direction"|"font"|"header"|"script"|"insert"|"size"|"list"|"clean"|"align"|"decoration"|"indent")[]
Groups of buttons to be displayed on the toolbar.
value?
optionalvalue:Value
Inherited from
ReactQuill.ReactQuillProps.value
Methods
onBlur()?
optionalonBlur(previousSelection,source,editor):void
Parameters
previousSelection
Range
source
EmitterSource
editor
UnprivilegedEditor
Returns
void
Inherited from
ReactQuill.ReactQuillProps.onBlur
onChangeSelection()?
optionalonChangeSelection(selection,source,editor):void
Parameters
selection
Range
source
EmitterSource
editor
UnprivilegedEditor
Returns
void
Inherited from
ReactQuill.ReactQuillProps.onChangeSelection
onFocus()?
optionalonFocus(selection,source,editor):void
Parameters
selection
Range
source
EmitterSource
editor
UnprivilegedEditor
Returns
void
Inherited from
ReactQuill.ReactQuillProps.onFocus