Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

fix(storybook): the RichText playground imports Lexical's Transformer type from @lexical/markdown (#7571)

Cindy Zhang9025ab3434c5
diff --git a/apps/storybook/stories/RichTextEditor.playground.tsx b/apps/storybook/stories/RichTextEditor.playground.tsx
index 81eec3f141..b81338451d 100644
--- a/apps/storybook/stories/RichTextEditor.playground.tsx
+++ b/apps/storybook/stories/RichTextEditor.playground.tsx
@@ -57,13 +57,13 @@ import {
type RichTextEditorSize,
type RichTextEditorStatusType,
type RichTextMarkdownExtension,
- type Transformer,
} from '@astryxdesign/richtext';
import {
BOLD_STAR,
INLINE_CODE,
ITALIC_UNDERSCORE,
UNORDERED_LIST,
+ type Transformer,
} from '@lexical/markdown';
import {useLexicalComposerContext} from '@lexical/react/LexicalComposerContext';
import {useLexicalEditable} from '@lexical/react/useLexicalEditable';