This repository was archived by the owner on Aug 23, 2020. It is now read-only.

Description
CodeMirrors ships with builtin plain text mode (no syntax highlight, nothing but just bare editor). You can set mode to null or text/plain to get it as described by CodeMirrors author at codemirror/codemirror5#1267.
When I set mode to null via CODEMIRROR_MODE settings or via CodeMirrorTextarea widget constructor, django-codemirror-widget generates non-existing path to mode/none/none.js like <script src="<CODEMIRROR_PATH>/mode/none/none.js">.
How to get "null" mode with django-codemirror-widget?
PS: IMHO default mode shouldn't be JavaScript but none. Your opinions?