Hi,
according to this document Highlight macro will be deprecated soon. Therefore I decided to copy behavior of this macro into a Static Content Macro using Atlassian guideline.
The problem is, that result–despite rendered correctly–always appears on distinct line. My suspicion leads to the Confluence WYSIWYG editor, which breaks the paragraph into two separate pieces when you try to insert any macro in the middle. Example of a page storage format:
<p class="auto-cursor-target">This should be an inline</p>
<ac:structured-macro
ac:name="highlight"
ac:schema-version="1"
ac:macro-id="be7506bd-542a-4d55-b617-f42b76290b70"
><ac:parameter ac:name="color">orange</ac:parameter
><ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter
><ac:rich-text-body>
<p>highlighted text</p></ac:rich-text-body
></ac:structured-macro
>
<p>rendered in a single line.</p>
<p class="auto-cursor-target"><br /><br /><br /><br /></p>
Is my finding correct or is there another explanation of this behavior? If this is the real issue afterwards, does exist some workaround to render inline content into paragraph?
Thanks a lot for your opinions in advance.
Jiri