Issue #417Opened October 13, 2017by HarshOB2 reactions

Add Setting button to custom component.

Question

Hello,

How can I create a setting or you can say edit button for my custom component?

LIke 4th option on this image:

screenshotfrom2017-10-1316-01-00

Answers (3)

ateshuseyinOctober 13, 20172 reactions

The above link I referenced before is only for adding button to toolbar. I think you should just follow below steps to complete your task;

  1. Create/Implement a editor according to your needs. grapesjs-aviary uses aviary editor (see)
  2. Define a command which is capable to open your editor like grapesjs-aviary see
  3. Define toolbar button as I referenced before which runs your command

Thats all.

HarshOBOctober 13, 20170 reactions

Hello @ateshuseyin

I don't want the same editor as an image I want to build my own. I just want to add that icon to my component and when I click on that icon I want to display area through the user can add text, image, HTML code etc and that will be reflected in that component.

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.