CodeMirror 6 code_block in ProseMirror focus bug

I try to bind codemirror6 with prosemirror two month ago. And I make some updates recently. Hope it can give you some hints.

Problems when binding with codemirror6

For your focus bug, add the update method of NodeView will fix it. But you still need to do some extra jobs in update method.

1 Like