Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents the interface of picker plugin, provides necessary utility functions for pickers

Hierarchy

  • PickerHelper

Index

Properties

closePicker

closePicker: () => void

Type declaration

    • (): void
    • Notify Picker Plugin that picker is closed from the handler code, so picker plugin can quit the suggesting state

      Returns void

Readonly editor

editor: IEditor

The editor instance

replaceQueryString

replaceQueryString: (model: ContentModelDocument, options?: FormatContentModelOptions, canUndoByBackspace?: boolean) => void

Type declaration

    • Replace the query string with a given Content Model. This is used for commit a change from picker and insert the committed content into editor.

      Parameters

      • model: ContentModelDocument

        The Content Model to insert

      • Optional options: FormatContentModelOptions

        Options for formatting content model

      • Optional canUndoByBackspace: boolean

        Whether this change can be undone using Backspace key

      Returns void

Generated using TypeDoc