Issue #794Opened January 24, 2018by JulyanoF0 reactions

[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: image

Answers (2)

artfJanuary 25, 20180 reactions

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'},
})
lock[bot]September 18, 20190 reactions

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.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.