Load codemirror and codemirror-spell-checker without script-loader

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2021-06-03 22:54:03 +02:00
parent 23fa44cd36
commit e17cc6440f
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
3 changed files with 118 additions and 76 deletions

View file

@ -1,9 +1,10 @@
/* eslint-env browser, jquery */
/* eslint no-console: ["error", { allow: ["warn", "error", "debug"] }] */
/* global CodeMirror, Cookies, moment, Idle, serverurl,
/* global Cookies, moment, Idle, serverurl,
key, Dropbox, ot, hex2rgb, Visibility */
import TurndownService from 'turndown'
import CodeMirror from 'codemirror/lib/codemirror.js'
import { saveAs } from 'file-saver'
import randomColor from 'randomcolor'