diff --git a/apps/web/src/components/Editor.tsx b/apps/web/src/components/Editor.tsx index 18f31e82..16062038 100644 --- a/apps/web/src/components/Editor.tsx +++ b/apps/web/src/components/Editor.tsx @@ -9,7 +9,11 @@ type Props = { onUpdate?: (html: string) => void; }; -export const Editor = ({ className, content, onUpdate }: Props) => { +export const Editor = ({ + className, + content, + onUpdate, +}: Props & { showBubbleMenu?: boolean }) => { const editor = useEditor({ extensions: [ StarterKit.configure({ diff --git a/apps/web/src/components/FlagPage.tsx b/apps/web/src/components/FlagPage.tsx index c2b61611..6e6a8e41 100644 --- a/apps/web/src/components/FlagPage.tsx +++ b/apps/web/src/components/FlagPage.tsx @@ -105,6 +105,7 @@ const EditDescriptionModal = ({ className="w-full" content={newDescription} onUpdate={setNewDescription} + showBubbleMenu /> __Markdown__ is **supported**