diff --git a/app/src/assets/scss/export.scss b/app/src/assets/scss/export.scss index 4b596f4b7..2044d18e5 100644 --- a/app/src/assets/scss/export.scss +++ b/app/src/assets/scss/export.scss @@ -8,6 +8,7 @@ @import "switch"; @import "slider"; @import "dialog"; +@import "keyframes"; .protyle-wysiwyg a { color: var(--b3-protyle-inline-link-color); diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts index 20b4a16ec..6fa027da7 100644 --- a/app/src/protyle/export/index.ts +++ b/app/src/protyle/export/index.ts @@ -408,11 +408,12 @@ const renderPDF = (id: string) => { + - -
- + +
+
+
`)); fetchPost("/api/export/exportPreviewHTML", { diff --git a/app/src/protyle/toolbar/index.ts b/app/src/protyle/toolbar/index.ts index 7cae8a15d..6fa1c3e78 100644 --- a/app/src/protyle/toolbar/index.ts +++ b/app/src/protyle/toolbar/index.ts @@ -124,7 +124,7 @@ export class Toolbar { }); const types = this.getCurrentType(); types.forEach(item => { - if (["a", "block-ref", "text", "file-annotation-ref", "inline-math"].includes(item)) { + if (["a", "block-ref", "text", "file-annotation-ref", "inline-math", ""].includes(item)) { return; } this.element.querySelector(`[data-type="${item}"]`).classList.add("protyle-toolbar__item--current"); diff --git a/app/src/util/onGetConfig.ts b/app/src/util/onGetConfig.ts index 5923679b7..586e1ea48 100644 --- a/app/src/util/onGetConfig.ts +++ b/app/src/util/onGetConfig.ts @@ -148,7 +148,6 @@ export const onGetConfig = (isStart: boolean) => { resizeDrag(); }, 200); }); - if (window.siyuan.config.newbie) { mountHelp(); }