mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
This commit is contained in:
parent
9edcd3f3a7
commit
9cb6e9ec25
10 changed files with 198 additions and 118 deletions
|
|
@ -33,6 +33,7 @@ import {escapeHtml} from "../util/escape";
|
|||
import {isWindow} from "../util/functions";
|
||||
import {hideAllElements} from "../protyle/ui/hideElements";
|
||||
import {focusByOffset, getSelectionOffset} from "../protyle/util/selection";
|
||||
import {Custom} from "./dock/Custom";
|
||||
|
||||
export class Wnd {
|
||||
public id: string;
|
||||
|
|
@ -646,6 +647,9 @@ export class Wnd {
|
|||
model.pdfObject.pdfLoadingTask.destroy();
|
||||
}
|
||||
}
|
||||
if (model instanceof Custom) {
|
||||
model.destroy();
|
||||
}
|
||||
model.send("closews", {});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue