Vanessa 2 лет назад
Родитель
Сommit
fc519b89ef
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/src/protyle/toolbar/index.ts

+ 1 - 1
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 === "") {