[bug]: Navigation if inserted Headings > 4 not working properly
Open
Nobody has claimed this yet.
🐛bug
pages
- Dominant language
- TypeScript
- Stars
- 59.6k
- Forks
- 5.8k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 49
Description
Is there an existing issue for this?
- I have searched the existing issues
Current behavior
In the Pages module of Plane, adding a level-4 (or deeper) heading within a page causes the sidebar’s navigation links for subsequent level-1 to level-3 headings to jump incorrectly. After the inserted level-4 heading, clicking on any following H1–H3 entry in the sidebar navigates to the next H1–H3 after it, skipping the intended section.
Steps to reproduce
Example: Adding the following Page:
### Section A
Content A…
#### Subsection A.1
Content A.1…
### Section B
Content B…
### Section C
Content C…
Clicking on Section B would jump to Section C.
Clicking on Section C would jump anywhere in the document.
Environment
Production
Browser
Google Chrome
Variant
Self-Hosted
Version
v0.25.3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.