We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2391f9 commit 87ab41cCopy full SHA for 87ab41c
packages/ckeditor5-math/src/ui/mathinputview.ts
@@ -203,10 +203,14 @@ export default class MathInputView extends View {
203
// Inline shortcut configuration is optional; ignore failures to avoid breaking the math field.
204
}
205
mf.addEventListener( 'keydown', ev => {
206
- if ( ev.key === 'Tab' && !ev.shiftKey ) {
207
- ev.preventDefault();
208
- ev.stopImmediatePropagation();
209
- this.latexTextAreaView.focus();
+ if ( ev.key === 'Tab' ) {
+ if ( ev.shiftKey ) {
+ ev.preventDefault();
+ } else {
210
211
+ ev.stopImmediatePropagation();
212
+ this.latexTextAreaView.focus();
213
+ }
214
215
}, { capture: true } );
216
mf.addEventListener( 'input', () => {
0 commit comments