Hi, my CM extension setup is plugins_codemirror-editor/web/element/extensions.ts at master · GerritCodeReview/plugins_codemirror-editor · GitHub. The issue I’m having is that when I get a piece of code to go onto a new line, it shows the previous line with whitespace (correct behaviour). Now when I press command + z to revert back to the previous text, it correctly does it but the whitespace stuff is still shown. It’s a bug since reloading the page gets rids of it.
If you can reduce this to a couple of lines of code on codemirror.net/try, I can take a look. If it only occurs with all that custom code loaded, the problem might not be in the library.