build: vendor CodeMirror 5.65.16 for the source editor
This commit is contained in:
17
assets/codemirror/README.md
Normal file
17
assets/codemirror/README.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# CodeMirror 5.65.16 (vendored)
|
||||
|
||||
MIT-licensed source editor used only in edit mode. Nothing here is loaded at
|
||||
startup: Rust injects the concatenated bundle the first time the page asks for
|
||||
it (`need-editor` IPC), then calls `window.__mdpOnEditorSource()`.
|
||||
|
||||
Files are the minified builds from the cdnjs 5.65.16 package
|
||||
(`https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.16/`):
|
||||
|
||||
- `codemirror.min.js`, `codemirror.min.css`
|
||||
- `mode/xml/xml.min.js`, `mode/meta.min.js`, `mode/markdown/markdown.min.js`
|
||||
- `addon/search/searchcursor.min.js`, `addon/search/search.min.js`
|
||||
- `addon/dialog/dialog.min.js`, `addon/dialog/dialog.css`
|
||||
- `addon/fold/foldcode.min.js`, `addon/fold/foldgutter.min.js`, `addon/fold/foldgutter.css`
|
||||
|
||||
See `LICENSE` for the upstream license. Keep this directory offline-only; do
|
||||
not point the page at a CDN.
|
||||
Reference in New Issue
Block a user