Fix: support cyrillic characters in quicklaunch (#3020)

pull/3016/head
shamoon 2 months ago committed by GitHub
parent abce57379d
commit 68e4b98ddb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -225,7 +225,7 @@ function Home({ initialSettings }) {
if (e.target.tagName === "BODY" || e.target.id === "inner_wrapper") {
if (
(e.key.length === 1 &&
e.key.match(/(\w|\s|[à-ü]|[À-Ü])/g) &&
e.key.match(/(\w|\s|[à-ü]|[À-Ü]|[\w\u0430-\u044f])/gi) &&
!(e.altKey || e.ctrlKey || e.metaKey || e.shiftKey)) ||
e.key.match(/([à-ü]|[À-Ü])/g) || // accented characters may require modifier keys
(e.key === "v" && (e.ctrlKey || e.metaKey))

Loading…
Cancel
Save