mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-22 23:14:07 +01:00
This commit is contained in:
parent
7154879ddc
commit
806ca9f213
3 changed files with 9 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ import {fetchPost} from "../util/fetch";
|
|||
import {isMobile, isWindow} from "../util/functions";
|
||||
/// #if !MOBILE
|
||||
import {Custom} from "../layout/dock/Custom";
|
||||
import {getAllModels} from "../layout/getAll";
|
||||
import {getAllEditor, getAllModels} from "../layout/getAll";
|
||||
import {Tab} from "../layout/Tab";
|
||||
import {resizeTopBar, setPanelFocus} from "../layout/util";
|
||||
import {getDockByType} from "../layout/tabUtil";
|
||||
|
|
@ -121,6 +121,9 @@ export class Plugin {
|
|||
uninstall(this.app, this.name, false);
|
||||
loadPlugins(this.app, [this.name], false).then(() => {
|
||||
afterLoadPlugin(this);
|
||||
getAllEditor().forEach(editor => {
|
||||
editor.protyle.toolbar.update(editor.protyle);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue