Closed draguna1 closed 11 months ago
@draguna1 Can you elaborate please what the issue is exactly, for future reference?
There were two different styles one was inline from Ibexa, and the other was implemented by Netgen. We had to override Ibexa's style by using the !important property.
That much is clear :) But what was the issue with ibexa inline css? What was displayed wrong because of it?
The problem was that the styles were displayed two times. For example, when we used unordered list two bullet would appear side by side.
@emodric @draguna1 @kdraganic To explain in details:
for richtext unordered and ordered lists, we style them using pseudo :before elements for rendering bullets or numbers. Richtext has a functionality to include styles on each added unordered and ordered list, and by choosing any of the styles, the list is rendered with inline css "list-style-type" property, which overrides our cancellation of list style type, thus rendering lists with both "native" bullets and our pseudo bullets.
This quickfix will disable inline css from richtext options for unordered and ordered lists, basically removing the issue with double list bullets.
It is not optimal but it is definitely a quickfix until we decide on what we can do in the future with bullet styling.
Thanks @draguna1 !
Added !important to override Ibexa's inline css