From fc519b89ef503b6cd907fce58522da8a4fe3519c Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 16 Oct 2022 00:15:53 +0800 Subject: [PATCH] :rotating_light: --- app/src/protyle/toolbar/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/toolbar/index.ts b/app/src/protyle/toolbar/index.ts index dbb8efafb..e2988f0dc 100644 --- a/app/src/protyle/toolbar/index.ts +++ b/app/src/protyle/toolbar/index.ts @@ -613,7 +613,7 @@ export class Toolbar { // 需进行 mergeNode ,否用 alt+x 为相同颜色 aaabbb 中的 bbb 再次赋值后无法选中 this.range.setEnd(previousElement.firstChild, previousElement.firstChild.textContent.length); } - let needFocus = true + let needFocus = true; if (type === "inline-math") { mathRender(nodeElement); if (selectText === "") {