Skip to content

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

:bug: Preserve table cell backgrounds and resume slash reference suggestions https://github.com/siyuan-note/siyuan/issues/19188

Daniel154761e040fb
diff --git a/app/src/assets/scss/protyle/_protyle.scss b/app/src/assets/scss/protyle/_protyle.scss
index d489491795..56899c8fca 100644
--- a/app/src/assets/scss/protyle/_protyle.scss
+++ b/app/src/assets/scss/protyle/_protyle.scss
@@ -860,6 +860,10 @@
min-height: 0;
white-space: normal;
+ &.protyle {
+ background-color: transparent;
+ }
+
.protyle-content {
overflow: visible;
}
diff --git a/app/src/protyle/hint/index.ts b/app/src/protyle/hint/index.ts
index e559990d33..08c8b1b3c0 100644
--- a/app/src/protyle/hint/index.ts
+++ b/app/src/protyle/hint/index.ts
@@ -872,6 +872,10 @@ ${genHintItemHTML(item)}
} else if (this.splitChar === "/" || this.splitChar === "、") {
if (protyle.lite) {
insertHTML(value, protyle, false, false, false, undefined, undoContext);
+ if (Constants.BLOCK_HINT_KEYS.includes(value)) {
+ this.enableExtend = true;
+ this.render(protyle);
+ }
} else if (value === "((" || value === "{{") {
this.enableExtend = true;
if (value === "((") {