Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/pull/15152 https://github.com/siyuan-note/siyuan/issues/9596

Vanessac45d8cf0bdac
diff --git a/app/src/assets/scss/component/_typography.scss b/app/src/assets/scss/component/_typography.scss
index efc98ce541..c23b8255c6 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 35601a9de2..3529d5ef71 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;