quickadd icon indicating copy to clipboard operation
quickadd copied to clipboard

[FEATURE REQUEST] Request to add a new command: paste with format

Open tyf2018 opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. Request to add a new command: paste with format. The paste in the screenshot below can only be pasted in plain text format, and links such as URLs will be lost. image

Describe the solution you'd like Request to add a new command: paste with format.

Additional context Thank you.

tyf2018 avatar Aug 31 '21 08:08 tyf2018

+1 for this feature request.

BTW, I'd like to share some technical issues related to the feature request The Paste command is implemented with navigator.clipboard.readText(). If we want to support paste with format, we have to leverage navigator.clipboard.read(). On mobile, the readText() works well but the read() will fail due to "permission denied".

Therefore, any implementatiion of paste with format will fail on mobile unless Obsidian requires for more permissions on Mobile.

anselmwang avatar Mar 07 '22 17:03 anselmwang