FEAT: Ability to change all margin, padding etc properties together
Question
Hello, right now grapesjs provides built in properties like margin, padding that allow user to change each property one by one (margin-top, margin-bottom, etc).
It would be nice to have ability to change all these properties together. To have some lock button, for example, when it's enabled it will change all properties together, not one by one. It could be look like this:

@artf is there an easy way to implement this using existing grapesjs tools, e.g. StyleManager.addType method or something similar?
Answers (1)
Yeah, that would be cool, but unfortunately, GrapesJS doesn't have yet the proper UI module which could allow easily to build new UI components by reusing others, so StyleManager.addType is the only way but in that case, it's up to you building all the elements.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #5708
BUG: Ability to change all margin, padding etc properties together
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? chrome latest Reproducible demo link we ar...
Issue #1144
[Question]: Custom property to change multiple settings
Is there a way to extend a current property or create a new one to change multiple properties? I have a component in which I would like to...
Issue #2960
BUG: The UI for Margin and Padding properties inside the sector
Hello, I am creating a sector for just margin and padding with the code below: And the sector is created with Margin Properties as shown in...
Issue #1346
[FEATURE REQUEST] Property slider view default unit
Hey @artf , I think that the slider component would come handy from the UX perspective for the user interaction of some of the integer prop...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.