diff --git a/src/storybook/__snapshots__/Stories.test.ts.snap b/src/storybook/__snapshots__/Stories.test.ts.snap
index de4af41f4..60d02047d 100644
--- a/src/storybook/__snapshots__/Stories.test.ts.snap
+++ b/src/storybook/__snapshots__/Stories.test.ts.snap
@@ -7655,520 +7655,96 @@ exports[`Storyshots Generics / Rich text editor default 1`] = `
class="MuiCardContent-root-id"
>
-
-
- Content
-
-
-
-
-
-
-
-
-
-
-
-
-
- strikethrough
-
-
-
-
-
-
-
-
-
-
-
- blockquote
-
-
-
-
-
-
- -
-
-
-
- ol
-
-
-
-
-
-
-
-
-
-
-
-
+ Content
+
+
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit
+
+
+
+
+
+`;
+
+exports[`Storyshots Generics / Rich text editor disabled 1`] = `
+
+`;
+
+exports[`Storyshots Generics / Rich text editor error 1`] = `
+
+
@@ -31726,316 +31302,22 @@ exports[`Storyshots Views / Categories / Create category When loading 1`] = `
class="FormSpacer-spacer-id"
/>
-
-
- Category Description
-
-
-
+ Category Description
+
+
+
@@ -32309,316 +31591,22 @@ exports[`Storyshots Views / Categories / Create category default 1`] = `
class="FormSpacer-spacer-id"
/>
-
-
- Category Description
-
-
-
+ Category Description
+
+
+
@@ -32897,321 +31885,24 @@ exports[`Storyshots Views / Categories / Create category form errors 1`] = `
class="FormSpacer-spacer-id"
/>
-
-
- Category Description
-
-
-
+ Category Description
+
+
This field is required
-
+
@@ -33484,520 +32175,22 @@ exports[`Storyshots Views / Categories / Update category default 1`] = `
class="FormSpacer-spacer-id"
/>
-
-
- Category Description
-
-
-
-
-
-
-
-
-
-
-
-
-
- strikethrough
-
-
-
-
-
-
-
-
-
-
-
- blockquote
-
-
-
-
-
-
- -
-
-
-
- ol
-
-
-
-
-
-
-
-
-
-
-
-
+ Category Description
+
+
+
@@ -34216,195 +32409,13 @@ Ctrl + K"
class="CardTitle-hr-id"
/>
-
-
-
+
+
-
-
-
+
+
-
-
- Category Description
-
-
-
-
-
-
-
-
-
-
-
-
-
- strikethrough
-
-
-
-
-
-
-
-
-
-
-
- blockquote
-
-
-
-
-
-
- -
-
-
-
- ol
-
-
-
-
-
-
-
-
-
-
-
-
+ Category Description
+
+
This field is required
-
+
@@ -35509,195 +32992,13 @@ Ctrl + K"
class="CardTitle-hr-id"
/>
-
-
-
+
+
-
-
-
+
+
-
-
- Category Description
-
-
-
+ Category Description
+
+
+
@@ -36951,520 +33931,22 @@ exports[`Storyshots Views / Categories / Update category no background 1`] = `
class="FormSpacer-spacer-id"
/>
-
-
- Category Description
-
-
-
-
-
-
-
-
-
-
-
-
-
- strikethrough
-
-
-
-
-
-
-
-
-
-
-
- blockquote
-
-
-
-
-
-
- -
-
-
-
- ol
-
-
-
-
-
-
-
-
-
-
-
-
+ Category Description
+
+
+
@@ -37638,195 +34120,13 @@ Ctrl + K"
class="CardTitle-hr-id"
/>
-
-
-
+
+
-
-
-
+
+
-
-
- Category Description
-
-
-
-
-
-
-
-
-
-
-
-
-
- strikethrough
-
-
-
-
-
-
-
-
-
-
-
- blockquote
-
-
-
-
-
-
- -
-
-
-
- ol
-
-
-
-
-
-
-
-
-
-
-
-
+ Category Description
+
+
+
@@ -38921,195 +34696,13 @@ Ctrl + K"
class="CardTitle-hr-id"
/>
-
-
-
+
+
-
-
-
+
+
-
-
- Category Description
-
-
-
-
-
-
-
-
-
-
-
-
-
- strikethrough
-
-
-
-
-
-
-
-
-
-
-
- blockquote
-
-
-
-
-
-
- -
-
-
-
- ol
-
-
-
-
-
-
-
-
-
-
-
-
+ Category Description
+
+
+
@@ -40209,195 +35277,13 @@ Ctrl + K"
class="CardTitle-hr-id"
/>
-
-
-
+
+
-
-
-
+
+
-
-
- Category Description
-
-
-
-
-
-
-
-
-
-
-
-
-
- strikethrough
-
-
-
-
-
-
-
-
-
-
-
- blockquote
-
-
-
-
-
-
- -
-
-
-
- ol
-
-
-
-
-
-
-
-
-
-
-
-
+ Category Description
+
+
+
@@ -41492,195 +35853,13 @@ Ctrl + K"
class="CardTitle-hr-id"
/>
-
-
-
+
+
-
-
-
+
+
-
-
- Description
-
-
-
-
-
-
-
-
-
-
-
-
-
- strikethrough
-
-
-
-
-
-
-
-
-
-
-
- blockquote
-
-
-
-
-
-
- -
-
-
-
- ol
-
-
-
-
-
-
-
-
-
-
-
-
+ Description
+
+
+
@@ -44737,525 +38391,24 @@ exports[`Storyshots Views / Collections / Collection details form errors 1`] = `
class="FormSpacer-spacer-id"
/>
-
-
- Description
-
-
-
-
-
-
-
-
-
-
-
-
-
- strikethrough
-
-
-
-
-
-
-
-
-
-
-
- blockquote
-
-
-
-
-
-
- -
-
-
-
- ol
-
-
-
-
-
-
-
-
-
-
-
-
+ Description
+
+
This field is required
-
+
@@ -46631,316 +39784,22 @@ exports[`Storyshots Views / Collections / Collection details loading 1`] = `
class="FormSpacer-spacer-id"
/>
@@ -47751,520 +40610,22 @@ exports[`Storyshots Views / Collections / Collection details no products 1`] = `
class="FormSpacer-spacer-id"
/>
-
-
- Description
-
-
-
-
-
-
-
-
-
-
-
-
-
- strikethrough
-
-
-
-
-
-
-
-
-
-
-
- blockquote
-
-
-
-
-
-
- -
-
-
-
- ol
-
-
-
-
-
-
-
-
-
-
-
-
+ Description
+
+
+
@@ -50706,316 +43067,22 @@ exports[`Storyshots Views / Collections / Create collection default 1`] = `
class="FormSpacer-spacer-id"
/>
@@ -51547,321 +43614,24 @@ exports[`Storyshots Views / Collections / Create collection form errors 1`] = `
class="FormSpacer-spacer-id"
/>
-
+ Description
+
+
This field is required
-
+
@@ -52395,316 +44165,22 @@ exports[`Storyshots Views / Collections / Create collection loading 1`] = `
class="FormSpacer-spacer-id"
/>
@@ -112831,520 +104307,22 @@ exports[`Storyshots Views / Pages / Page details default 1`] = `
class="FormSpacer-spacer-id"
/>
-
-
- Content
-
-
-
-
-
-
-
-
-
-
-
-
-
- strikethrough
-
-
-
-
-
-
-
-
-
-
-
- blockquote
-
-
-
-
-
-
- -
-
-
-
- ol
-
-
-
-
-
-
-
-
-
-
-
-
+ Content
+
+
+
@@ -113938,520 +104916,22 @@ exports[`Storyshots Views / Pages / Page details form errors 1`] = `
class="FormSpacer-spacer-id"
/>
-
-
- Content
-
-
-
-
-
-
-
-
-
-
-
-
-
- strikethrough
-
-
-
-
-
-
-
-
-
-
-
- blockquote
-
-
-
-
-
-
- -
-
-
-
- ol
-
-
-
-
-
-
-
-
-
-
-
-
+ Content
+
+
+
@@ -115052,316 +105532,22 @@ exports[`Storyshots Views / Pages / Page details loading 1`] = `
class="FormSpacer-spacer-id"
/>
@@ -138025,316 +128211,22 @@ exports[`Storyshots Views / Products / Create product When loading 1`] = `
class="FormSpacer-spacer-id"
/>
@@ -139312,316 +129204,22 @@ exports[`Storyshots Views / Products / Create product default 1`] = `
class="FormSpacer-spacer-id"
/>
@@ -140588,316 +130186,22 @@ exports[`Storyshots Views / Products / Create product form errors 1`] = `
class="FormSpacer-spacer-id"
/>
@@ -146224,520 +135528,22 @@ exports[`Storyshots Views / Products / Product edit form errors 1`] = `
class="FormSpacer-spacer-id"
/>
-
-
- Description
-
-
-
-
-
-
-
-
-
-
-
-
-
- strikethrough
-
-
-
-
-
-
-
-
-
-
-
- blockquote
-
-
-
-
-
-
- -
-
-
-
- ol
-
-
-
-
-
-
-
-
-
-
-
-
+ Description
+
+
+
@@ -148747,520 +137553,22 @@ exports[`Storyshots Views / Products / Product edit no product attributes 1`] =
class="FormSpacer-spacer-id"
/>
-
-
- Description
-
-
-
-
-
-
-
-
-
-
-
-
-
- strikethrough
-
-
-
-
-
-
-
-
-
-
-
- blockquote
-
-
-
-
-
-
- -
-
-
-
- ol
-
-
-
-
-
-
-
-
-
-
-
-
+ Description
+
+
+
@@ -150995,520 +139303,22 @@ exports[`Storyshots Views / Products / Product edit no stock and no variants 1`]
class="FormSpacer-spacer-id"
/>
-
-
- Description
-
-
-
-
-
-
-
-
-
-
-
-
-
- strikethrough
-
-
-
-
-
-
-
-
-
-
-
- blockquote
-
-
-
-
-
-
- -
-
-
-
- ol
-
-
-
-
-
-
-
-
-
-
-
-
+ Description
+
+
+
@@ -153470,520 +141280,22 @@ exports[`Storyshots Views / Products / Product edit no stock, no variants and no
class="FormSpacer-spacer-id"
/>
-
-
- Description
-
-
-
-
-
-
-
-
-
-
-
-
-
- strikethrough
-
-
-
-
-
-
-
-
-
-
-
- blockquote
-
-
-
-
-
-
- -
-
-
-
- ol
-
-
-
-
-
-
-
-
-
-
-
-
+ Description
+
+
+
@@ -155882,520 +143194,22 @@ exports[`Storyshots Views / Products / Product edit no variants 1`] = `
class="FormSpacer-spacer-id"
/>
-
-
- Description
-
-
-
-
-
-
-
-
-
-
-
-
-
- strikethrough
-
-
-
-
-
-
-
-
-
-
-
- blockquote
-
-
-
-
-
-
- -
-
-
-
- ol
-
-
-
-
-
-
-
-
-
-
-
-
+ Description
+
+
+
@@ -158491,520 +145305,22 @@ exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`
class="FormSpacer-spacer-id"
/>
-
-
- Description
-
-
-
-
-
-
-
-
-
-
-
-
-
- strikethrough
-
-
-
-
-
-
-
-
-
-
-
- blockquote
-
-
-
-
-
-
- -
-
-
-
- ol
-
-
-
-
-
-
-
-
-
-
-
-
+ Description
+
+
+
@@ -161004,316 +147320,22 @@ exports[`Storyshots Views / Products / Product edit when loading data 1`] = `
class="FormSpacer-spacer-id"
/>
@@ -162422,520 +148444,22 @@ exports[`Storyshots Views / Products / Product edit when product has no images 1
class="FormSpacer-spacer-id"
/>
-
-
- Description
-
-
-
-
-
-
-
-
-
-
-
-
-
- strikethrough
-
-
-
-
-
-
-
-
-
-
-
- blockquote
-
-
-
-
-
-
- -
-
-
-
- ol
-
-
-
-
-
-
-
-
-
-
-
-
+ Description
+
+
+
@@ -164885,520 +150409,22 @@ exports[`Storyshots Views / Products / Product edit when product has no variants
class="FormSpacer-spacer-id"
/>
-
-
- Description
-
-
-
-
-
-
-
-
-
-
-
-
-
- strikethrough
-
-
-
-
-
-
-
-
-
-
-
- blockquote
-
-
-
-
-
-
- -
-
-
-
- ol
-
-
-
-
-
-
-
-
-
-
-
-
+ Description
+
+
+
diff --git a/src/utils/richText/useRichText.test.ts b/src/utils/richText/useRichText.test.ts
index bedf3d42f..7ae0ce4ce 100644
--- a/src/utils/richText/useRichText.test.ts
+++ b/src/utils/richText/useRichText.test.ts
@@ -45,7 +45,7 @@ describe("useRichText", () => {
);
const [data, change] = hook.result.current;
- expect(data.current).toBe(undefined);
+ expect(data.current).toMatchObject({ blocks: [] });
change(fixtures.short);