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.