Issue #2989💬 AnsweredOpened August 31, 2020by Abhisheknanda13444630 reactions

How to append button in custom div

Quick answerby artf

As you can see from the example, you can specify the Panel target via el: '#' option, which then should be able to contain your buttons

Read full answer below ↓

Question

Hi @artf Is there any way to append all the defaults buttons of grapesjs in custom div like the same way we are append the style manager. here https://codepen.io/artf/pen/MQpZPj Thanks

Answers (2)

artfSeptember 1, 2020

As you can see from the example, you can specify the Panel target via el: '#' option, which then should be able to contain your buttons

Abhisheknanda1344463September 1, 2020

Hi @artf Could you please confirm this-way panels: { id: 'options', el: '#blocks'} I tried this is not working or do i need to create new button again for my new panel? Am i missing something? Thanks in Advance

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.