Replace the clipboard text through the configured platform clipboard handler.
Parameters
text
string|Uint8Array
UTF-8 text to read. JS strings are encoded for this call; a
nonempty Uint8Array ending in NUL is passed directly, otherwise its bytes are
copied and NUL-terminated.
Replace the clipboard text through the configured platform clipboard handler.