To add a comment, I usually need to scroll to the end of an article. I want to use a button instead at special positions in the article.
Using the shortcut of the add-comment-link at the end of an article does not work as a suitable link for opening the comment editor. Can someone help? I cannot look at this part of my wiki in Wiki Markup.
The comment itself may work as usually. It's only about opening the comment editor somewhere else than at the very end.
Later on it may be interesting to have an additional feature: When clicking the add comment button somewhere in the text, the first line of the relevant paragraph (next to the button) should appear in the comment as a quotation. Clicking on this quotation should bring me back to the position, where the add-comment-button was pushed.
How about creating a link that points to the comment section of Confluence? i.e.
<a href="#comments-section">Add a comment</a>
You can add the above html to Confluence Admin > Layouts > Page Layout. Add the code below this line:
<div id="main-content" class="wiki-content"> $body </div>
Alternatively, you can add a new user macro like this:
## @noparams <a href="#comments-section">Add a comment</a>
and then you need to add this macro in every page
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
👋Community members! Downtime happens. And great incident response takes a village. Teams like Support, Dev, SRE, Ops, IT, and Marketing have to come together to resolve the problem while keep...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs