Steps to reproduce
- Place cursor on a new line surrounded by empty lines (as one would when inserting something):
## Foo %%cursor here%% ## Bar
- Use one of the “Insert _” commands (specifically: Table, Callout or Horizontal rule)
Did you follow the troubleshooting guide? [Y/N]
Y
Expected result
Only desired object to be inserted, as it used to be.
Actual result
Depends on the specific command:
- Table: inserts extra blank line above and below the inserted table
- Callout: inserts extra blank line above and below the inserted table
- Horizontal Rule: inserts two extra blank lines after the ruler
- All other “Insert” commands (even multiline ones) seem to behave without any issues, curiously enough
Environment
SYSTEM INFO:
Obsidian version: v1.8.4
Installer version: v1.8.4
Operating system: #1 SMP PREEMPT_DYNAMIC Fri, 17 Jan 2025 14:04:26 +0000 6.6.72-1-lts
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: off
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
This definitely worked without issues in 1.7
This also breaks things like inserting a nested callout (or a table), as the added uncalled for empty line in front makes it into a separate callout in a block quote, rather than a nested callout