[Feature] 'Copy' toolbar button should copy whole line if nothing is selected

Platform

[x] iOS
[ ] Android

Obsidian Mobile version: v1.0.5

On Mac, invoking ⌘C in Obsidian copies the whole line to the clipboard if no text is selected. By contrast, pressing the Copy Quick Action button in Obsidian on iOS just deletes the current clipboard content.

It would be really convenient if Obsidian on iOS could adopt the behavior of the Mac version and copy the whole line of text in that situation. Currently, it’s a bit tedious to copy a line of text on iOS, because you first need to manually select the whole line, which always feels a bit clumsy.

This change should, of course, also be made to the Show context menu under cursor -> Copy Quick Action and to the behavior of ⌘C (if an external keyboard is connected), but it would be most important for the Copy Quick Action button.

1 Like

I would love this feature for Android, too. Selecting the text of a whole line is not only clumsy, sometimes it’s impossible, especially if the line contains a link. Sometimes I have to select text before and after the line and delete it after pasting.

I’m aware of the “duplicate line” command and use it often but I need this (and / or a “cut line” command) to copy from one file into another or from Obsidian to another app.

There’s a workaround using “Select line” from the Code Eitor Shortcuts plugin and then long press and “copy”. But it’s not as nice as copying directly.