Issue #1877Opened March 11, 2019by jwilson-lyonscg0 reactions

[FEATURE REQUEST] Custom styles that add/remove custom classes?

Question

Currently, all the style manager values that you change for an element simply update a <style> tag inline in the HTML. Is it possible to change this behavior so that changing the CSS values adds or removes custom classes to the element?

A good reason for this is Bootstrap 4. 99% of Bootstrap customization involves simply adding classes to the element to alter various things like margins, padding, display values, etc.

Is it possible to do this? If not is this a valid feature request?

Answers (3)

artfMarch 21, 20190 reactions

It's already possible with Classes section (you can remove/toggle/update them) Schermata 2019-03-21 alle 13 33 00

jwilson-lyonscgMarch 21, 20190 reactions

Have you considered that the potential target audience for such a tool (think eCommerce merchandisers) has no idea what "classes" are in HTML and would be able to greatly benefit from having simple dropdown menus to choose from predefined settings?

artfMarch 24, 20190 reactions

Have you considered that the potential target audience for such a tool (think eCommerce merchandisers) has no idea what "classes" are in HTML and would be able to greatly benefit from having simple dropdown menus to choose from predefined settings?

Yeah sure, indeed I've planned to make this part less "class-oriented" but for any solution I'll take it will be always too much opinionated, so I think it'd be better creating your own solution by looking at the Selectors API and make a UI (select, tags, etc.) which fits better your needs

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...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.