zsviczian / obsidian-excalidraw-plugin

A plugin to edit and view Excalidraw drawings in Obsidian
3.98k stars 214 forks source link

BUG: Key combinations don't work when using languages other than English. #1895

Open CyberUlitka opened 1 month ago

CyberUlitka commented 1 month ago

I use Cyrillic in my notes, and it's very painful to switch the keyboard layout just to get access to Ctrl+Z. I guess Excalidraw checks some kind of input text instead of seeing when I press the exact button, for example, Z, which on my keyboard is the letter Я. I don't have this problem in any of the existing editors, so I guess fixing this would not be a huge problem. Thank you so much for what you're doing!

zsviczian commented 1 month ago

yes. that is a known issue that also affects excalidraw.com. Unfortunately, there is not much I can do about it... but if you think it is an easy solution I welcome a PR to fix it. I don't think it is that easy, but I might be wrong. Check the English layout for the physical location of the key. The same key - independent of its mapping in your layout usually works.