Function: createBubbleMenu()
ts
function createBubbleMenu(editor, options?): BubbleMenu;Behaviour for a "bubble" toolbar that appears next to selected text. Shows only for a real text selection in a focused, editable editor and not while the pointer is still selecting. Keyboard users reach it with Alt-F10 and leave with Escape, which returns focus (and the selection) to the editor. Renders and positions nothing: put a toolbar inside the element that gets getBubbleProps(), and place it at reference.
Parameters
| Parameter | Type |
|---|---|
editor | Editor |
options? | BubbleMenuOptions |