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/issues/17800

Vanessab9b03a6a5a50
diff --git a/app/src/assets/scss/protyle/_wysiwyg.scss b/app/src/assets/scss/protyle/_wysiwyg.scss
index 69f176ba88..2010e0b20b 100644
--- a/app/src/assets/scss/protyle/_wysiwyg.scss
+++ b/app/src/assets/scss/protyle/_wysiwyg.scss
@@ -755,7 +755,7 @@
.protyle-wysiwyg[data-readonly="false"] {
span[data-type~="inline-math"],
.protyle-action__language,
- .render-node {
+ .render-node:not([data-type="NodeBlockQueryEmbed"]) {
cursor: pointer;
}
@@ -788,14 +788,6 @@
opacity: .86;
}
- .render-node .img:hover .protyle-icons,
- .render-node .render-node:hover > .protyle-icons,
- // https://github.com/siyuan-note/siyuan/issues/11879
- .protyle-wysiwyg__embed .img:hover .protyle-action__drag,
- .protyle-wysiwyg__embed .iframe:hover .protyle-action__drag {
- display: none;
- }
-
.callout-icon {
cursor: pointer;
transition: var(--b3-background-transition);
@@ -815,8 +807,7 @@
}
.protyle-wysiwyg:not([contenteditable]),
-.protyle-wysiwyg[data-readonly="true"],
-.protyle-wysiwyg__embed {
+.protyle-wysiwyg[data-readonly="true"] {
.img:hover .protyle-icons {
display: none;
}