Skip to content

prioritizeEditorSuggest

Moves a registered editor suggest to the front of the list the editor asks, so it opens ahead of every other suggest whose trigger accepts the same text, Obsidian’s own [[ and # suggests included. A suggest prioritized later goes ahead of it in turn.

Import:

import { prioritizeEditorSuggest } from '@mnaoumov/obsidian-lib/editor-suggest';

Signature:

function prioritizeEditorSuggest(params: PrioritizeEditorSuggestParams): void

Parameters:

Parameter Type Description
params PrioritizeEditorSuggestParams The parameters.

Returns: void


Links to this page: