[QUESTION] How to create a custom option in toolbox?
Question
I would like to know how can I create a custom "option" with custom content in this place:

Answers (2)
This is just a default Panel with 3 buttons where each button triggers its own command OpenStyleManager OpenTraitManager OpenBlocks <- being the last modified, use this as a starting point So if want to add a new button there you can use this
editor.Panels.addButton('views',{ // `views` is the panel's id
id: 'yourBtnID',
className: 'someClass',
command: 'yourCommand',
attributes: { title: 'Some title'},
})
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #362
How to create custom link components that prompts users to type link/choose link similar to Images Component Modal
Image Components have logic to call Modal and prompt user's interaction for options/configuration of image url. Would like to do similar to...
Issue #417
Add Setting button to custom component.
Hello, How can I create a setting or you can say edit button for my custom component? LIke 4th option on this image:
Issue #1723
[QUESTION] replacing particular text in dropped component
Hi, I get the value from custom traits from what I entered but I don't know how to change the particular value in dropped component and ren...
Issue #899
[QUESTION]: add button to selected element panel
How to add custom button to that panel:
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.