handle double-click between number and %
This commit is contained in:
parent
9f00e5a2f7
commit
9279390e8c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user