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

Closed
huchenlei opened this issue Feb 18, 2025 · 0 comments · Fixed by #2672
Closed

[DevTask] Selection toolbox extension API #2609

huchenlei opened this issue Feb 18, 2025 · 0 comments · Fixed by #2672
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

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

Successfully merging a pull request may close this issue.

1 participant