= ({ markdown, editorRef, onChange }) => {
plugins={[
toolbarPlugin({
toolbarContents: () => (
- <>
- {/* HACK: avoid unintented focus on the first button on hover*/}
+
+ {/* HACK: avoid unintended focus on the first button on hover*/}
+
-
-
- >
+
+
),
}),
tablePlugin(),
thematicBreakPlugin(),
listsPlugin(),
headingsPlugin(),
- quotePlugin(),
]}
markdown={markdown}
ref={editorRef}
diff --git a/components/UpsertEvent.tsx b/components/UpsertEvent.tsx
index 74f0c2b7..31615f16 100644
--- a/components/UpsertEvent.tsx
+++ b/components/UpsertEvent.tsx
@@ -12,9 +12,9 @@ import { InfoCallout } from "./Callouts"
import { Event } from "@prisma/client"
import { Pencil1Icon } from "@radix-ui/react-icons"
-import { Card, Grid, IconButton, Text, TextField } from "@radix-ui/themes"
+import { Card, Flex, IconButton, Text, TextField } from "@radix-ui/themes"
import dynamic from "next/dynamic"
-import { useState } from "react"
+import React, { useState } from "react"
const MdEditor = dynamic(() => import("@/components/MdEditor"), { ssr: false })
@@ -84,8 +84,8 @@ const UpsertEventForm = ({
-
-
+