Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: update task complete
Steven0b6f24a21ae0
diff --git a/web/src/components/MemoEditor/Editor/index.tsx b/web/src/components/MemoEditor/Editor/index.tsxindex b55b0aa85..fa56b7299 100644--- a/web/src/components/MemoEditor/Editor/index.tsx+++ b/web/src/components/MemoEditor/Editor/index.tsx@@ -166,8 +166,8 @@ const Editor = forwardRef(function Editor(props: Props, ref: React.ForwardedRef<let insertText = "";if (lastNode.type === NodeType.TASK_LIST_ITEM) {- const { complete } = lastNode.taskListItemNode as TaskListItemNode;- insertText = complete ? "- [x] " : "- [ ] ";+ const { symbol } = lastNode.taskListItemNode as TaskListItemNode;+ insertText = `${symbol} [ ] `;} else if (lastNode.type === NodeType.UNORDERED_LIST_ITEM) {const { symbol } = lastNode.unorderedListItemNode as UnorderedListItemNode;insertText = `${symbol} `;