Skip to content

Commit

Permalink
📝
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Sep 13, 2023
1 parent 1430540 commit 3936f3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/protyle/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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", () => {
Expand Down

0 comments on commit 3936f3b

Please sign in to comment.