-
Notifications
You must be signed in to change notification settings - Fork 416
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
[v3] Pasting external text no longer works in portable text editor #3532
Comments
@theycallmeswift - thanks for the report. I'm trying to reproduce this, but unable to. Could you please give me the result of:
(or if you use NPM Thanks |
@skogsmaskin no problem. Here's the output:
|
@skogsmaskin I was also having trouble reproducing, but I think I have a working broken example (gist linked below). The gist contains a https://gist.github.com/theycallmeswift/e198b738174199224e4dc04014b4b85d Update: Here's a fun find: If I don't use the |
Hello, we're currently experiencing this in this repo. To reproduce:
|
Update: this happens on this line:
This is happening in |
Had the same issue. For me going back from v2.33.2 to v2.31.1 solved it. |
Deleting |
Is there any intention to have this working with pnpm for the 2.x branch, or is |
Same issue here on |
I just created a new project, following https://www.sanity.io/docs/create-a-sanity-project with these properties:
node version:
and afther toast error
console error
|
I am receiving the same error on paste of text in some cases. Reverting to 3.6.0 fixes it on my end as well. |
Faced the same issue when pasting text with line breaks to fields of type |
This is now fixed with release of v3.8.0 Thank your for reporting this issue. Sorry for the inconvenience, we have now added a test to avoid this particular problem happening again. |
While v3 is surely the way, for anyone who needs it, I was able to work around this on v2 by using latest versions and pointing back to form-builder 2.31.1 on overrides: In the package.json (in the root one if you have workspaces)
|
Is this no longer supported anymore? I'm trying to paste text into a body in Sanity Studio, and it doesn't work, getting this:
Using |
I'm experiencing the same issue right now |
Same error here on sanity v3.45.0, trying to paste in plain text. |
Same error for me, v3.45.0. Issue should be reopened? |
There's a new issue already opened that's tracking this: #6715 |
In Sanity Studio v3 you are unable to past test from external sources into the rich text editor. However, you can cut and paste text from within the editor itself as expected. Attempting to paste outside text results in the following error message:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Which versions of Sanity are you using?
Run
sanity versions
in the terminal and copy-paste the result here.What operating system are you using?
Which versions of Node.js / npm are you running?
The text was updated successfully, but these errors were encountered: