Check for duplicates
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
- Add a
focusedNode (open to naming suggestions) property to the Scope type.
- 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