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/11879

Vanessa0883b63910c0
diff --git a/app/src/assets/scss/protyle/_wysiwyg.scss b/app/src/assets/scss/protyle/_wysiwyg.scss
index e392561b25..ceb44c50aa 100644
--- a/app/src/assets/scss/protyle/_wysiwyg.scss
+++ b/app/src/assets/scss/protyle/_wysiwyg.scss
@@ -200,7 +200,7 @@
border-bottom: 1px solid;
color: var(--b3-protyle-inline-tag-color);
transition: var(--b3-transition);
- cursor: pointer; // 预览导出无此元素,只读和编辑状态都需要点击 https://github.com/siyuan-note/siyuan/issues/11854
+ cursor: pointer; // 预览导出无此元素,只读和编辑状态都需要点击 https://github.com/siyuan-note/siyuan/issues/11854
}
span[data-type~="a"] {
@@ -637,7 +637,10 @@
}
.render-node .img:hover .protyle-icons,
- .render-node .render-node: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;
}
}