Bug: When a custom text node is deleted, a new text node is inserted
Open
- Dominant language
- TypeScript
- Stars
- 23.9k
- Forks
- 2.2k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 55
Description
When I delete a custom TextNode, a new Replace TextNode will be inserted. But without replacing text node, no new node will be inserted.
Please Watch the video below

Lexical version: 0.9.1 and latest
## The current behavior
This unexpected behavior will trigger my `editor.registerMutationListener(cusTextNode, onChange),
` monitoring and bring unexpected results
## The expected behavior
Uninserted node
Do not insert cusTextNode When a custom node is deleted
Contributor guide
Assessment
This issue has not been assessed yet.