I finally had the chance to try Zettlr, and the behaviour there is even worse – pasting the string “Test” from Apple Reminders causes the following to be pasted:
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px '.AppleSystemUIFontRounded'; color: #000000; color: rgba(0, 0, 0, 0.85)}
Test
Exactly the same thing happens when using the “Paste Without Styles” command in Zettlr, for some reason.
Anyway, I still say this is an issue with Obsidian as the end user’s experience of this makes it seem that Obsidian is buggy – pasting into LibreOffice, for example, doesn’t cause any additional characters to be inserted, and ditto for TextEdit, Bear, Google Docs, OmniGraffle, Apple Notes, Pages, Slack, Trello, etc (these are just the apps I happen to have on my computer).
Interestingly, DynaList also inserts an extra character when pasting from Apple Reminders, so something is amiss in Obsidian’s sister project too.
I also tried copying and pasting text from other apps into Obsidian:
- Copying text from a code block in Slack, for example, causes extra newlines to appear, which again don’t appear in apps other than Obsidian.
- Copying text from LibraOffice again causes those extra spaces and newlines to be inserted when pasting into Obsidian.
- Pasting from Google Docs into Obsidian causes other weird characters to be inserted – in this case extra newlines and pairs of asterisks (and no, the original text wasn’t boldfaced).
- Pasting from Omnigraffle also causes extra newlines and spaces to be inserted.
Basically, the interoperability of Obsidian with other apps on Mac leaves a lot to be desired, unfortunately…yes, you can work around it by remembering to use command-shift-V to paste without formatting, but most users won’t remember that and will (like I did) get annoyed at Obsidian’s inability to play nice with other apps in the Mac ecosystem…