mirror of
https://github.com/excalidraw/excalidraw.git
synced 2026-12-03 18:11:17 +03:00
fix: indenting via tab clashing with IME compositor (#6258)
This commit is contained in:
1 parent
5368ddef74
commit
1e816e87bf
1 file changed
+3
-1
@@ -463,7 +463,9 @@ export const textWysiwyg = ({
|
||||
event.code === CODES.BRACKET_RIGHT))
|
||||
) {
|
||||
event.preventDefault();
|
||||
if (event.shiftKey || event.code === CODES.BRACKET_LEFT) {
|
||||
if (event.isComposing) {
|
||||
return;
|
||||
} else if (event.shiftKey || event.code === CODES.BRACKET_LEFT) {
|
||||
outdent();
|
||||
} else {
|
||||
indent();
|
||||
|
||||
Reference in new issue
Block a user