Skip to content

deleteForward swaps list items when subsequent list item contains mark #2420

@12joan

Description

@12joan

Description

See recording:

Screen.Recording.2023-06-04.at.14.00.46.mov

Steps

  1. Create a list with at least two bullet points
    • The first should be empty
    • The second should contain some marked and some un-marked text
    • See sandbox for an examlpe
  2. Place cursor on first bullet point
  3. Delete forward (fn+backspace)
  4. Plate swaps the first and second bullet points

Sandbox

https://codesandbox.io/s/sandpack-project-forked-n33oqb?file=/list/listValue.tsx

Environment

  • slate: 0.90.0
  • slate-react: 0.90.0
  • browser: cross-browser (Chrome + Firefox tested)

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions