Hi, I'm struggling to remove the line break between Expand macros, (see red thick line) recommendations
I tried "Source Editor" add-on with no success. Any recommendations? Thanks!
Joaquin,
Can you confirm this is the tutorial you used to try to remove the line?
If it did not work can you confirm your Confluence version so I can test that?
Regards,
Shannon
Hello Shannon, I'm with Confluence Cloud.
Yes, I tried source editor, but I'm not html expert, so maybe I just did it wrong.
I created this article for testing purposes:
I tried to find <p>
tags to remove the line between both expands marcos without sucess.
This is the html code that source editor shows:
<p><br /></p>
<ac:structured-macro ac:name="expand" ac:schema-version="1" ac:macro-id="4aa0660c-4357-40bd-9e05-8d78a39dc9fc">
<ac:parameter ac:name="title">first</ac:parameter>
<ac:rich-text-body>
<p>Sample text1</p>
</ac:rich-text-body>
</ac:structured-macro>
<p class="auto-cursor-target"><br /></p>
<ac:structured-macro ac:name="expand" ac:schema-version="1" ac:macro-id="c59cb2d8-c8c1-4831-b1ad-62b778f7524c">
<ac:parameter ac:name="title">second</ac:parameter>
<ac:rich-text-body>
<p>Sample text2</p>
</ac:rich-text-body>
</ac:structured-macro>
<p class="auto-cursor-target"><br /></p>
<p class="auto-cursor-target"><br /></p>
Maybe you can tell me which line I should remove?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for confirming, Joaquin.
The add-on you're using is different from the one in the example which is not available for Cloud.
However, I tested it with my Cloud instance and the add-on you're using, and it does appear this level of customization is not possible on Cloud. Even if I remove the <p> entirely there will remain a space between the two Expand macros.
I hope that clarifies things but do let me know if you have any further questions.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Shannon S , I'm with Confluence Server (latest version) and I'ave also line break cannot removed by edit source code:
<p class="auto-cursor-target">
<br/>
</p>
Regards,
Xarkam.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Xarkam,
This thread was about Confluence Cloud specifically, where such an edit isn't possible.
Since you're on Server, I would recommend raising a new thread for your issue, and the community will be able to help you.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.