Skip to content

Commit

Permalink
🐛 The Allow execution of scripts within HTML blocks option cannot b…
Browse files Browse the repository at this point in the history
…e enabled on mobile #12744
  • Loading branch information
88250 committed Oct 10, 2024
1 parent b0d5725 commit 5e657df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/mobile/settings/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const setEditor = (modelMainElement: Element) => {
inlineTag: (modelMainElement.querySelector("#editorMarkdownInlineTag") as HTMLInputElement).checked,
inlineMath: (modelMainElement.querySelector("#editorMarkdownInlineMath") as HTMLInputElement).checked
};
window.siyuan.config.editor.allowHTMLBLockScript = (modelMainElement.querySelector("#allowHTMLBLockScript") as HTMLInputElement).checked;
window.siyuan.config.editor.dynamicLoadBlocks = dynamicLoadBlocks;
window.siyuan.config.editor.justify = (modelMainElement.querySelector("#justify") as HTMLInputElement).checked;
window.siyuan.config.editor.rtl = (modelMainElement.querySelector("#rtl") as HTMLInputElement).checked;
Expand Down

0 comments on commit 5e657df

Please sign in to comment.