Viewing 4 posts - 1 through 4 (of 4 total)
The topic ‘Applying styleEditor values to inline style and not class’ is closed to new replies.
I have noticed that in the config, there is a difference between some styles and how they behave.
For example, let's take 'background-size' and 'background-size-style'
If I use 'background-size' it gives me a text box and I can type in the value and it applies as an inline style to the element.
If I use 'background-size-style' it gives me a nice dropdown select but it then goes and applies a class to the element ie. class='cover'
Image attached.
My problem is, I much prefer the inline style but I also want the user to have the dropdown for ease of use.
How can I get the editor to display the dropdown but then apply the selection as an inline style?
Thanks!
The topic ‘Applying styleEditor values to inline style and not class’ is closed to new replies.