decap-cms icon indicating copy to clipboard operation
decap-cms copied to clipboard

Codeblock widget swallowing copy command

Open DavidWells opened this issue 1 year ago • 2 comments

When trying to copy/cut code from codeblock widgets the paste is empty.

Steps to reproduce the behavior.

  1. Go to https://demo.decapcms.org/#/collections/posts/entries/2024-03-14-post-number-20
  2. Click on add code block
  3. Add code
  4. try to copy the code out of code block and see empty paste

See example:

https://github.com/decaporg/decap-cms/assets/532272/48ddb28e-f842-4a34-b73d-803a0a07daf7

DavidWells avatar Mar 13 '24 18:03 DavidWells

@DavidWells this sentence is very confusing to me: "try to code the code out of code block and see empty paste"

What do you mean my code the code?

martinjagodic avatar Mar 14 '24 08:03 martinjagodic

Lol sorry. "try to copy the code out of code block and see empty paste"

You can't copy code out of the code blocks

DavidWells avatar Mar 19 '24 20:03 DavidWells