Use codemirror-extension.