Clipboard deprecation warning

Hi,

I’m getting that deprecation warning in the console, even though I’m already using the ‘new’ clipboard functions, i.e. clipboard.write(), clipboard.writeText(), etc.:

Clipboard.setContent will be deprecated in future versions. Please use Clipboard.write instead.

Am I doing something wrong?
Will this stop working in the near future, or does this warning just come up in all cases?

I have confirmed that this error occurs, and other developers have reported it as well. Your code is most likely correct.

1 Like

Ah thank you @sttk3!
I did not research very well before posting.
Sorry for the duplicate.

1 Like