diff --git a/src/components/customFields/MDXEditorField.tsx b/src/components/customFields/MDXEditorField.tsx index 8e954f0..247c484 100644 --- a/src/components/customFields/MDXEditorField.tsx +++ b/src/components/customFields/MDXEditorField.tsx @@ -19,6 +19,8 @@ import { DiffSourceToggleWrapper, diffSourcePlugin, codeBlockPlugin, + imagePlugin, + InsertImage, } from "@mdxeditor/editor"; import "@mdxeditor/editor/style.css"; import styled from "styled-components"; @@ -78,12 +80,14 @@ export const MDXEditorField = (props: Buildable) => { headingsPlugin(), linkPlugin(), linkDialogPlugin(), + imagePlugin(), toolbarPlugin({ toolbarContents: () => ( <> +