Undo operation in code block is not as expected

Logseq version: 0.9.19
I create a code block by typing ```c```
and then insert a b c to code block, like this

a
b
c

image

Then type ctrl + z to undo my operation. what i expect is only word ‘c’ is undo :

a
b

However, below is the result after i press ctrl + z :

image

Still happen in version 0.10.9
It‘s too terrible

The editor (including code blocks) are getting overhauled soon if I understood @tienson correctly.

As for bugs, it’s best to report them on GitHub. The devs don’t monitor the forum as much, so bug reports here will often go unnoticed.