Issue #2755💬 AnsweredOpened May 6, 2020by Lerdouille0 reactions

Change 2 properties values in Style manager

快速解答by artf

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)

artfMay 12, 2020

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.

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 →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.