Skip to content

Remove headings inside details block from outline (toc) #8582

@janbaum

Description

@janbaum

Describe the bug
If Headings are used in a details block, they also appear in the outline (table of contents)

To Reproduce
Steps to reproduce the behavior:

  1. create detail block
  2. create headings in details-block body
  3. show outline
  4. see headings from inside detail block in outline

Expected behavior
Don't show those headings from details in outline, since people probably want to hide this content anyway with the detail block. E.g I put longer instructions in there, to not overload my files. The instructions have lots of heading, say 10, while the actual file has only 5 headings. Showing the outline bloats out with 15 headings, which is not what I would expect I think (?)

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

Status

🏗️ In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions