When a heading is collapsed, entering a new line underneath should not expand that section

Heading is collapsed so I cannot see the content underneath it.
I put cursor at the end of that heading and click enter.
Currently that immediately expands the heading. Essentially it assumes that continuing the content within that heading. But what if actually wanted to create a new section. That expansion is cumbersome and defeats the purpose of collapsing the section which was to make the screen clean and easy to navigate.

How it should work:
When I click enter, you dont know yet what I want to create in the next line. Only when I escape that line evaluate if it fits within the above heading or if its a new section. If its a new section then keep the prior heading collapsed. If its normal text then its a continuation of the prior content so at the point when I escape that line expand the section that its in.

2 Likes

Agreed. If I press “enter” at the end of a collapsed header, then Obsidian shouldn’t expand that header.

But the problem is that everything below a header will be absorbed into the collapsed header section. You need yet another header beneath a collapsed header in order to add new, visible data.

Instead, Obsidian could insert hash symbols of the same size of the collapsed header to add a new section, after pressing enter at the end of a collapsed header. Not sure if users would like this behaviour.

thanks. However, you did not follow the bug report template. Please next time follow the bug report template.