SOLVED: Can't type after hard break

I’m not seeing anything suspicious in that code. Does the same problem occur for you in the example editor on https://prosemirror.net? If not, I guess you’ll have to figure out what is different in your setup versus the prosemirror-example-setup package.