Skip to content

Commit

Permalink
feat: Support link dialogs in the MDX content editor
Browse files Browse the repository at this point in the history
  • Loading branch information
beverloo committed Feb 16, 2025
1 parent f656ef5 commit c06bd26
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/admin/content/ContentEditorMdx.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import type { JsxComponentDescriptor, MDXEditorMethods } from '@mdxeditor/editor
import {
BlockTypeSelect, BoldItalicUnderlineToggles, CreateLink, DiffSourceToggleWrapper,
GenericJsxEditor, ListsToggle, MDXEditor, Separator, UndoRedo, diffSourcePlugin, headingsPlugin,
jsxPlugin, linkPlugin, listsPlugin, markdownShortcutPlugin, quotePlugin, tablePlugin,
thematicBreakPlugin, toolbarPlugin } from '@mdxeditor/editor';
jsxPlugin, linkPlugin, linkDialogPlugin, listsPlugin, markdownShortcutPlugin, quotePlugin,
tablePlugin, thematicBreakPlugin, toolbarPlugin } from '@mdxeditor/editor';

import { unrecognisedNodePlugin } from './mdxEditorPlugins';

Expand Down Expand Up @@ -63,6 +63,7 @@ export default function ContentEditorMdx(props: ContentEditorMdxProps) {
//imagePlugin(),
jsxPlugin({ jsxComponentDescriptors }),
linkPlugin(),
linkDialogPlugin(),
listsPlugin(),
markdownShortcutPlugin(),
quotePlugin(),
Expand Down

0 comments on commit c06bd26

Please sign in to comment.