When on a checkbox list, after an H2 or H3 title, the “home key” (command+left arrow on a Mac) behaves weirdly: it goes to next line instead of the beginning of the current line.
It works fine in any other situation, except for this case scenario (which happens to be something I do a lot).
Steps to reproduce
Create an H2 or H3 title, then a checkbox list. Then try the home key.
It goes to next line, right? (well, it does for me)
Remove the H2 or H3 title and try again. It works now! I mean: it goes to the beginning of the line as it should!
Try with an H1 or H4: It works too!
It only acts funky when after an H2 or H3 title.
Cursor goes to the beginning of the line.
Cursor goes to the next line.
Operating system: MacOs BigSur, version 11.7.4
Obsidian version: v1.1.16
Installer version: v1.1.9
Operating system: Darwin Kernel Version 20.6.0: Fri Dec 16 00:35:00 PST 2022; root:xnu-7195.141.49~1/RELEASE_X86_64 20.6.0
Login status: logged in
Catalyst license: none
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: Things v2.1.6
Snippets enabled: 1
Restricted mode: off
Plugins installed: 10
Plugins enabled: 6
1: Style Settings v1.0.2
2: Calendar v1.5.10
3: Paste URL into selection v1.7.0
4: Templater v1.16.0
5: LanguageTool Integration v0.3.3
6: Dictionary v2.22.0
I disabled all community plugins and it does the same thing.
I don’t know Obsidian’s CSS well, but I suspect that playing with vertical margins in the editor may be likely to cause odd behavior. If I understand your snippet correctly, I’d suggest just typing a blank line after headings.
But the wizards in the Obsidian Discord’s #appearance channel know a lot more than I do, so I recommend consulting them.