Calion
August 23, 2022, 8:59pm
1
Platform
iOS
Android
Obsidian Mobile version: v1.3.1
Steps to reproduce:
Open Safari (Update: This happens anywhere in iOS when a link is copied via the Share Sheet).
Visit a webpage.
Tap the Share button, then choose Copy.
Open a note in Obsidian.
Type some text.
Select it.
Tap the “Link” icon in the toolbar.
Paste the URL.
What was expected
[YAML](https://help.obsidian.md/Advanced+topics/YAML+front+matter)
What actually occurred
[YAML]([](https://help.obsidian.md/Advanced+topics/YAML+front+matter))
1 Like
I’m not seeing this. I tried it on iPhone using finger and on iPad using Cmd V.
1 Like
Calion
August 23, 2022, 9:43pm
3
That’s interesting. It only happens when you copy a link from Safari using the Copy function in the Share Sheet. I’ll update the issue.
Ah, OK, I see it when I do that. I normally long press the address bar/tab/thumbnail.
1 Like
Calion
August 23, 2022, 9:57pm
5
I…didn’t know you could do that. I have been tapping into the field if I want to copy the URL that way. Thanks!
Not that that changes this bug, of course.
1 Like
+1 from me, and see also this bug
Calion
December 28, 2022, 9:33pm
7
Yes, that seems to be the same bug.
austin
May 28, 2022, 11:58pm
8
Platform
[x] iOS
[ ] Android
Obsidian Mobile version: v1.2.2 (56)
On desktop, if I copy and paste a url, I get the URL:
https://discord.com/
On mobile, when I paste a URL, I get markdowned text:
[](https://discord.com/)
I expect mobile paste to work like desktop and paste the
This happens with safe mode on in the default theme after a restart.
4 Likes
+1 – this drives me crazy, and I still see it in v1.4.1 (83)!!
Am I missing some setting that lets me turn this off?
I often type the beginnings of a link, e.g. I type:
[link](
and then I want to paste … but when I do that I get redundant brackets that I have to clean up, which is really touchy w/ an iOS text editor.
Thank you!
Ben.
2 Likes
bts
April 16, 2023, 4:02am
10
Still running into this issue on iOS, more often at the moment as there’s a mobile app with links I frequently want to save into an obsidian file, and very annoying on a phone having to fix every single time with:
paste link and get e.g. [](https://example.com/link)
delete closing paren
press and hold space bar and drag cursor to just the right place
delete brackets and opening paren
Seems simple enough to just not add the markdown cruft by default if there’s no title in the clipboard data…would love to see this fixed!
1 Like
If paste as plain text is not available in iOS context menu (and this would be an iOS limitation), you can disable html->markdown conversion globally in settings->editor->Auto Convert HTML
1 Like
bts
April 23, 2023, 6:00pm
12
Thanks! Indeed may be an iOS quirk in need of some better workaround. But also seems that turning off this setting does not mitigate the issue.
I’m copying a link from Bluesky (share → copy from a post)
When I paste it here in the discourse composer I get the raw url as expected:
https://bsky.app/profile/generativist.xyz/post/3ju2k4gygq52e
Ditto pasting in iA Writer iOS app, just as example of another markdown editor handling as expected.
But pasted in obsidian iOS I get it wrapped in markdown with no title like so: [](https://bsky.app/profile/generativist.xyz/post/3ju2k4gygq52e)
This shouldn’t be html just a plain link so maybe it’s unrelated to the “auto convert html” setting, not sure.
Let me know if any other testing / info may be helpful in getting to the bottom of the issue!
1 Like
I think this has come up before in the forum. Have you searched?
1 Like
Try using Obsidian’s “Paste” command.
With the link in my clipboard, using the iOS context menu paste, I get:
[](https://forum.obsidian.md/t/bug-can-t-paste-raw-url-in-mobile/38144)
Swiping down (command palette) and choosing “Paste”, I get:
https://forum.obsidian.md/t/bug-can-t-paste-raw-url-in-mobile/38144
(Auto convert HTML is toggled on.)
2 Likes
bts
May 2, 2023, 1:49am
15
Yep I’ve definitely searched. I see this has been merged - seems like variations of the same root issue coming up.
Thanks, confirming the paste command works as expected. Only problem is it’s way more of a hassle to access compared to the native iOS paste command.
The solution here I guess then = the default iOS “paste” should behave identically to obsidian command palette “paste”.
Hopefully a clear enough step by step repro above to finally get this fixed!
1 Like
austin
May 29, 2022, 12:25am
16
Platform
[x] iOS
[ ] Android
Obsidian Mobile version: v1.2.2 (56)
On mobile
highlight a word
select the link button from the toolbar
Obsidian puts single brackets around the highlighted word and puts the cursor between two parentheses, so you can paste the link
when you paste the link, Obsidian pastes markdowned text inside the parentheses instead of just pasting the URL.
instead of pasting:
https://discord.com/
It pasted:
[](https://discord.com/)
So you get
[highlighted word]([](https://discord.com/))
I would expect that if I paste a URL after selecting a word and using the toolbar’s link button, Obsidian would paste the raw URL.
Happens in safe mode in default theme.
1 Like
bts
October 10, 2023, 4:00pm
17
Bumping because this bug persists. Slightly different but I think related to what’s described in the OP and in the latest post, which I can also repro.
May be same underlying issue — I think this would fix both!
1 Like
Licat
February 28, 2024, 2:55am
18
Will be fixed in the next release.
2 Likes
system
Closed
March 6, 2024, 2:56am
19
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.