Issue #1562πŸ’¬ AnsweredOpened November 5, 2018by jotakar1 reactions

Styles management

Quick answerby artf❀ 1

You should create a new custom type of input by using StyleManager.addType Unfortunately that part still missing the documentation, for now, you should expect the code of some available plugins, like: grapesjs-style-gradientgrapesjs-style-filter

Read full answer below ↓

Question

I waonder if it would be possible n styles managemenet to get any way to change more than one property with an ony control Example: center a div is got in CSS setting the two side margins to auto, the I'm looking for a way to get a control that set this both properties to auto with just a button (I think grasperjs call it sectors, ??) Thanks

Answers (2)

artfβ€’ November 9, 2018

You should create a new custom type of input by using StyleManager.addType Unfortunately that part still missing the documentation, for now, you should expect the code of some available plugins, like: grapesjs-style-gradientgrapesjs-style-filter

lock[bot]β€’ November 9, 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.