@@ -896,7 +896,11 @@ class PluginSnippets extends siyuan__WEBPACK_IMPORTED_MODULE_2__.Plugin {
896896 window.siyuan.jcsm[item.key] = value;
897897 });
898898 }
899- // \u521B\u5EFA\u8BBE\u7F6E\u9879
899+ /**
900+ * \u521B\u5EFA\u8BBE\u7F6E\u9879
901+ * @param item \u914D\u7F6E\u9879
902+ * @returns \u8BBE\u7F6E\u9879
903+ */
900904 createSettingItem(item) {
901905 if (!item.direction) {
902906 item.direction = "column";
@@ -1702,7 +1706,7 @@ class PluginSnippets extends siyuan__WEBPACK_IMPORTED_MODULE_2__.Plugin {
17021706 /**
17031707 * \u6839\u636E ID \u83B7\u53D6\u4EE3\u7801\u7247\u6BB5\uFF08\u526F\u4F5C\u7528\u662F\u66F4\u65B0 this.snippetsList \uFF09
17041708 * @param id \u4EE3\u7801\u7247\u6BB5 ID
1705- * @returns \u4EE3\u7801\u7247\u6BB5
1709+ * @returns \u4EE3\u7801\u7247\u6BB5 | false
17061710 */
17071711 getSnippetById(id) {
17081712 return __async(this, null, function* () {
@@ -1717,7 +1721,7 @@ class PluginSnippets extends siyuan__WEBPACK_IMPORTED_MODULE_2__.Plugin {
17171721 }
17181722 /**
17191723 * \u83B7\u53D6\u4EE3\u7801\u7247\u6BB5\u5217\u8868
1720- * @returns \u4EE3\u7801\u7247\u6BB5\u5217\u8868
1724+ * @returns \u4EE3\u7801\u7247\u6BB5\u5217\u8868 | false
17211725 */
17221726 getSnippetsList() {
17231727 return __async(this, null, function* () {
@@ -1831,7 +1835,7 @@ class PluginSnippets extends siyuan__WEBPACK_IMPORTED_MODULE_2__.Plugin {
18311835 * \u751F\u6210\u4EE3\u7801\u7247\u6BB5\u7F16\u8F91\u5BF9\u8BDD\u6846
18321836 * @param snippet \u4EE3\u7801\u7247\u6BB5
18331837 * @param confirmText \u786E\u8BA4\u6309\u94AE\u7684\u6587\u6848
1834- *
1838+ * @returns \u4EE3\u7801\u7247\u6BB5\u7F16\u8F91\u5BF9\u8BDD\u6846 HTML \u5B57\u7B26\u4E32
18351839 */
18361840 genSnippetEditDialog(snippet, confirmText = this.i18n.save) {
18371841 return \`
0 commit comments