Skip to content

armgit / memos

Public Imported from GitHub
0

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.

fix(ui): remove unsupported highlight command (#5328)

spaghetti-coder618db89f4f8f
diff --git a/web/src/components/MemoEditor/Editor/commands.ts b/web/src/components/MemoEditor/Editor/commands.ts
index e07f92cb5..d293601c0 100644
--- a/web/src/components/MemoEditor/Editor/commands.ts
+++ b/web/src/components/MemoEditor/Editor/commands.ts
@@ -25,9 +25,4 @@ export const editorCommands: Command[] = [
run: () => "| Header | Header |\n| ------ | ------ |\n| Cell | Cell |",
cursorOffset: 1, // Places cursor after first "|" to edit first header
},
- {
- name: "highlight",
- run: () => "==text==",
- cursorOffset: 2, // Places cursor between "==" markers to type highlighted text
- },
];