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.
When
Ctrl+B
is pressed, bold mode is enabled. When you pressCtrl+B
again, the bold mode is disabled.However, this does not work for some keyboard layouts. When I press
Ctrl+B
(orCtrl+I
for italics) in the Russian layout, only the next letter becomes bold. For example, you type "АБВ", pressCtrl+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.