QuickToolbarSettings

23 Sep 20251 minute to read

Configures the quick toolbar settings of the RichTextEditor.

Properties

actionOnScroll ActionOnScroll

Specifies the action to perform when scrolling the target-parent container.

Defaults to ā€˜none’

audio []

Specifies the items to render in the quick toolbar when audio is selected.

Defaults to [ā€˜AudioLayoutOption’, ā€˜AudioReplace’, ā€˜AudioRemove’]

enable boolean

Specifies whether to enable the quick toolbar in the RichTextEditor.

Defaults to true

image []

Specifies the items to render in the quick toolbar when an image is selected.

Defaults to *[ā€˜AltText’, ā€˜Caption’, ā€˜ ’, ā€˜Align’, ā€˜Display’, ā€˜ ’, ā€˜InsertLink’, ā€˜OpenImageLink’, ā€˜EditImageLink’, ā€˜RemoveImageLink’, ā€˜ ’, ā€˜Dimension’, ā€˜Replace’, ā€˜Remove’]*

Specifies the items to render in the quick toolbar when a link is selected.

Defaults to [ā€˜Open’, ā€˜Edit’, ā€˜UnLink’]

showOnRightClick boolean

Specifies whether the quick toolbar opens on right-click.

Defaults to false

table []

Specifies the items to render in the quick toolbar when a table is selected.

Defaults to *[ā€˜Tableheader’, ā€˜TableRemove’, ā€˜ ’, ā€˜TableRows’, ā€˜TableColumns’, ā€˜ ’ , ā€˜Styles’, ā€˜BackgroundColor’, ā€˜Alignments’, ā€˜TableCellVerticalAlign’]*

text []

Specifies the items to render in the quick toolbar when text is selected.

Defaults to null

video []

Specifies the items to render in the quick toolbar when a video is selected.

Defaults to *[ā€˜VideoLayoutOption’, ā€˜VideoAlign’, ā€˜ ’, ā€˜VideoDimension’, ā€˜VideoReplace’, ā€˜VideoRemove’]*