typewriter-editor / typewriter

A rich text editor based off of Quill.js and Ultradom, and using Svelte for UI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some keyboard layouts are not working properly

raitonoberu opened this issue · comments

commented

When Ctrl+B is pressed, bold mode is enabled. When you press Ctrl+B again, the bold mode is disabled.

However, this does not work for some keyboard layouts. When I press Ctrl+B (or Ctrl+I for italics) in the Russian layout, only the next letter becomes bold. For example, you type "АБВ", press Ctrl+B, type "ГДЕ" and this gives you "АБВГДЕ" (only Г is bold). I hope this is clear enough 😅

I also tried to change the layout to Hindi, and it has the same bug. I'm using Windows 10 & Chrome, same problem on dabblewriter.com. Usual contenteditable works fine (zenpen.io).

--
Otherwise, this library is just amazing, exactly what I was looking for. Thank you so much.