Issue #399šŸ’¬ AnsweredOpened October 10, 2017by bungambohlah0 reactions

Can i push toolbar in current modal and current modal child?

Quick answerby artf

I'd say the correct way to do so is to extend initToolbar() of the Component model and put there you logic

Read full answer below ↓

Question

Hello again @artf , i confuse about push toolbar in the element with specific class (ex: modal-trigger) the element code is : and in the /src/dom_components/model/Component.js as you can see, the element to push toolbar just in tag element, and can i push toolbar to all element inside ? Thank you and sorry for my bad explanation

Answers (3)

artf• October 10, 2017

I'd say the correct way to do so is to extend initToolbar() of the Component model and put there you logic

bungambohlah• October 11, 2017

I'd say the correct way to do so is to extend of the Component model Of course, i make my custom toolbar in method and please @artf can you explain about the logic to push the toolbar in the child object? i confuse about the backbone structure :confused: Thank you before :+1:

bungambohlah• October 11, 2017

Sorry i have fixed this with my logic, thank you @artf :+1:

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.