Paste defaults to type: text, Paste Unformatted defaults to type: file. This is backwards from what users expect and intend

Steps to reproduce

From your browser, do what a user would do when intending to put a file (not URL) into their clipboard - right click and press “Copy Image” on https://sandicraig.com/wp-content/uploads/2020/06/ntolhn3l16uo4yyk.jpeg

Paste into Obsidian.

Expected result

Paste the file into Obsidian.

Actual result

It pastes the URL into Obsidian. If a user intended that, they would have copied from the address bar of their browser. The user copied the file for a reason.

The clipboard contains the file (tested at Clipboard Test ) as well as a fallback to text URL. Obsidian is preferring the text by default, when it should be preferring the file by default, as a user intends when they have a file in their clipboard.

Paste and Match Style does paste the file, but this is backwards and counterintuitive. Paste should do file, Paste and Match Style (aka Paste Unformatted) should do text.

Environment

  • Operating system: MacOS
  • Obsidian version: Latest

Additional information

2 Likes

You’re right, it should be the other way round.

Please, search before posting