From c45d8cf0bdac56a9ca6e6e099bf2f5f688d902a8 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 28 Jun 2025 11:45:07 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/pull/15152 https://github.com/siyuan-note/siyuan/issues/9596 --- app/src/assets/scss/component/_typography.scss | 1 - app/src/assets/scss/protyle/_wysiwyg.scss | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/assets/scss/component/_typography.scss b/app/src/assets/scss/component/_typography.scss index efc98ce54..c23b8255c 100644 --- a/app/src/assets/scss/component/_typography.scss +++ b/app/src/assets/scss/component/_typography.scss @@ -436,7 +436,6 @@ vertical-align: top; // https://ld246.com/article/1647522074722 margin: 0 auto; max-width: 100%; - // user-select: none; 会导致图片无法复制 https://github.com/siyuan-note/siyuan/issues/15151 word-break: keep-all; white-space: nowrap; diff --git a/app/src/assets/scss/protyle/_wysiwyg.scss b/app/src/assets/scss/protyle/_wysiwyg.scss index 35601a9de..3529d5ef7 100644 --- a/app/src/assets/scss/protyle/_wysiwyg.scss +++ b/app/src/assets/scss/protyle/_wysiwyg.scss @@ -409,6 +409,8 @@ } .img { + + user-select: none; // 不能放在 typography 下 https://github.com/siyuan-note/siyuan/issues/9844 &:not([style]) { display: initial;