Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CodeMirrorEditor for JupyterLab support
Modified the regexp used to detect the CodeMirror root element during CodeMirror detection. Now it checks to make sure the class it is looking for *starts* with CodeMirror, as opposed to just containing “CodeMirror”. This prevents it from matching `jp-CodeMirrorEditor`, which is a Jupyter wrapper class that doesn’t expose the correct API.
- Loading branch information