Skip to content

Bug: Pasting into an empty quote node converts it to a paragraph #5108

@kevinansfield

Description

@kevinansfield

Lexical version: v0.12.2

Steps To Reproduce

  1. Open https://playground.lexical.dev
  2. Copy some text from elsewhere in the playground editor contents
  3. Start a new quote using either > or the menu
  4. Paste your copied text

The current behavior

The quote formatting is lost and replaced with a plain paragraph.

quote-lost.mp4

The expected behavior

The quote formatting is kept when pasting.

Metadata

Metadata

Assignees

Labels

coreReconciler, DOM, Selection, Node, Events, Composition

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions