Skip to content

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

:art: Find replace supports selecting element types https://github.com/siyuan-note/siyuan/issues/9895

Danielef6598eaf832
diff --git a/app/src/constants.ts b/app/src/constants.ts
index a96098e340..4ebeb78bcd 100644
--- a/app/src/constants.ts
+++ b/app/src/constants.ts
@@ -523,14 +523,14 @@ export abstract class Constants {
"text": true,
"img-text": true,
"img-title": true,
- "img-src": true,
+ "img-src": false,
"a-text": true,
"a-title": true,
- "a-href": true,
- "code": true,
+ "a-href": false,
+ "code": false,
"em": true,
"strong": true,
- "inline-math": true,
+ "inline-math": false,
"inline-memo": true,
"kbd": true,
"mark": true,
@@ -540,9 +540,9 @@ export abstract class Constants {
"tag": true,
"u": true,
"doc-title": true,
- "code-block": true,
- "math-block": true,
- "html-block": true
+ "code-block": false,
+ "math-block": false,
+ "html-block": false
};
// image