diff --git a/packages/rich-text/src/RichTextEditor.tsx b/packages/rich-text/src/RichTextEditor.tsx index 7988ef153..9eb9cf93d 100644 --- a/packages/rich-text/src/RichTextEditor.tsx +++ b/packages/rich-text/src/RichTextEditor.tsx @@ -65,26 +65,28 @@ export const ConnectedRichTextEditor = (props: ConnectedProps) => { ); return ( - - -
- - {!props.isToolbarHidden && ( - - - - )} - - - -
-
-
+ + + +
+ + {!props.isToolbarHidden && ( + + + + )} + + + +
+
+
+
); }; @@ -99,27 +101,25 @@ const RichTextEditor = (props: Props) => { const id = getContentfulEditorId(props.sdk); return ( - - - {({ lastRemoteValue, disabled, setValue }) => ( - - )} - - + + {({ lastRemoteValue, disabled, setValue }) => ( + + )} + ); };