From 3936f3b9aa735a4e66492949346a097ec6e57038 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 13 Sep 2023 12:10:58 +0800 Subject: [PATCH] :memo: --- app/src/protyle/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/index.ts b/app/src/protyle/index.ts index 1a4ec9ea5..c2c0c6748 100644 --- a/app/src/protyle/index.ts +++ b/app/src/protyle/index.ts @@ -301,7 +301,7 @@ export class Protyle { }); /// #endif } - resize(this.protyle); + resize(this.protyle); // 需等待 fullwidth 获取后设定完毕再重新计算 padding 和元素 // 需等待 getDoc 完成后再执行,否则在无页签的时候 updatePanelByEditor 会执行2次 // 只能用 focusin,否则点击表格无法执行 this.protyle.wysiwyg.element.addEventListener("focusin", () => {