Styles management
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)
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
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.
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 #1994
[question] Is it possible to add StyleManager property for only class name
Thank for this awesome library. I am gonna to add style controller to sector. This style will be for only one class name and won't set targ...
Issue #1639
[Question]: Would it be possible to have change settings under style manager in a way that it has href when a link is created?
I'm using preset newsletter with built-in RTE (do not want to use ck editor like the demo) In order to make any text to link, i need to cli...
Issue #1135
[Question] Two html tags as one (link/button)
Is it possible to have two elements (div and lnik) and consider as a single? For example: there is the my following link block: <div class=...
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 βRelated tutorials
In-depth guides on the same topic.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.