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’]*