SlashMenuSettings
12 Sep 20251 minute to read
Configures the slash menu settings of the RichTextEditor.
Properties
enable boolean
Specifies whether to enable or disable the slash menu in the editor.
Defaults to false
items []
Defines the items to be displayed in the slash menu.
Defaults to [‘Paragraph’, ‘Heading 1’, ‘Heading 2’, ‘Heading 3’, ‘Heading 4’, ‘OrderedList’, ‘UnorderedList’, ‘CodeBlock’, ‘Blockquote’]
popupHeight string|number
Specifies the height of the slash menu popup. Can be defined in pixels, numbers, or percentages.
A numeric value is treated as pixels.
Defaults to ‘320px’
popupWidth string|number
Specifies the width of the slash menu popup. Can be defined in pixels, numbers, or percentages.
A numeric value is treated as pixels.
Defaults to ‘300px’