Open kleinspire opened 4 years ago
Does this happen on the 0.58 version? https://codesandbox.io/s/slate-reproductions-2yr90?file=/index.js
Testing from Mac on Chrome, no replicable issue
@dimitriadamou Yes, the bug is still there. I just tested it on both Windows and Linux version of Chrome. Btw you need to put the cursor in the MIDDLE of the bold text before tapping backspace in order to replicate the bug.
Ah I see now, if I get time over the weekend I may have a play with it
Looks like a duplicate of #3339
I took a crack at fixing it:
Do you want to request a feature or report a bug?
Bug
What's the current behavior?
https://codesandbox.io/s/slate-reproductions-x6nf8
Put cursor inside bold text Tap backspace until you're at 2 Press backspace again Number 2 is deleted and both paragraphs are merged into one
Slate: 0.57.1 Browser: Chrome OS: Linux
What's the expected behavior?
Number 2 is deleted without merging the paragraphs into one