Obsidian version: v1.1.9
Installer version: v1.1.9
Operating system: #62-Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022 5.15.0-56-generic
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 1
Restricted mode: off
Plugins installed: 2
Plugins enabled: 0
all community plugins already disabled.
This behavior can silently corrupt the content of the document,
It’s a bit dangerous.
at least provide a way to disable middle-click paste ?
I would very much prefer to have middle-click paste working (like it does in all other apps) rather than disabling it, but this bug is indeed very problematic. It can paste garbage into a document at the very moment you are hiding the document by opening a link in a new tab, so you might not notice the garbage until much later on.
Middle-click paste should not trigger when clicking anywhere outside of an editor (like when closing a tab with middle-click).
Middle-click paste should not trigger when clicking an interactive element inside an editor (like when opening a link in a new tab with middle-click).