Skip to content

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

:art: fix https://github.com/siyuan-note/siyuan/issues/9844

Vanessa7742223828d7
diff --git a/app/src/assets/scss/component/_typography.scss b/app/src/assets/scss/component/_typography.scss
index cb3c08c025..93710653f8 100644
--- a/app/src/assets/scss/component/_typography.scss
+++ b/app/src/assets/scss/component/_typography.scss
@@ -406,10 +406,6 @@
max-width: 100%;
user-select: none;
- &:not([style]) {
- display: initial;
- }
-
& > span:nth-child(2) {
max-width: calc(100% - 10px);
position: relative;
diff --git a/app/src/assets/scss/protyle/_wysiwyg.scss b/app/src/assets/scss/protyle/_wysiwyg.scss
index 7118dd4607..0f0ca47dbc 100644
--- a/app/src/assets/scss/protyle/_wysiwyg.scss
+++ b/app/src/assets/scss/protyle/_wysiwyg.scss
@@ -294,6 +294,11 @@
}
.img {
+ // 不能放在 typography 下 https://github.com/siyuan-note/siyuan/issues/9844
+ &:not([style]) {
+ display: initial;
+ }
+
&--select {
filter: brightness(0.68);
}