mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-21 15:56:10 +01:00
This commit is contained in:
parent
a088cf8706
commit
167cce0a05
1 changed files with 1 additions and 3 deletions
|
|
@ -160,9 +160,7 @@ export class Protyle {
|
|||
break;
|
||||
case "transactions":
|
||||
data.data[0].doOperations.find((item: IOperation) => {
|
||||
if (!this.protyle.preview.element.classList.contains("fn__none") &&
|
||||
item.action !== "updateAttrs" // 预览模式下点击只读
|
||||
) {
|
||||
if (!this.protyle.preview.element.classList.contains("fn__none")) {
|
||||
this.protyle.preview.render(this.protyle);
|
||||
} else if (options.backlinkData && ["delete", "move"].includes(item.action)) {
|
||||
// 只对特定情况刷新,否则展开、编辑等操作刷新会频繁
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue