Created
May 28, 2024 00:24
-
-
Save johnlindquist/263394c384502db87dde42397296a232 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Name: Testing Get Selected Text | |
import "@johnlindquist/kit" | |
let text = await getSelectedText() | |
await setSelectedText(`yay ${text}!`) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment