How can I disable mouse usage in codemirror.
I want it to behave like vim editor where the user cannot move anywhere using the mouse.
Thanks in advance.
How about using pointer-events: none;
on the editor container?
.CodeMirror {
pointer-events: none;
}
pointer-events
reference on MDN