Skip to content

Commit

Permalink
use remirror image extension (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
lihebi authored May 3, 2023
1 parent 19d1569 commit 8649eeb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ui/src/components/nodes/Rich.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ import DragIndicatorIcon from "@mui/icons-material/DragIndicator";
import {
BoldExtension,
CalloutExtension,
DropCursorExtension,
ImageExtension,
ItalicExtension,
LinkExtension,
PlaceholderExtension,
Expand Down Expand Up @@ -409,6 +411,8 @@ const MyEditor = ({
new SupExtension(),
new SubExtension(),
new LinkExtension({ autoLink: true }),
new ImageExtension({ enableResizing: true }),
new DropCursorExtension(),
// new CalloutExtension({ defaultType: "warn" }),
...wysiwygPreset(),
],
Expand Down

0 comments on commit 8649eeb

Please sign in to comment.