Pasting content with leading or trailing line breaks gets trimmed

Use case or problem

One update changed the behaviour for copying and pasting within Obsidian. When copying some empty lines that preceed one line with text, pasting that results in only the text being pasted and not the lines before that. This is an issue if you want to cut and paste a bullet item, for example.

Proposed solution

What you could do is add a switch to Settings > Options > Editor > Behaviour where the user can control the pasting behaviour.

Current workaround

I just have to press enter a given amount of times and then hit paste.

1 Like