An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: Restore emoji hints in table cells https://github.com/siyuan-note/siyuan/issues/19934
Daniel85fb44f51626
diff --git a/app/src/protyle/render/tableCellRichEditor.ts b/app/src/protyle/render/tableCellRichEditor.tsindex cbd9e52b5f..6bae3c0a2a 100644--- a/app/src/protyle/render/tableCellRichEditor.ts+++ b/app/src/protyle/render/tableCellRichEditor.ts@@ -181,7 +181,8 @@ export const openTableCellRichEditor = async (owner: IProtyle, cell: HTMLTableCehintSlash(key, protyle, hintSource).filter(item => TABLE_CELL_SLASH_IDS.has(item.id)));const hint: IProtyleOptions["hint"] = {extend: [{key: "((", hint: hintRef}, {key: "【【", hint: hintRef}, {key: "((", hint: hintRef},- {key: "[[", hint: hintRef}, {key: "#", hint: hintTag}, {key: "/", hint: safeSlash}, {key: "、", hint: safeSlash}],+ {key: "[[", hint: hintRef}, {key: "#", hint: hintTag}, {key: "/", hint: safeSlash}, {key: "、", hint: safeSlash},+ {key: ":"}],};let finished = false;let composing = false;diff --git a/app/src/protyle/util/tableCellRichMenu.ts b/app/src/protyle/util/tableCellRichMenu.tsindex 14cfd10ab4..0ef98d9102 100644--- a/app/src/protyle/util/tableCellRichMenu.ts+++ b/app/src/protyle/util/tableCellRichMenu.ts@@ -1,5 +1,5 @@export const TABLE_CELL_SLASH_IDS = new Set(["ref", "heading1", "heading2", "heading3", "heading4", "heading5", "heading6", "list", "orderedList", "check","quote", "code", "math", "link", "bold", "italic", "underline", "strike", "mark", "sup", "sub", "inlineCode",- "kbd", "tag", "inlineMath",+ "kbd", "tag", "inlineMath", "emoji",]);