Issue #607💬 AnsweredOpened December 5, 2017by fabianomiranda0 reactions

New toolbar element

快速解答by ShepelE

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...

Read full answer below ↓

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)

ShepelEDecember 6, 2017

I don't understand some words, but if you want to remove selected element, you can use SelectionManager : 25

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...

fabianomirandaDecember 6, 2017

Thank you very much for responding. I want to create a new button on the toolbar when selecting an element.

artfDecember 8, 2017

Hi Fabiano, check here please #266

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...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.