Function: useSuggestionMenu()
ts
function useSuggestionMenu(editor, options): UseSuggestionMenuResult;An inline list opened by a typed character: slash commands (/) or mentions (@). Focus stays in the editor; arrows, Enter/Tab and Escape drive the list. Options are read once.
Parameters
| Parameter | Type |
|---|---|
editor | Editor |
options | SuggestionMenuOptions |