mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-19 05:28:07 +01:00
This commit is contained in:
parent
2c8d552d72
commit
7ded2d4077
2 changed files with 15 additions and 4 deletions
|
|
@ -41,7 +41,7 @@ export const loadPlugins = async (app: App, names?: string[]) => {
|
|||
});
|
||||
const pluginsStyle = document.getElementById("pluginsStyle");
|
||||
if (pluginsStyle) {
|
||||
pluginsStyle.innerHTML = css;
|
||||
pluginsStyle.insertAdjacentHTML("afterend", css);
|
||||
} else {
|
||||
document.head.insertAdjacentHTML("beforeend", css);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue