Skip to content

In the inlines mode, when I delete an input element, the preceding character of that element will also be deleted. #5972

@elevenwangyang

Description

@elevenwangyang

Description
In the inlines mode, when I delete an input element, the preceding character of that element will also be deleted.

Recording
https://github.com/user-attachments/assets/b45ce396-72b6-4302-98c5-1fadaa3c9537

Official website example
https://www.slatejs.org/examples/inlines

Steps
To reproduce the behavior:

  1. Clear the text within the input element
  2. Delete the input element

Expectation
Do not delete the text before the expected element together.

Environment

  • Official website example

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions