-
Notifications
You must be signed in to change notification settings - Fork 435
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
Copying PTE field includes "normal" #7786
Comments
Hi @ninaandal 👋 😃 Let me look into this. |
I don't think there's much the If you copy a field like this: Then (unless I'm mistaken) all that is stored on the clipboard is:
I think, "Copy field" needs to:
What do you think @sgulseth ? |
Hm, have I maybe misinterpreted the intention of this button? Is it not supposed to copy the content of the field, but the field data itself? |
I think it's meant to be used in combination with "Paste field", but I also think, just copying the text into the RTE should work as well. It's probably just not a scenario that was thought of during development. |
When using the "Copy field" option on a PTE field in the studio, it copies the text, but includes a "normal" in the copied text.
Skjermopptak.2024-11-11.kl.10.26.55.mov
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Just the text being copied in the field, and not a text representation of what I assume is the text size
Which versions of Sanity are you using?
3.63.0
Which versions of Node.js / npm are you running?
The text was updated successfully, but these errors were encountered: