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

Portable Text: Copying and pasting from Sanity to Google Docs removes strikethrough and underline decorators #5290

Closed
samason opened this issue Nov 28, 2023 · 6 comments · Fixed by #5443

Comments

@samason
Copy link

samason commented Nov 28, 2023

This issue was mentioned back in 2019 in this comment under a now closed issue but remains unresolved. I had previously reported #5049 which was referenced in this same 2019 issue, although this seems to be occurring regardless of OS and should be treated as a separate issue altogether.

Here is an example of content in Google Docs and that same content pasted into Sanity:
Screenshot 2023-11-28 131045
Screenshot 2023-11-28 131116

I am using Sanity version 3.19.3 of Sanity Studio.

@sourabpramanik
Copy link

@samason did you find any solution for this issue?

@samason
Copy link
Author

samason commented Dec 28, 2023

@sourabpramanik I haven't, although I see that this commit appears to address underlines in Google Docs and was released in v3.23.2 recently. I plan to upgrade and test this in the latest Sanity version in the new year.

@sjelfull since this was your PR, could you confirm if this issue has been resolved? I'm assuming based on the comments that the case of strikethrough hasn't been handled, and if not would it be possible to get that into an upcoming release? Thanks!

@samason
Copy link
Author

samason commented Jan 2, 2024

Confirming that underline appears to be fixed but the strikethrough issue still exists.

@sourabpramanik
Copy link

Thanks for confirming. I will look into the issue and fix it

@sjelfull
Copy link
Member

sjelfull commented Jan 3, 2024

@samason Thanks for reporting. Strike-through has been fixed in #5443 and will be in the next release.

Copy link
Contributor

github-actions bot commented Apr 4, 2024

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants