Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Going directly from Table of Contents to Editing a chosen location

Marc Miller
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 23, 2020

I have a Table of Contents for most of my Confluence pages.

I want to to to the Table of Contents, select a section, go directly to it, and start editing.

However, now when I find that I can view the chosen section of the page using this approach, but if I want to edit I am forced back to the top of the page and have to scroll down.  I have a lot of material on my pages and that results in a lot of scrolling.

1 answer

1 vote
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 27, 2020

Hello @Marc Miller !

As I understand, you need to create a Table of Contents that lead directly to the desired section in edit mode.

I can tell you that this is not available for Confluence Table of Contents macro natively.

I was trying some alternatives and found out that emoticons do have IDs (data-emoji-id).

Having this information at hand, was able to create an anchor that leads directly into that emoticon position.

The problems are:

  1. I need to reload the page after clicking the link
  2. It only worked in Firefox

 

Here is how I did it

 

  1. Created a page
  2. Placed an emoticon in it
    Screen Shot 2020-07-27 at 13.36.34.png
  3. Clicked to “Inspect element”
    Screen Shot 2020-07-27 at 13.36.49.png
  4. Copied the ID
    Screen Shot 2020-07-27 at 13.37.06.png
  5. Added this ID after the edit link with #
    Screen Shot 2020-07-27 at 13.37.43.png
  6. Added a Bulleted list
    Screen Shot 2020-07-27 at 13.38.34.png
  7. Added the link inside this list
  8. Edited the display link of the text
    Screen Shot 2020-07-27 at 13.38.43.png
  9. Published the page

 

I understand this is not a user friendly approach, but I was also unable to find a third-party plugin that offered this functionality.

 

Let us hear from you!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events