trilium icon indicating copy to clipboard operation
trilium copied to clipboard

Feature request: copy-to-clipboard button for code blocks

Open ZiriaRMD opened this issue 4 years ago • 6 comments
trafficstars

First of all, thank you for creating this great application, I use it on a daily basis.

I think it would be nice to have a button to copy an entire code block to the clipboard, for example:

image

ZiriaRMD avatar May 27 '21 06:05 ZiriaRMD

Hi, yes, this would be nice. There has been similar requests made in the past - e.g. #973

This is a CKEditor feature, so I created a feature request there: https://github.com/ckeditor/ckeditor5/issues/9774

zadam avatar May 27 '21 18:05 zadam

Hello, are there any Updates yet for this Feature?

root9191 avatar Aug 02 '22 23:08 root9191

@root9191 looks like a dependency on ckeditor which hasn't yet included copy to clipboard for code blocks. I'm also missing this feature a lot as my mates and I have a tonne of scripts and CLI commands to save in our knowledge base for easier execution.

nekrondev avatar Jan 19 '23 15:01 nekrondev

Yes you can go to https://github.com/ckeditor/ckeditor5/issues/9774 and give a 👍to the request

ZiriaRMD avatar Jan 20 '23 08:01 ZiriaRMD

We want this feature!!!! any update ?

thanayut1750 avatar Dec 20 '23 17:12 thanayut1750

Damn, came here looking to see if others wanted this. I hope we see this feature included in Trilium soon. Sweet application.

zhdenny avatar Mar 15 '24 20:03 zhdenny