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

Vanessa7e0c95c8c676
diff --git a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100950-9op5xi1.sy b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100950-9op5xi1.sy
index 530d9f423b..86b1c57f87 100644
--- a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100950-9op5xi1.sy
+++ b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100950-9op5xi1.sy
@@ -1330,7 +1330,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥1"
+ "TextMarkTextContent": "⌃1"
},
{
"Type": "NodeText",
@@ -1378,7 +1378,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥2"
+ "TextMarkTextContent": "⌃2"
},
{
"Type": "NodeText",
@@ -1426,7 +1426,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥3"
+ "TextMarkTextContent": "⌃3"
},
{
"Type": "NodeText",
@@ -1474,7 +1474,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥4"
+ "TextMarkTextContent": "⌃4"
},
{
"Type": "NodeText",
@@ -1522,7 +1522,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥5"
+ "TextMarkTextContent": "⌃5"
},
{
"Type": "NodeText",
@@ -1570,7 +1570,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥6"
+ "TextMarkTextContent": "⌃6"
},
{
"Type": "NodeText",
@@ -1618,7 +1618,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥7"
+ "TextMarkTextContent": "⌃7"
},
{
"Type": "NodeText",
@@ -1666,7 +1666,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥8"
+ "TextMarkTextContent": "⌃8"
},
{
"Type": "NodeText",
@@ -1714,7 +1714,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥9"
+ "TextMarkTextContent": "⌃9"
},
{
"Type": "NodeText",
@@ -1762,7 +1762,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥0"
+ "TextMarkTextContent": "⌃0"
},
{
"Type": "NodeText",
@@ -12526,4 +12526,4 @@
]
}
]
-}
\ No newline at end of file
+}
diff --git a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200813004551-gm0pbn1.sy b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200813004551-gm0pbn1.sy
index f79a529ae1..1a63de308c 100644
--- a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200813004551-gm0pbn1.sy
+++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200813004551-gm0pbn1.sy
@@ -1328,7 +1328,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥1"
+ "TextMarkTextContent": "⌃1"
},
{
"Type": "NodeText",
@@ -1376,7 +1376,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥2"
+ "TextMarkTextContent": "⌃2"
},
{
"Type": "NodeText",
@@ -1424,7 +1424,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥3"
+ "TextMarkTextContent": "⌃3"
},
{
"Type": "NodeText",
@@ -1472,7 +1472,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥4"
+ "TextMarkTextContent": "⌃4"
},
{
"Type": "NodeText",
@@ -1520,7 +1520,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥5"
+ "TextMarkTextContent": "⌃5"
},
{
"Type": "NodeText",
@@ -1568,7 +1568,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥6"
+ "TextMarkTextContent": "⌃6"
},
{
"Type": "NodeText",
@@ -1616,7 +1616,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥7"
+ "TextMarkTextContent": "⌃7"
},
{
"Type": "NodeText",
@@ -1664,7 +1664,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥8"
+ "TextMarkTextContent": "⌃8"
},
{
"Type": "NodeText",
@@ -1712,7 +1712,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥9"
+ "TextMarkTextContent": "⌃9"
},
{
"Type": "NodeText",
@@ -1760,7 +1760,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥0"
+ "TextMarkTextContent": "⌃0"
},
{
"Type": "NodeText",
@@ -12540,4 +12540,4 @@
}
}
]
-}
\ No newline at end of file
+}
diff --git a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226122549-jktxego.sy b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226122549-jktxego.sy
index 294f4d2fea..e760f61818 100644
--- a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226122549-jktxego.sy
+++ b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226122549-jktxego.sy
@@ -1321,7 +1321,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥1"
+ "TextMarkTextContent": "⌃1"
},
{
"Type": "NodeText",
@@ -1369,7 +1369,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥2"
+ "TextMarkTextContent": "⌃2"
},
{
"Type": "NodeText",
@@ -1417,7 +1417,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥3"
+ "TextMarkTextContent": "⌃3"
},
{
"Type": "NodeText",
@@ -1465,7 +1465,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥4"
+ "TextMarkTextContent": "⌃4"
},
{
"Type": "NodeText",
@@ -1513,7 +1513,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥5"
+ "TextMarkTextContent": "⌃5"
},
{
"Type": "NodeText",
@@ -1561,7 +1561,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥6"
+ "TextMarkTextContent": "⌃6"
},
{
"Type": "NodeText",
@@ -1609,7 +1609,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥7"
+ "TextMarkTextContent": "⌃7"
},
{
"Type": "NodeText",
@@ -1657,7 +1657,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥8"
+ "TextMarkTextContent": "⌃8"
},
{
"Type": "NodeText",
@@ -1705,7 +1705,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥9"
+ "TextMarkTextContent": "⌃9"
},
{
"Type": "NodeText",
@@ -1753,7 +1753,7 @@
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
- "TextMarkTextContent": "⌥0"
+ "TextMarkTextContent": "⌃0"
},
{
"Type": "NodeText",
@@ -13218,4 +13218,4 @@
}
}
]
-}
\ No newline at end of file
+}
diff --git a/app/src/constants.ts b/app/src/constants.ts
index 4b0176b44b..042e84e5d2 100644
--- a/app/src/constants.ts
+++ b/app/src/constants.ts
@@ -6,8 +6,7 @@ declare const NODE_ENV: string;
const _SIYUAN_VERSION = SIYUAN_VERSION;
const _NODE_ENV = NODE_ENV;
-// const altNumber = navigator.platform.toUpperCase().indexOf("MAC") === -1 ? "⌃" : "⌥";
-const altNumber = "⌥";
+const altNumber = navigator.platform.toUpperCase().indexOf("MAC") > -1 ? "⌃" : "⌥";
export abstract class Constants {
public static readonly SIYUAN_VERSION: string = _SIYUAN_VERSION;