Skip to content

Conversation

@gonfunko
Copy link
Contributor

The basics

The details

Resolves

Fixes #3568

Proposed Changes

This PR builds on #9580 (it will be rebased once that is merged) to allow icons to display contextual menus. This can be done by simply overriding/implementing showContextMenu() on an IIcon to show a contextual menu with the desired options. By default, icons defer to their parent block's contextual menu, which matches the current behavior when one right clicks on an icon.

@gonfunko gonfunko requested a review from a team as a code owner January 22, 2026 21:32
@gonfunko gonfunko requested a review from BenHenning January 22, 2026 21:32
@github-actions github-actions bot added the PR: feature Adds a feature label Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: feature Adds a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Options for blocks to define menus on icons

3 participants