Use of style / class in image does not disable the inline border

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
User avatar
spoon
 
 
Posts: 126
Joined: Thu Oct 26, 2017 9:23 am

Use of style / class in image does not disable the inline border

Post by spoon » Fri Jan 03, 2020 6:34 am

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.

User avatar
Pablo
 
Posts: 19228
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Use of style / class in image does not disable the inline border

Post by Pablo » Fri Jan 03, 2020 8:10 am

If you use a style/class, then the inline style will not be included.
This behavior has not changed recently.

User avatar
spoon
 
 
Posts: 126
Joined: Thu Oct 26, 2017 9:23 am

Re: Use of style / class in image does not disable the inline border

Post by spoon » Fri Jan 03, 2020 10:58 am

If I set a style in wwb, then this style will not be used?
As before, interrupt with

Code: Select all

!important
?

User avatar
Pablo
 
Posts: 19228
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Use of style / class in image does not disable the inline border

Post by Pablo » Fri Jan 03, 2020 11:27 am

I'm sorry, it is not clear to me what you are trying to do.
Can you please be more specific?

User avatar
spoon
 
 
Posts: 126
Joined: Thu Oct 26, 2017 9:23 am

Re: Use of style / class in image does not disable the inline border

Post by spoon » Fri Jan 03, 2020 12:14 pm

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"?

User avatar
Pablo
 
Posts: 19228
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Use of style / class in image does not disable the inline border

Post by Pablo » Fri Jan 03, 2020 1:35 pm

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

User avatar
spoon
 
 
Posts: 126
Joined: Thu Oct 26, 2017 9:23 am

Re: Use of style / class in image does not disable the inline border

Post by spoon » Fri Jan 03, 2020 1:40 pm

The fact of the matter is that the class is not added to img, it is added to the div.
example

User avatar
Pablo
 
Posts: 19228
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Use of style / class in image does not disable the inline border

Post by Pablo » Fri Jan 03, 2020 2:22 pm

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

User avatar
spoon
 
 
Posts: 126
Joined: Thu Oct 26, 2017 9:23 am

Re: Use of style / class in image does not disable the inline border

Post by spoon » Fri Jan 03, 2020 4:05 pm

Thanks, when to wait for the new version?

User avatar
Pablo
 
Posts: 19228
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Use of style / class in image does not disable the inline border

Post by Pablo » Fri Jan 03, 2020 4:17 pm

No, it works like this intentionally.

Post Reply