diff --git a/edit/codemirror-default.js b/edit/codemirror-default.js index db0e6083..db871726 100644 --- a/edit/codemirror-default.js +++ b/edit/codemirror-default.js @@ -186,7 +186,7 @@ const isNumber = type === 'number'; const isSpace = atSpace(ch); let wordChars = - isNumber ? /[-+\w.]/uy : + isNumber ? /[-+\w.%]/uy : isCss ? /[-\w@]/uy : isSpace ? /\s/uy : atWord(ch) ? /\w/uy : /[^\w\s]/uy;