mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-28 11:16:09 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
c5e3a6ecf4
10 changed files with 62 additions and 35 deletions
|
|
@ -116,6 +116,14 @@ export const editor = {
|
|||
<span class="fn__space"></span>
|
||||
<input class="b3-switch fn__flex-center" id="codeSyntaxHighlightLineNum" type="checkbox"${window.siyuan.config.editor.codeSyntaxHighlightLineNum ? " checked" : ""}/>
|
||||
</label>
|
||||
<label class="fn__flex b3-label">
|
||||
<div class="fn__flex-1">
|
||||
${window.siyuan.languages.embedBlockBreadcrumb}
|
||||
<div class="b3-label__text">${window.siyuan.languages.embedBlockBreadcrumbTip}</div>
|
||||
</div>
|
||||
<span class="fn__space"></span>
|
||||
<input class="b3-switch fn__flex-center" id="embedBlockBreadcrumb" type="checkbox"${window.siyuan.config.editor.embedBlockBreadcrumb ? " checked" : ""}/>
|
||||
</label>
|
||||
<label class="fn__flex b3-label">
|
||||
<div class="fn__flex-1">
|
||||
${window.siyuan.languages.md33}
|
||||
|
|
@ -224,6 +232,7 @@ export const editor = {
|
|||
displayBookmarkIcon: (editor.element.querySelector("#displayBookmarkIcon") as HTMLInputElement).checked,
|
||||
displayNetImgMark: (editor.element.querySelector("#displayNetImgMark") as HTMLInputElement).checked,
|
||||
codeSyntaxHighlightLineNum: (editor.element.querySelector("#codeSyntaxHighlightLineNum") as HTMLInputElement).checked,
|
||||
embedBlockBreadcrumb: (editor.element.querySelector("#embedBlockBreadcrumb") as HTMLInputElement).checked,
|
||||
plantUMLServePath: (editor.element.querySelector("#plantUMLServePath") as HTMLInputElement).value,
|
||||
katexMacros: (editor.element.querySelector("#katexMacros") as HTMLTextAreaElement).value,
|
||||
codeLineWrap: (editor.element.querySelector("#codeLineWrap") as HTMLInputElement).checked,
|
||||
|
|
|
|||
1
app/src/types/index.d.ts
vendored
1
app/src/types/index.d.ts
vendored
|
|
@ -241,6 +241,7 @@ declare interface IEditor {
|
|||
displayBookmarkIcon: boolean;
|
||||
displayNetImgMark: boolean;
|
||||
codeSyntaxHighlightLineNum: boolean;
|
||||
embedBlockBreadcrumb: boolean;
|
||||
plantUMLServePath: string;
|
||||
codeLigatures: boolean;
|
||||
codeTabSpaces: number;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue