From 2f3a32b7baa4e82919c4c2b60138af70d6a82207 Mon Sep 17 00:00:00 2001 From: Arpit Date: Thu, 5 Jan 2023 17:33:55 +0530 Subject: [PATCH] pass header editors context (#5218) --- frontend/src/Editor/Editor.jsx | 219 +++++++++++++++++---------------- 1 file changed, 112 insertions(+), 107 deletions(-) diff --git a/frontend/src/Editor/Editor.jsx b/frontend/src/Editor/Editor.jsx index 11c07bdd6f..24fad683ed 100644 --- a/frontend/src/Editor/Editor.jsx +++ b/frontend/src/Editor/Editor.jsx @@ -1782,114 +1782,119 @@ class EditorComponent extends React.Component { onCancel={() => this.cancelDeletePageRequest()} darkMode={this.props.darkMode} /> -
-
-
- -

- - - -

- - - - - {this.state.isSaving - ? 'Saving...' - : this.state.saveError - ? 'Could not save changes' - : 'All changes are saved'} - - {config.ENABLE_MULTIPLAYER_EDITING && } - {editingVersion && ( - - )} -
-
- {app.id && ( - - )} -
-
- - - - - + +
+
+
+ +

+ + -

-
- {app.id && ( - - )} + + + + + + {this.state.isSaving + ? 'Saving...' + : this.state.saveError + ? 'Could not save changes' + : 'All changes are saved'} + + {config.ENABLE_MULTIPLAYER_EDITING && } + {editingVersion && ( + + )} +
+
+ {app.id && ( + + )} +
+
+ + + + + + +
+
+ {app.id && ( + + )} +
-
-
-
- - + + +
)}
-
-
+ + ); }