diff --git a/src/editors/Editor.jsx b/src/editors/Editor.jsx index d1b14cb38..24556b389 100644 --- a/src/editors/Editor.jsx +++ b/src/editors/Editor.jsx @@ -31,9 +31,20 @@ export const Editor = ({ const EditorComponent = supportedEditors[blockType]; return ( -
+
diff --git a/src/editors/__snapshots__/Editor.test.jsx.snap b/src/editors/__snapshots__/Editor.test.jsx.snap index 8c929ec63..913ad5830 100644 --- a/src/editors/__snapshots__/Editor.test.jsx.snap +++ b/src/editors/__snapshots__/Editor.test.jsx.snap @@ -3,11 +3,25 @@ exports[`Editor render presents error message if no relevant editor found and ref ready 1`] = `
TextEditor) 1`] = `

My test content @@ -78,7 +83,12 @@ exports[`EditorContainer component render snapshot: initialized. enable save and exports[`EditorContainer component render snapshot: not initialized. disable save and pass to header 1`] = `
- + {isInitialized && children} -
-
-
-
-
- -
- -
-
-
- , -
- , - "container":
+ , +
+ , + "container":
+
+
+
+ +
+ +
,
, diff --git a/src/editors/containers/VideoUploadEditor/index.jsx b/src/editors/containers/VideoUploadEditor/index.jsx index 9dc31ab35..9c91260be 100644 --- a/src/editors/containers/VideoUploadEditor/index.jsx +++ b/src/editors/containers/VideoUploadEditor/index.jsx @@ -9,21 +9,23 @@ export const VideoUploadEditor = () => { const [loading, setLoading] = React.useState(false); const intl = useIntl(); - return ( -
- {(!loading) ? ( -
- -
- ) : ( -
- -
- )} + return (!loading) ? ( +
+ +
+ ) : ( +
+
); };