Details
-
Bug
-
Resolution: Fixed
-
High
-
5.1, 5.2, 5.3, 5.4.0-beta1
Description
If you insert empty lines at the beginning of a text block, each time you edit and publish (or store as a draft) one of the beginning empty lines will be removed.
This might be related to EZP-17014, and happens in Internet Explore, Chrome and Firefox.
Steps to Reproduce
- Open the backend
- Create a new class named TestClass with the following attributes:
- *Title*: Text Line
- *Text*: Text Block
- Create a new TestClass object and insert the following text in the text attribute (there are three empty lines at the beginning of the text) and publish it.
Line One Line Two
- Edit the TestClass object and publish it or save is as a draft.
- Edit the TestClass object again, and confirm the first empty line is gone.
- Save and edit TestClass object again two more times, and confirm all the empty lines at the begging are gone. The empty line between "Line One" and "Line Two" should remain untouched.
Note: Please notice this issue is related to Text Block, not eZXML Block.