🎨 为主题提供样式基础

This commit is contained in:
Vanessa 2022-09-01 22:20:43 +08:00
parent 0c6a486fa2
commit b79bc50b44
5 changed files with 19 additions and 17 deletions

View file

@ -36,7 +36,7 @@ const focusStack = (backStack: IBackStack) => {
id: backStack.id,
}, (response) => {
(document.getElementById("toolbarName") as HTMLInputElement).value = response.data.name === "Untitled" ? "" : response.data.name;
protyle.background.render(response.data.ial);
protyle.background.render(response.data.ial, protyle.block.rootID);
protyle.wysiwyg.renderCustom(response.data.ial);
});
}