Skip to content

Blockquote: Resetting the block should split lines into paragraphs #2169

@12joan

Description

@12joan

Description

When resetting a blockquote containing multiple lines (separated by \n, as is normal for blockquotes), it turns into a single paragraph with all the lines inside it, rather than one paragraph for each line.

Steps

  1. Go to the sandbox
  2. Create a blockquote with multiple lines
  3. Place cursor at start of blockquote
  4. Press backspace to reset the blockquote to a paragraph

Sandbox

https://codesandbox.io/s/sandpack-project-forked-dysl1n

Expectation

A new paragraph is created for each line of the blockquote.

Environment

  • slate: 0.88.1
  • slate-react: 0.82.1
  • browser: Firefox

P-190

Funding

  • You can sponsor this specific effort via a Polar.sh pledge below
  • We receive the pledge once the issue is completed & verified
Fund with Polar

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