mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 01:20:12 +01:00
This commit is contained in:
parent
083f20357d
commit
ac662902d1
3 changed files with 31 additions and 3 deletions
|
|
@ -114,6 +114,16 @@ export const afterLoadPlugin = (plugin: Plugin) => {
|
|||
}
|
||||
});
|
||||
}
|
||||
/// #if !MOBILE
|
||||
plugin.statusBarIcons.forEach(element => {
|
||||
const statusElement = document.getElementById("status")
|
||||
if (element.getAttribute("data-position") === "right") {
|
||||
statusElement.insertAdjacentElement("beforeend", element);
|
||||
} else {
|
||||
statusElement.insertAdjacentElement("afterbegin", element);
|
||||
}
|
||||
});
|
||||
/// #endif
|
||||
if (isWindow()) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue