Details
-
Bug
-
Resolution: Fixed
-
High
-
2.5.14, 3.1.3
Description
Steps to reproduce:
- Configure a block custom style (inline: false) and activate it in your admin siteaccess
- Create or edit a content with a rich text field
- In the rich text field, insert a new custom style element
- Add and anchor ID on the custom style element
- Set the alignment of the custom style element
- Click on "Save"
Expected behaviour: the custom style element has the anchor and the alignment that has been previously set
Actual behaviour: the anchor and alignment is not present after saving
Additional information: it seems that these attributes are not saved at all in the database. The only info that is saved is the "ez-has-anchor" class, which is added when adding an anchor. The information stored in database looks like this :
<eztemplate ezxhtml:class="ez-has-anchor" name="my_custom_style" type="style"> <ezcontent>test</ezcontent> </eztemplate>