From 32ab7b52af64dd33bc6b4146c3674adca19bcf88 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 13 Jan 2023 16:16:11 +0800 Subject: [PATCH] :lipstick: --- app/src/assets/scss/base.scss | 1 + app/src/protyle/wysiwyg/remove.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/assets/scss/base.scss b/app/src/assets/scss/base.scss index bdcfb43a8..15fc12d48 100644 --- a/app/src/assets/scss/base.scss +++ b/app/src/assets/scss/base.scss @@ -264,6 +264,7 @@ progressLoading: 400 } &__text { + font-size: 12px; max-width: 96px; overflow: hidden; text-overflow: ellipsis; diff --git a/app/src/protyle/wysiwyg/remove.ts b/app/src/protyle/wysiwyg/remove.ts index 58ff479c7..8e52cd8d7 100644 --- a/app/src/protyle/wysiwyg/remove.ts +++ b/app/src/protyle/wysiwyg/remove.ts @@ -447,7 +447,7 @@ export const removeBlock = (protyle: IProtyle, blockElement: Element, range: Ran if (editableElement && editableElement.textContent !== "") { // 非空块 range.setEndAfter(editableElement.lastChild); - // 数学公式会车后再删除 https://github.com/siyuan-note/siyuan/issues/3850 + // 数学公式回车后再删除 https://github.com/siyuan-note/siyuan/issues/3850 if ((previousLastEditElement?.lastElementChild?.getAttribute("data-type") || "").indexOf("inline-math") > -1) { const lastSibling = hasNextSibling(previousLastEditElement?.lastElementChild); if (lastSibling && lastSibling.textContent === "\n") {