Skip to content

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

:art: Enable all find-replace types by default https://github.com/siyuan-note/siyuan/issues/13714

Danielc8f80b6afd21
diff --git a/app/src/constants.ts b/app/src/constants.ts
index 2741537022..e7d3a39abd 100644
--- a/app/src/constants.ts
+++ b/app/src/constants.ts
@@ -657,17 +657,17 @@ export abstract class Constants {
"text": true,
"imgText": true,
"imgTitle": true,
- "imgSrc": false,
+ "imgSrc": true,
"aText": true,
"aTitle": true,
- "aHref": false,
- "code": false,
+ "aHref": true,
+ "code": true,
"em": true,
"strong": true,
- "inlineMath": false,
+ "inlineMath": true,
"inlineMemo": true,
- "blockRef": false,
- "fileAnnotationRef": false,
+ "blockRef": true,
+ "fileAnnotationRef": true,
"kbd": true,
"mark": true,
"s": true,
@@ -676,9 +676,9 @@ export abstract class Constants {
"tag": true,
"u": true,
"docTitle": true,
- "codeBlock": false,
- "mathBlock": false,
- "htmlBlock": false
+ "codeBlock": true,
+ "mathBlock": true,
+ "htmlBlock": true
};
// image