makeplane / makeplane/plane

[bug]: Navigation if inserted Headings > 4 not working properly

Open
#6,994 1 comment 0 reactions 1 assignee View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.