1 file changed
+1
-1
@@ -233,7 +233,7 @@ overflow-hidden focus-within:border-black focus-within:dark:border-white transit
|
|||||||
bind:item={textArea}
|
bind:item={textArea}
|
||||||
on:keydown={(e) => {
|
on:keydown={(e) => {
|
||||||
if (disabled) return
|
if (disabled) return
|
||||||
if (e.ctrlKey) {
|
if (e.ctrlKey || e.metaKey) {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
let shortcut = shortcuts[e.code]
|
let shortcut = shortcuts[e.code]
|
||||||
if (shortcut) {
|
if (shortcut) {
|
||||||
|
|||||||
Reference in new issue
Block a user