Hello,
I've just had another case of a random but recurring formatting problem in Confluence.
In this case, the user has been editing a page that already existed but only contained one short sentence and the TOC and Children Display macros. These were both inside Column macros that were inside a Section macro.
He had entered various bits of text above the Section/Column area, saving the page as he went along.
He then entered a new line of text and pressed return to start a second, which he then tried to format as a heading using the drop down menu to select heading 3.
This is where it all goes wrong.
Instead of the new line being formatted as H3, the text in BOTH the Column macros became H3, and the cursor jumped from the page into the first of the two Column macros.
We had a look at the HTML, but couldn't see any reason for this happening, though we could see the result - see the HTML for the macros below.
Having fixed this in the HTML, my colleague saved the page and the problem went away. He's had this problem in the past, as I said above, so this isn't a one off. It's just random.
The page he was working on was one of a set of pages that we automatically create using a Python script. So this might be part of the problem. However, no one else has had the same problem as far as I know. If I find out that they have, I'll update this question.
So, any clues?
Cheers.
PAGE HTML
<h1>Title</h1>
<p>Design Document - sometexthere (sometexthere)</p>
<h1>heading</h1>
<p>sometexthere.</p>
<h1>heading</h1>
<p>sometexthere.</p>
<h3>heading</h3>
<p>sometexthere.</p>
<p>sometexthere - <Name><br/>sometexthere - <Name><br/>sometexthere - <Name></p>
<p>sometexthere - <Name></p>
<h3>heading</h3>
<p>sometexthere.</p>
<p>sometexthere - <Name><br/>sometexthere - <Name><br/>sometexthere - <Name><br/>sometexthere - <Name><br/>sometexthere - <Name></p>
<p>sometexthere - <Name></p>
<p>sometexthere.</p>
<h3>heading</h3>
<p>sometexthere.</p>
<p>sometexthere <HERE>.</p>
<p>sometexthere.</p>
<h3>heading</h3>
<p><sometexthere></p>
<p>sometexthere</p>
<h3>heading</h3>
<p><sometexthere></p>
<p>sometexthere</p>
<h3>heading</h3>
<p><sometexthere></p>
<p>sometexthere</p>
<ac:macro ac:name="section">
<ac:rich-text-body>
<ac:macro ac:name="column">
<ac:rich-text-body>
<h3>
<strong>Contents</strong>
</h3>
<h3>
<ac:macro ac:name="toc">
<ac:parameter ac:name="maxLevel">2</ac:parameter>
</ac:macro>
</h3>
</ac:rich-text-body>
</ac:macro>
<ac:macro ac:name="column">
<ac:rich-text-body>
<h3>
<strong>Further Information</strong>
</h3>
<h3>
<ac:macro ac:name="children">
<ac:parameter ac:name="style">h5</ac:parameter>
<ac:parameter ac:name="page">Ports Expansion</ac:parameter>
<ac:parameter ac:name="depth">1</ac:parameter>
</ac:macro>
</h3>
</ac:rich-text-body>
</ac:macro>
</ac:rich-text-body>
</ac:macro>