From 9029c5f4971880fcca53756e8605a34aafaa64f2 Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Thu, 24 Mar 2022 09:29:30 +0100 Subject: [PATCH] Fix cursor sometimes not being moved into mathjax editor (#1737) --- ts/editable/frame-handle.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/editable/frame-handle.ts b/ts/editable/frame-handle.ts index 5392579cf..577ea266f 100644 --- a/ts/editable/frame-handle.ts +++ b/ts/editable/frame-handle.ts @@ -299,7 +299,7 @@ export function checkHandles(): void { const selection = getSelection(handle)!; if (selection.rangeCount === 0) { - return; + continue; } checkWhetherMovingIntoHandle(selection, handle);