mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-10 01:22:52 +08:00
This commit is contained in:
parent
174eb89910
commit
ca38d2dc9a
@ -173,6 +173,14 @@ export const editor = {
|
||||
<span class="fn__space"></span>
|
||||
<input class="b3-text-field fn__flex-center fn__size200" id="plantUMLServePath" value="${window.siyuan.config.editor.plantUMLServePath}"/>
|
||||
</label>
|
||||
<label class="fn__flex b3-label">
|
||||
<div class="fn__flex-1">
|
||||
${window.siyuan.languages.dynamicLoadBlocks}
|
||||
<div class="b3-label__text">${window.siyuan.languages.dynamicLoadBlocksTip}</div>
|
||||
</div>
|
||||
<span class="fn__space"></span>
|
||||
<input class="b3-text-field fn__flex-center fn__size200" id="dynamicLoadBlocks" type="number" min="128" max="1024" value="${window.siyuan.config.editor.dynamicLoadBlocks}"/>
|
||||
</label>
|
||||
<label class="fn__flex b3-label">
|
||||
<div class="fn__flex-1">
|
||||
${window.siyuan.languages.md37}
|
||||
@ -269,6 +277,7 @@ export const editor = {
|
||||
virtualBlockRefInclude: (editor.element.querySelector("#virtualBlockRefInclude") as HTMLInputElement).value,
|
||||
virtualBlockRefExclude: (editor.element.querySelector("#virtualBlockRefExclude") as HTMLInputElement).value,
|
||||
blockRefDynamicAnchorTextMaxLen: parseInt((editor.element.querySelector("#blockRefDynamicAnchorTextMaxLen") as HTMLInputElement).value),
|
||||
dynamicLoadBlocks: parseInt((editor.element.querySelector("#dynamicLoadBlocks") as HTMLInputElement).value),
|
||||
codeLigatures: (editor.element.querySelector("#codeLigatures") as HTMLInputElement).checked,
|
||||
codeTabSpaces: parseInt((editor.element.querySelector("#codeTabSpaces") as HTMLInputElement).value),
|
||||
fontSize: parseInt((editor.element.querySelector("#fontSize") as HTMLInputElement).value),
|
||||
|
1
app/src/types/index.d.ts
vendored
1
app/src/types/index.d.ts
vendored
@ -248,6 +248,7 @@ declare interface IEditor {
|
||||
katexMacros: string;
|
||||
fullWidth: boolean;
|
||||
floatWindowMode: number;
|
||||
dynamicLoadBlocks: number;
|
||||
fontSize: number;
|
||||
generateHistoryInterval: number;
|
||||
historyRetentionDays: number;
|
||||
|
Loading…
Reference in New Issue
Block a user