Issue #1861💬 AnsweredOpened March 6, 2019by sakshigarg90 reactions

Asset manager for buttons and text

快速解答by artf

@sakshigarg9 with custom Components you can do whatever you want. Probably just take a look at how the image component is made (its model and view)

Read full answer below ↓

Question

Just like an image has an asset manager that can provide predefined alternatives for the image component, is it possible to implement a similar thing for buttons and text. Like providing alternative icons for the button component or alternative predefined text for the text component. For eg, in place of the "Show" button I wish to provide an alternative of choosing the eye icon (fa fa-eye) to the user. show-button or for some text, i want to have some predefined text options avaiable for the user to choose from.

Answers (2)

artfMarch 8, 2019

@sakshigarg9 with custom Components you can do whatever you want. Probably just take a look at how the image component is made (its model and view)

lock[bot]March 10, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

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.