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

Copy and paste not copying style on iOS #5824

Open
quentingrchr opened this issue Mar 18, 2025 · 0 comments
Open

Copy and paste not copying style on iOS #5824

quentingrchr opened this issue Mar 18, 2025 · 0 comments

Comments

@quentingrchr
Copy link

Description
The copied text doesn't keep style (bold / italic / bullet point)

Recording
https://gifyu.com/image/bzM11

Sandbox
Behaviour was reproduced on https://www.slatejs.org/examples/richtext

Steps
To reproduce the behavior:

  1. Go to Notes app on an Iphone.
  2. Write text with bold or italic words.
  3. Copy the text
  4. Go to the Slate JS rich editor (https://www.slatejs.org/examples/richtext)
  5. Paste the text

Expectation
I don't know exactly what's possible or not but an expected behaviour would be to keep the bold / italic and heading style like you would when you copy a text from the Notes app (iOS) to the Notion app (iOS) for example.

Environment

  • Slate Version: 0.112.2
  • Operating System: 17.7.1
  • Browser: Safari

Context
I don't know if this is a "bug" or an expected behaviour but I didn't find any issue talking about this. So I created this one to help future user understand why this is not working if it's not a bug.

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

No branches or pull requests

1 participant