Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DevTask] Selection toolbox extension API #2609

Open
huchenlei opened this issue Feb 18, 2025 · 0 comments
Open

[DevTask] Selection toolbox extension API #2609

huchenlei opened this issue Feb 18, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@huchenlei
Copy link
Member

huchenlei commented Feb 18, 2025

#2608 introduces selection toolbox, we should add an API to allow custom nodes adding custom items to the toolbox. The API should look like:

const extension = {
  // Returns command ids.
  getCustomToolboxCommands: (selectedItems: Positionable[]) => string[]
}

┆Issue is synchronized with this Notion page by Unito

@huchenlei huchenlei added the enhancement New feature or request label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant