Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

story type

Oleg Isonen943fbaf66671
diff --git a/app/shared/text-editor/example-text-editor.stories.tsx b/app/shared/text-editor/example-text-editor.stories.tsx
index 4b4e51f3dd..01dbe938a5 100644
--- a/app/shared/text-editor/example-text-editor.stories.tsx
+++ b/app/shared/text-editor/example-text-editor.stories.tsx
@@ -21,7 +21,11 @@ export default {
component: ExampleTextEditor,
} as ComponentMeta<typeof ExampleTextEditor>;
-export const TextEditor = (args) => <ExampleTextEditor {...args} />
+const Template: ComponentStory<typeof ExampleTextEditor> = (args) => {
+ return <ExampleTextEditor {...args} />;
+};
+
+export const TextEditor = Template.bind({});
TextEditor.args = {
onChange,
};