diff --git a/src/components/Chat/Chat.tsx b/src/components/Chat/Chat.tsx index 4508ae75..1e2834da 100644 --- a/src/components/Chat/Chat.tsx +++ b/src/components/Chat/Chat.tsx @@ -143,6 +143,7 @@ const ChatWithLLM: React.FC = () => { diff --git a/src/components/File/MilkdownEditor.tsx b/src/components/File/MilkdownEditor.tsx index 90299be9..5e335768 100644 --- a/src/components/File/MilkdownEditor.tsx +++ b/src/components/File/MilkdownEditor.tsx @@ -5,6 +5,7 @@ import { ReactEditor, useEditor } from "@milkdown/react"; import { commonmark } from "@milkdown/preset-commonmark"; import { nord } from "@milkdown/theme-nord"; import { gfm } from "@milkdown/preset-gfm"; +import { menu } from "@milkdown/plugin-menu"; // import "@milkdown/theme-nord/style.css"; // import { MarkdownEditorProps } from "./MarkdownEditor"; @@ -16,6 +17,7 @@ export const MilkdownEditor: React.FC = () => { .use(nord) .use(commonmark) // .use(gfm) + .use(menu) .config((ctx) => { ctx.set(rootCtx, root); }) diff --git a/src/components/File/MilkdownSecondTry.tsx b/src/components/File/MilkdownSecondTry.tsx index 383221c7..78ee9117 100644 --- a/src/components/File/MilkdownSecondTry.tsx +++ b/src/components/File/MilkdownSecondTry.tsx @@ -121,11 +121,11 @@ const MarkdownEditor: React.FC = ({ ) .use(nord) .use(commonmark) - // .use(gfm) + .use(gfm) .use(history) .use(listener) .use(prism) - // .use(menu) + .use(menu) .use(block) .use(cursor) .use(clipboard) diff --git a/src/components/File/NewNote.tsx b/src/components/File/NewNote.tsx index ed932263..84938dec 100644 --- a/src/components/File/NewNote.tsx +++ b/src/components/File/NewNote.tsx @@ -49,6 +49,7 @@ const NewNoteComponent: React.FC = ({ diff --git a/src/components/Settings/InitialSettingsPage.tsx b/src/components/Settings/InitialSettingsPage.tsx index 8fdf341d..5fa9f966 100644 --- a/src/components/Settings/InitialSettingsPage.tsx +++ b/src/components/Settings/InitialSettingsPage.tsx @@ -76,6 +76,7 @@ const DirectoryPicker: React.FC = ({ onDirectorySelected }) => { @@ -117,6 +118,7 @@ const DirectoryPicker: React.FC = ({ onDirectorySelected }) => { diff --git a/src/components/Settings/Settings.tsx b/src/components/Settings/Settings.tsx index 33847f60..4b2739e0 100644 --- a/src/components/Settings/Settings.tsx +++ b/src/components/Settings/Settings.tsx @@ -63,6 +63,7 @@ const SettingsModal: React.FC = ({ isOpen, onClose }) => {