First line and paragraph can't be undo

I have an Angular project where we use CodeMirror inside with directive, and there’s a weird bug.
When you write something in the first paragraph of a file and you try to undo (Ctrl+Z) it doesn’t work, it works in other places in the file.

Any idea?

If this can only be reproduced inside ui-codemirror, I suggest you look there first. In CodeMirror itself, nothing that could cause this comes to mind.

1 Like

thank you, I will check.