Skip to content

Pasted content in Bard editor disappears after quick text modification #13698

@o1y

Description

@o1y

Bug description

When pasting content into the Bard editor, the pasted text can disappear immediately when quickly modifying existing text shortly before pasting.

Image

How to reproduce

  1. Open an entry with a Bard field
  2. Ensure the following text already exists in the editor:
Lorem Ipsum is simply dummy text of the printing and typesetting indust. 
  1. Delete the last two characters of the sentence
  2. Re-type those two characters
  3. Immediately paste some text from the clipboard (this needs to be done fairly quickly)
  4. Observe that the pasted text disappears right after being inserted

Logs

Environment

v6.0.0-beta.6

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions