Describe the Bug
When you create an header in an collapsible block (spoiler) is is displayed in the page navigation.
If you click on it in the navigation, nothing happens.
If you open the spoiler manually and click on the header in the navigation, it jumps to the correct header.
But the URL always changes correctly e.g.: .../books/testbook/page/testpage#bkmrk-header-inside-block
Steps to Reproduce
- Create a page with a collapsible block and create a header in it.
- After saving the page click on the header in the page navigation.
- Nothing happens.
Expected Behaviour
I would expect the spoiler to open and jump to the correct header when clicked on in the navigation section. Or it should at least jump to the spoiler.
Screenshots or Additional Context
Example Page:

With open spoiler:

Browser Details
No response
Exact BookStack Version
v23.06.02, v23.08, v23.10
Describe the Bug
When you create an header in an collapsible block (spoiler) is is displayed in the page navigation.
If you click on it in the navigation, nothing happens.
If you open the spoiler manually and click on the header in the navigation, it jumps to the correct header.
But the URL always changes correctly e.g.: .../books/testbook/page/testpage#bkmrk-header-inside-block
Steps to Reproduce
Expected Behaviour
I would expect the spoiler to open and jump to the correct header when clicked on in the navigation section. Or it should at least jump to the spoiler.
Screenshots or Additional Context
Example Page:


With open spoiler:
Browser Details
No response
Exact BookStack Version
v23.06.02, v23.08, v23.10