🐛 The Allow execution of scripts within HTML blocks
option cannot be enabled on mobile https://github.com/siyuan-note/siyuan/issues/12744
This commit is contained in:
parent
b0d5725465
commit
5e657df015
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue