Steps to reproduce
- Add front matter to a note (e.g. in the help vault)
- Fold it
- Switch to preview mode, then back to editor mode
Expected result
Front matter should still be folded
Actual result
Front matter is expanded
Environment
- Operating system: Windows
- Obsidian version: 0.12.3