Skip to content

Interface: BubbleMenuOptions ​

Options for createBubbleMenu().

Properties ​

PropertyTypeDescription
focusShortcut?string | falseMoves keyboard focus from the editor into the bubble. Default Alt-F10; false turns it off.
idPrefix?stringPrefix for element ids. Default: generated.
shouldShow?(editor) => booleanWhen the bubble may show, on top of the built-in rules (text selected, editor editable and focused, pointer not still selecting). Default: not inside a code block.