Issue 6961: CodeMirror Editor lose focus on multi-lines mode