Skip to content

EditorSuggestTriggerInfo

Official

The trigger info for the suggestion

Import:

import type { EditorSuggestTriggerInfo } from 'obsidian';

Signature:

export interface EditorSuggestTriggerInfo

Properties

PropertyTypeDescription
endEditorPositionThe end position of the triggering text. This is used to position the popover.
querystringThey query string (usually the text between start and end) that will be used to generate the suggestion content.
startEditorPositionThe start position of the triggering text. This is used to position the popover.

Links to this page: