Skip to content

Copy and paste not copying style on iOS #5824

Open
@quentingrchr

Description

@quentingrchr

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions