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
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/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: 96
Joined: Thu Oct 26, 2017 9:23 am

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

Post 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.
User avatar
Pablo
 
Posts: 21569
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

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

Post by Pablo »

If you use a style/class, then the inline style will not be included.
This behavior has not changed recently.
User avatar
spoon
 
 
Posts: 96
Joined: Thu Oct 26, 2017 9:23 am

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

Post by spoon »

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: 21569
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

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

Post by Pablo »

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: 96
Joined: Thu Oct 26, 2017 9:23 am

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

Post 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"?
User avatar
Pablo
 
Posts: 21569
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

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

Post 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
User avatar
spoon
 
 
Posts: 96
Joined: Thu Oct 26, 2017 9:23 am

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

Post by spoon »

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: 21569
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

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

Post 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
User avatar
spoon
 
 
Posts: 96
Joined: Thu Oct 26, 2017 9:23 am

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

Post by spoon »

Thanks, when to wait for the new version?
User avatar
Pablo
 
Posts: 21569
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

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

Post by Pablo »

No, it works like this intentionally.
Post Reply