We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3925d5d commit e9bf86eCopy full SHA for e9bf86e
app/src/protyle/util/onGet.ts
@@ -92,8 +92,10 @@ export const onGet = (options: {
92
if (options.protyle.options.render.title) {
93
// 页签没有打开
94
options.protyle.title.render(options.protyle, response);
95
- } else if (options.protyle.options.render.background) {
96
- options.protyle.background.render(response.data.ial, options.protyle.block.rootID);
+ } else {
+ if (options.protyle.options.render.background) {
97
+ options.protyle.background.render(response.data.ial, options.protyle.block.rootID);
98
+ }
99
options.protyle.wysiwyg.renderCustom(response.data.ial);
100
}
101
0 commit comments