New toolbar element
Question
Hello. I'm from Brazil and I'm sorry for the bad English. How do I create a new button with a custom event on the toolbar relative to the selected element? Igual ao que remove o elemento selecionado.
Answers (3)
I don't understand some words, but if you want to remove selected element, you can use SelectionManager :

if you need to create a new button, you can use guide https://github.com/artf/grapesjs/wiki here - create panel, then button, then command for this button...
Thank you very much for responding. I want to create a new button on the toolbar when selecting an element.
Hi Fabiano, check here please #266
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1897
[Question] view vs code
Hello...and sorry for my english! First of all, congratulations for this fantastic framework. I'm trying to use GrapeJS to create my own wo...
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 #545
Buttons in sector
How to add the custom button while adding a new sector in grapesJS? Is there any property? How should I create a button while making new se...
Issue #795
editor.getSelected() in run:open-assets
Hello! I want without having to create a new block button, and stopping the event associated to the image that this run:open-assets get the...
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.