Merge pull request #15696 from overleaf/td-ide-page-show-editor-loading

Make editor loading panel appear in React IDE page

GitOrigin-RevId: b28573ece3e0331a8a82d56df55896bec8b607d9
This commit is contained in:
Tim Down 2023-11-13 10:53:29 +00:00 committed by Copybot
parent 07345ae70d
commit c8e68e8c96

View file

@ -40,6 +40,7 @@ export function EditorPane({ shouldPersistLayout, show }: EditorPaneProps) {
flexDirection: 'column',
}}
>
<SourceEditor />
{(!editor.sharejs_doc || editor.opening) &&
!editor.error_state &&
!!editor.open_doc_id ? (
@ -50,7 +51,6 @@ export function EditorPane({ shouldPersistLayout, show }: EditorPaneProps) {
</span>
</div>
) : null}
<SourceEditor />
</Panel>
{editor.showSymbolPalette ? (
<>