Function that returns the index of the option currently selected in the picker.
Function that is called when the plugin detects the editor's content has changed. Provides a list of current picker placed elements in the document.
Function called when the plugin is disposed for the data provider to do any cleanup.
Function called when the plugin is initialized to register two callbacks with the data provider and to provide a reference to the Editor. The first callback, insertNodeCallback, may be called in order to "commit" a new element to the editor body that isn't handled automatically by the editor plugin. The second callback, setIsSuggestingCallback, sets the isSuggesting value in the plugin. The isSuggesting value determines whether the picker is shown (true) or hidden (false). In most cases, this value is managed by the plugin, but the setIsSuggestingCallback may be used for situations where the UX needs to manipulate the suggesting state on its own.
Function called when the picker changes suggesting state (isSuggesting - true: Plugin is being shown; false: Plugin is being hidden).
Function that is called when a delete command is issued. Returns the intended replacement node (if partial delete) or null (if full delete)
Handler of scroll event from scroll container of editor
Function called when the query string (text after the trigger symbol) is updated.
Function called when a keypress is issued that would "select" a currently highlighted option.
Function that is called by the plugin to set the current cursor position as an anchor point for where to show UX.
Function called when a keypress is issued that would move the highlight on any picker UX.
Generated using TypeDoc
Data provider for PickerPlugin