kit icon indicating copy to clipboard operation
kit copied to clipboard

documentation code cannot be selected and copy pasted

Open muka opened this issue 1 year ago • 4 comments

Describe the problem

documentation code cannot be selected and copy pasted

Describe the proposed solution

allow copy paste!

Alternatives considered

No response

Importance

would make my life easier

Additional Information

using chrome on ubuntu

muka avatar May 25 '23 05:05 muka

what code? i can select and copy e.g. this just fine

image

Rich-Harris avatar May 26 '23 01:05 Rich-Harris

I tried recording a video, nothing selects on my side :( https://github.com/sveltejs/kit/assets/1021269/f266eec0-54ac-49dd-bb77-09f8c532b576

Thank you!

muka avatar May 26 '23 04:05 muka

Maybe try it in an incognito window to see if it's caused by a browser plugin.

CaptainCodeman avatar May 28 '23 14:05 CaptainCodeman

No, same in incognito. In firefox just works well, anyway

muka avatar May 30 '23 03:05 muka

How a about a copy button to copy the code? (Usually present in docs) The service-worker example is quite large and manually selecting that much text is a problem.

chinmaykh avatar Jul 18 '23 12:07 chinmaykh

closed by https://github.com/sveltejs/kit/pull/10187

eltigerchino avatar Aug 16 '23 11:08 eltigerchino