Vanessa 2025-04-16 23:53:17 +08:00
parent 2c8d552d72
commit 7ded2d4077
2 changed files with 15 additions and 4 deletions

View file

@ -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);
}