Create an article and add a full article image. Do not add a class.
Visit the site in the front end and view the source of the article
<figure class="item-image">
<img src="..."> </figure>
<figure class="left item-image">
<img src=.".."> </figure>
Note the additional class
Unless you add an actual class to the image then this class of "left" will always be added - even though you have not set it.
Why?
After a lot of digging I discovered that this class is defined in the article options. Buried at the bottom of a page of the artcile editing tab
Why?
I spent a long time tracking down where this "left" came from and I consider myself an experienced user.
This is not a good experience
Labels |
Added:
No Code Attached Yet
|
Not only dont you know that there is a global setting being used you dont even know what it is
The solution is to add useglobal="true"
on the fields in \administrator\components\com_content\forms\article.xml
I will prepare a PR
If only it was that easy
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-03-25 09:42:30 |
Closed_By | ⇒ | drmenzelit |
In J3 this setting resulted in

That is what is missing in J4. Some sort of indicator that there is a class being used