Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pasting in PTE not working on Firefox #6918

Closed
mitchuman opened this issue Jun 12, 2024 · 3 comments
Closed

Pasting in PTE not working on Firefox #6918

mitchuman opened this issue Jun 12, 2024 · 3 comments

Comments

@mitchuman
Copy link

mitchuman commented Jun 12, 2024

If you find a security vulnerability, do NOT open an issue. Email security@sanity.io instead.

Describe the bug

Copying works, but pasting text within the Portable Text editor of the Studio does not execute in the Firefox browser — works in both Chrome and Safari (on macOS).

To Reproduce

Steps to reproduce the behavior:

  1. Navigate to a PTE in the Studio (local or production server)
  2. Copy text (either within the editor or from elsewhere)
  3. Command + V or right-click > paste 👈 issue occurs here
  4. Nothing happens 🥲

Expected behavior

Paste the text.

Screenshots

Screen.Recording.2024-06-12.at.1.23.53.PM.mov

Which versions of Sanity are you using?

@sanity/cli (global)          3.38.0 (latest: 3.46.0)
@sanity/code-input             4.1.4 (up to date)
@sanity/dashboard              3.1.6 (up to date)
@sanity/eslint-config-studio   4.0.0 (up to date)
@sanity/vision                3.46.0 (up to date)
sanity                        3.46.0 (up to date)

What operating system are you using?

macOS Sonoma 14.5

Which versions of Node.js / npm are you running?

9.5.0
v18.15.0
@good-idea
Copy link

Duplicate of: #6715

@christianhg
Copy link
Contributor

Hi! v3.49.0 of the Studio ships with a fix for pasting in Firefox. Could you verify if it works for you?

@mitchuman
Copy link
Author

working normally on v3.49.0!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants