Issue #2582✓ SolvedOpened February 18, 2020by ayana302 reactions

Create a new button in the panel manger

快速解答by pouyamiralayi2

#2350 comment

Read full answer below ↓

Question

I want to add a new button after the settings icon. Screenshot from 2020-02-18 17-14-16

and I used the following code to create the button.but its not working

var panelManager = editor.Panels; var newButton = panelManager.addButton("myNewPanel", { id: "myNewButton", attributes: { title: "Edit Menu", class: "fa fa-sort-desc" }, active: true });

Answers (1)

👍 Most helpfulpouyamiralayiFebruary 18, 2020

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.