-
Type:
Bug
-
Resolution: Obsolete
-
Priority:
Low
-
Affects Version/s: 5.2.3, 5.5.6
-
Component/s: Editor - Page / Comment Editor
-
Severity 3 - Minor
Steps to reproduce:
1. Create a page with a 2 column layout
2. In the left column, add a heading
3. Save the page - observe that the heading is in the left column
4. Edit the page, select all the content in the left column, cut and paste into the right column
5. Save the page and observe that the content has not moved
Workaround is to ensure that the left column has some content (e.g. a space).
It turns out that empty page layout cells are excluded when the page is converted to storage format.
Storage format for two-column layout with an empty cell (storage format is the same regardless of which column has content):
<ac:layout><ac:layout-section ac:type="two_equal"><ac:layout-cell>
<h1>Heading</h1>
<p>Some content.</p>
<p> </p></ac:layout-cell></ac:layout-section></ac:layout>
Storage format when both columns contain content:
<ac:layout><ac:layout-section ac:type="two_equal"><ac:layout-cell>
<h1>Heading</h1>
<p>Some content.</p>
<p> </p></ac:layout-cell><ac:layout-cell>
<p> </p></ac:layout-cell></ac:layout-section></ac:layout>