From b91331644c013332f5f75439f44dd3603a580bc6 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 10 Dec 2022 11:45:53 +0800 Subject: [PATCH] :lipstick: --- app/src/config/index.ts | 2 +- app/src/protyle/toolbar/index.ts | 6 +++--- app/src/protyle/wysiwyg/index.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/config/index.ts b/app/src/config/index.ts index 1efdb98d5..5d1a45e62 100644 --- a/app/src/config/index.ts +++ b/app/src/config/index.ts @@ -25,7 +25,7 @@ export const openSetting = () => { const height = Math.min(window.innerHeight * .9, Math.max(window.innerHeight * .7, 52 * 11)); const dialog = new Dialog({ content: `
-
+
  • ${window.siyuan.languages.editor}
  • diff --git a/app/src/protyle/toolbar/index.ts b/app/src/protyle/toolbar/index.ts index 2f90247bb..d7bb167c9 100644 --- a/app/src/protyle/toolbar/index.ts +++ b/app/src/protyle/toolbar/index.ts @@ -1272,7 +1272,7 @@ export class Toolbar { this.subElement.style.width = ""; this.subElement.style.padding = ""; this.subElement.innerHTML = `
    -
    +
    ${html}
    @@ -1423,7 +1423,7 @@ export class Toolbar { }, (response) => { let html = ""; response.data.forEach((item: { hName: string, path: string }, index: number) => { - html += `
    ${item.hName}
    `; + html += `
    ${item.hName}
    `; }); if (html === "") { html = `
  • ${window.siyuan.languages.emptyContent}
  • `; @@ -1431,7 +1431,7 @@ export class Toolbar { this.subElement.style.width = ""; this.subElement.style.padding = ""; this.subElement.innerHTML = `
    -
    +
    ${html}
    diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index 5d510dc8c..9596cacd6 100644 --- a/app/src/protyle/wysiwyg/index.ts +++ b/app/src/protyle/wysiwyg/index.ts @@ -823,7 +823,7 @@ export class WYSIWYG { }).element); window.siyuan.menus.menu.append(new MenuItem({type: "separator"}).element); window.siyuan.menus.menu.append(new MenuItem({ - label: window.siyuan.languages.remove, + label: window.siyuan.languages.clear, icon: "iconTrashcan", click() { if (tableBlockElement) {