diff --git a/public/js/lib/editor/index.js b/public/js/lib/editor/index.js index 65b34a68e..da2aafe2d 100644 --- a/public/js/lib/editor/index.js +++ b/public/js/lib/editor/index.js @@ -1,3 +1,4 @@ +/* global CodeMirror, inlineAttachment, editor, Cookies */ import '@hedgedoc/codemirror-5/addon/comment/comment.js' import '@hedgedoc/codemirror-5/addon/comment/continuecomment.js' import '@hedgedoc/codemirror-5/addon/dialog/dialog.js' diff --git a/public/js/lib/editor/utils.js b/public/js/lib/editor/utils.js index 3d799267a..657ca2f49 100644 --- a/public/js/lib/editor/utils.js +++ b/public/js/lib/editor/utils.js @@ -1,3 +1,4 @@ +/* global CodeMirror, editor */ const wrapSymbols = ['*', '_', '~', '^', '+', '='] export function wrapTextWith (editor, cm, symbol) {