Skip to content

Fix insertText bug with siblings#383

Merged
trueadm merged 2 commits intomainfrom
fix-insertText-bug
Jun 15, 2021
Merged

Fix insertText bug with siblings#383
trueadm merged 2 commits intomainfrom
fix-insertText-bug

Conversation

@trueadm
Copy link
Copy Markdown
Collaborator

@trueadm trueadm commented Jun 15, 2021

Fixes #379.

Turns out that when we insert text to do a removal, that we never actually moved the siblings after the last node we remove. We should be doing this to ensure that nodes do not get removed by mistake.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 15, 2021
@trueadm trueadm requested a review from prontiol June 15, 2021 12:25
@trueadm trueadm merged commit 446d2fe into main Jun 15, 2021
@trueadm trueadm deleted the fix-insertText-bug branch June 15, 2021 12:29
acywatson pushed a commit that referenced this pull request Apr 9, 2022
* Fix insertText bug with siblings

* Optimiz path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: incorrect backspace behavior in paragraphs with mentions

2 participants