We have moved to GitHub Issues
Created by Craig Stevens 05 Jul 2017, 13:54:17 Updated by Craig Stevens 05 Jul 2017, 13:54:17
What did you do? Created a style in the Settings section for the RTE. The class was img.image-left and then in the RTE selected the image and applied the Image Left format from the Format dropdown.
What did you expect to happen? Expected the img tag to have 'class="image-left"' added to it.
What actually happened? Nothing
If I create the class is just .image-left, then the img tag is surrounded by a span with 'class="image-left"' in it. I was expecting the same behaviour as exhibited with 'p' and 'h' whereby if you define your class as p.something you get class="something" added to your 'p' if you apply the appropriate Format dropdown selection.
Backwards Compatible: True
Affected versions: 7.5.11
Due in version: