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
Thanks, Amalia,
especially for the prompt answer. As I'm not admin of our confluence installation I may not implement your suggestion myself, but I handed it over to the masters.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.