Details
-
Bug
-
Resolution: Fixed
-
Medium
-
5.2
-
None
Description
If you center a paragraph and then apply class information, this is properly saved.
However, If you apply class information and then center a paragraph, the class information is lost.
Steps to reproduce:
1. Add test paragraph class to settings/override/content.ini.append.php:
[paragraph] AvailableClasses[]=lead
2. Create or edit an article;
3. Add 2 paragraphs to "body" field e.g.:
Paragraph 1 Paragraph 2
4. Center paragraph 1, and then add "lead" class to it;
5. Add "lead" class to paragraph 2, and then center it;
6. Disable editor and look at resulting code:
<paragraph class="lead" align="center">Paragraph 1</paragraph> <paragraph align="center">Paragraph 2</paragraph>
Paragraph 1 is OK, while paragraph 2 has lost its class information.