codex-team / codex-team/editor.js
[Bug] Undo does not join blocks back together
- Dominant language
- TypeScript
- Stars
- 31.9k
- Forks
- 2.2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
When you type in the middle of a sentence, press enter, continue typing and press ctrl+z to undo, it will undo the words on both blocks but won't join the blocks back together as before
Steps to reproduce:
1. Go to the demo and click somewhere in a sentence
2. Type something, press enter to goto the next line
3. Continue typing
4. Press ctrl+z to undo
5. You will notice it will remove the words from both line but the lines remain separated
Expected behavior: Undo will join back the block together to 1 block
Device, Browser, OS: Windows PC, Chrome 104
Editor.js version: 2.25.0
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.