Change 2 properties values in Style manager
At the moment it's not that easy (we don't have documentation for custom styles) so, for now, I'd recommend using Traits
Read full answer below ↓Question
Hi,
i woud like to add a switcher in the style manager to update multiple properties in one click. For example, a switcher with some font awesome icons to align the DOM with the properties margin-left and margin-right. If i click on the "Align left" button, i would like to update both property "margin-left" and "margin-right"
Is it possible ?
Best regards
Answers (1)
At the moment it's not that easy (we don't have documentation for custom styles) so, for now, I'd recommend using Traits
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1709
[QUESTION] Is it possible to affect child component's styling through parent component's style manager?
Hello there! Awesome project and thanks for your contribution. I would like to know if it is possible to change the styling of a child comp...
Issue #2990
QUESTION: Is there a way to use different variations of the same style property?
Note: This is in the context of the Style Manager. Is there a way to use different variations of the same style property? For example when...
Issue #2378
[QUESTION] Modifying global CSS in style manager
We want to achieve the following:Mark our block HTML elements with some classes like:Add some styles that define CSS classes like:Using Gra...
Issue #3255
Custom Style Manager
Hi @artf I am trying to change the type and input values of display property like this way -: But on style-manager Button are not visible....
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.
Browse premium plugins →Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.