Options
All
  • Public
  • Public/Protected
  • All
Menu

EditContextMenuFilterObject

Index

Properties

Properties

Optional context

context: { itemType?: ContextMenuItemType; resourceId?: string; textToCopy?: string }

Context about what was right-clicked. Plugins should use this instead of checking the editor cursor position, as the cursor may not reflect the actual click location.

Type declaration

  • Optional itemType?: ContextMenuItemType
  • Optional resourceId?: string
  • Optional textToCopy?: string

items

items: MenuItem[]