If you set a "CSS Class for tag link" in the tags individual options, the tags loose the classes "badge" and "badge-info". They now have only the new taglink class. I would expect that the tag link class is an additional class to the default classes of the tags.
The tag link class should be an additional class to the default classes of the tags.
The Tag with the class has no style, because the classes are gone
adding the classes just after the existing ones will allow to use current styling and avoid them with your own css if you want. I think classes should be added and not used as a replacement.
Also we need to consider that in other areas of Joomla (menus and modules) the classes were directly added (with no spaces) to the elements. Probably the behaviour should be the same in all other parts.
It's fine as it is. If you want to have a common class for all tags, create a layout override and add it there.
The behaviour should be consistent. You should not need an override to get consistent behaviour
It is easy to fix but it should be noted first that this behaviour in j4 is the same as in j3
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-02-22 09:21:11 |
Closed_By | ⇒ | drmenzelit |
This is an important question.
If there is a class field for something, image or module or whatever ... is it intended that the class replaces all class entries or should it be appended to existing classes?
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31025.