According to the docs, writeText()
should be fine, but when I use it, I get:
Clipboard.setContent will be deprecated in future versions. Please use Clipboard.write instead.
Text is written to clipboard as expected, but why would it warn me about setContent()
when I’m not using it?