Issue #917💬 AnsweredOpened March 1, 2018by chthomos0 reactions

Custom style properties per element

Quick answerby artf

Yes, I've used the same trick for the flex grid. In your Style Manager configuration create a property in this way then in your custom component model require the property

Read full answer below ↓

Question

Is it possible to have custom style property UI per element.

For example, consider that I want the font-size to be shown as textbox for text components and as a radio for a custom component of mine.

The font-size property can be in the same sector.

How can this be achieved?

Answers (2)

artfMarch 4, 2018

Yes, I've used the same trick for the flex grid. In your Style Manager configuration create a property in this way then in your custom component model require the property

lock[bot]September 18, 2019

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.