Page 1 of 1
Use of style / class in image does not disable the inline border
Posted: Fri Jan 03, 2020 6:34 am
by spoon
In 15.2.1, the "Use of style / class in image now disables inline border", but the border in ID was both present and present when setting the style / class, which means it takes precedence.
Re: Use of style / class in image does not disable the inline border
Posted: Fri Jan 03, 2020 8:10 am
by Pablo
If you use a style/class, then the inline style will not be included.
This behavior has not changed recently.
Re: Use of style / class in image does not disable the inline border
Posted: Fri Jan 03, 2020 10:58 am
by spoon
If I set a style in wwb, then this style will not be used?
As before, interrupt with
?
Re: Use of style / class in image does not disable the inline border
Posted: Fri Jan 03, 2020 11:27 am
by Pablo
I'm sorry, it is not clear to me what you are trying to do.
Can you please be more specific?
Re: Use of style / class in image does not disable the inline border
Posted: Fri Jan 03, 2020 12:14 pm
by spoon
If I set the style / class, then it sets in #wb_indexImege, not #indexImage.
Then it is not clear what means:
- Improved: Use of style/class in image now disables inline border.
It turns out that i do not change the image style since all styles / classes change the div with id = "wb_indexImage"?
Re: Use of style / class in image does not disable the inline border
Posted: Fri Jan 03, 2020 1:35 pm
by Pablo
The class will be applied to the <img> tag, not to the container.
- Improved: Use of style/class in image now disables inline border.
This means that the border is no longer added when you specify a class.
Related topic:
https://www.wysiwygwebbuilder.com/forum ... =5&t=87041
Re: Use of style / class in image does not disable the inline border
Posted: Fri Jan 03, 2020 1:40 pm
by spoon
The fact of the matter is that the class is not added to img, it is added to the div.
example
Re: Use of style / class in image does not disable the inline border
Posted: Fri Jan 03, 2020 2:22 pm
by Pablo
I'm sorry, but this is unrelated. You are using events, which is JavaScript.
The orginal topic was related to the 'class' property of the image object
Re: Use of style / class in image does not disable the inline border
Posted: Fri Jan 03, 2020 4:05 pm
by spoon
Thanks, when to wait for the new version?
Re: Use of style / class in image does not disable the inline border
Posted: Fri Jan 03, 2020 4:17 pm
by Pablo
No, it works like this intentionally.