Issue #791Opened January 24, 2018by lauragadea1 reactions

Adding new button in toolbar

Question

Hello,

I am trying to add a new button to the toolbar of all the components. I been able to add for each component separatly, but not for all of them at once. To note that I want to avoide modifying the file ‘src/grapesjs/dom_components/model/Component.js’

Is there a way to do that?

Thank you in advance for yur help!

Answers (3)

artfJanuary 25, 20181 reactions

@lauragadea probably you should try to extend default component types (eg. default, image, text, etc.)

JulyanoFJanuary 24, 20180 reactions

@lauragadea , please check #266

lauragadeaJanuary 24, 20180 reactions

Yes @JulyanoF , I already have. And it suggests modifying the files ‘src/grapesjs/dom_components/model/Component.js’. That is exactly what I am trying to avoid.

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.