Describe the bug
Unable to paste text into the Query field in the Vision tab locally, if the text box is empty. If the text box is not empty, then I'm able to paste text.
To Reproduce
Steps to reproduce the behavior:
- Run the local dev server
- Go to the Vision tab
- Ensure that the Query input text box has no text in it
- Try to paste text into the Query input text box
- The text is not pasted
Expected behavior
Any text in your clipboard should be pasted, even if the Query text box has no value.
Screenshots
Which versions of Sanity are you using?
@sanity/cli (global) 4.21.1 (up to date)
@sanity/eslint-config-studio 5.0.2 (up to date)
@sanity/vision 4.21.1 (up to date)
sanity 4.21.1 (up to date)
What operating system are you using?
MacOS Tahoe
Which versions of Node.js / npm are you running?
Run npm -v && node -v in the terminal and copy-paste the result here.
10.9.3
v22.18.0
Additional context
I found out about this bug by following this part of the tutorial: https://www.sanity.io/docs/sanity-studio-quickstart/querying-content-with-groq#k1e8603cde81a