Skip to content

Update Scope of contextmenu / keyboard shortcut items to include a focusedNode property #8839

Description

@maribethb

Check for duplicates

  • I have searched for similar issues before opening a new one.

Problem

Keyboard shortcuts and context menu items need to know which item was focused, and this may not be just a block/workspace/comment. It could be any focusable item.

Request

  1. Add a focusedNode (open to naming suggestions) property to the Scope type.
  2. Update the callers of the getContextMenuOptions function to include the property when they call this method. Continue setting the other properties if relevant for backwards compatibility.

Alternatives considered

No response

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions