What I did:
Added styled text underneath a heading and removed this text.
The heading style gets applied when the text was removed. Also the note view collapses so the edited part gets hidden.
What I expected:
Things that might be helpful to know (Agenda version, OS and model, etc):