Header links in page of content open collapsible blocks #3521

Closed
opened 2026-02-05 06:58:17 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @6pilanejkhks on GitHub (Feb 20, 2023).

Describe the feature you'd like

Headings that are inside of collapsible blocks open when clicked on from table of contents. Currently when pressing on a heading that's located inside of a collapsible block the link changes, but nothing happens.

I stumbled across this problem when trying to link content that's in a collapsible block in the same page as the block. Opening the link works and It opens the collapsible block as well, but when I updated the page, the link unfortunately stopped working.

NDZQJQFqy3

Describe the benefits this would bring to existing BookStack users

For the end user this would allow for better navigation since, currently when pressing on a heading inside of a collapsible block nothing happens, their solution would be to click on a heading above the one that's not working and then navigate to the collapsible block.

If the links would function after updating the page, then that would allow creating referencing previous content inside of a collapsible block

Can the goal of this request already be achieved via other means?

No, but It is possible to link content from collapsible blocks which open the blocks. This method won't work if you want to place the link in the same page as the collapsible block since, the page update would break the link.

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundemental request

How long have you been using BookStack?

0 to 6 months

Additional context

No response

Originally created by @6pilanejkhks on GitHub (Feb 20, 2023). ### Describe the feature you'd like Headings that are inside of collapsible blocks open when clicked on from table of contents. Currently when pressing on a heading that's located inside of a collapsible block the link changes, but nothing happens. I stumbled across this problem when trying to link content that's in a collapsible block in the same page as the block. Opening the link works and It opens the collapsible block as well, but when I updated the page, the link unfortunately stopped working. ![NDZQJQFqy3](https://user-images.githubusercontent.com/119660849/220177914-cbb55692-85b2-41c6-813d-0748cdfb0170.png) ### Describe the benefits this would bring to existing BookStack users For the end user this would allow for better navigation since, currently when pressing on a heading inside of a collapsible block nothing happens, their solution would be to click on a heading above the one that's not working and then navigate to the collapsible block. If the links would function after updating the page, then that would allow creating referencing previous content inside of a collapsible block ### Can the goal of this request already be achieved via other means? No, but It is possible to link content from collapsible blocks which open the blocks. This method won't work if you want to place the link in the same page as the collapsible block since, the page update would break the link. ### Have you searched for an existing open/closed issue? - [X] I have searched for existing issues and none cover my fundemental request ### How long have you been using BookStack? 0 to 6 months ### Additional context _No response_
OVERLORD added the 🔨 Feature Request label 2026-02-05 06:58:17 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Sep 15, 2025):

Thanks for the suggestion @6pilanejkhks.

Looks like we did add this at some point, although I can't remember when off the top of my head.
I'll therefore close this off.

@ssddanbrown commented on GitHub (Sep 15, 2025): Thanks for the suggestion @6pilanejkhks. Looks like we did add this at some point, although I can't remember when off the top of my head. I'll therefore close this off.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3521