mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
This commit is contained in:
@@ -294,7 +294,7 @@ export class Protyle {
|
||||
|
||||
private onTransaction(data: IWebSocketData) {
|
||||
if (!this.protyle.preview.element.classList.contains("fn__none") &&
|
||||
data.context.rootIDs.includes(this.protyle.block.rootID)) {
|
||||
data.context?.rootIDs?.includes(this.protyle.block.rootID)) {
|
||||
this.protyle.preview.render(this.protyle);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user