From ccf86a648bdcaeaa8f76c2aa33cf8e283945e5e8 Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Thu, 30 Jan 2025 15:54:22 +0100 Subject: [PATCH] Fix RO mode on initial sync --- web/client.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/client.ts b/web/client.ts index fc102de6..86f3b7f3 100644 --- a/web/client.ts +++ b/web/client.ts @@ -305,6 +305,8 @@ export class Client implements ConfigContainer { } else { // initialSync // Let's load space scripts again, which probably weren't loaded before await this.clientSystem.loadSpaceScripts(); + await this.loadCustomStyles(); + this.rebuildEditorState(); console.log( "Initial sync completed, now need to do a full space index to ensure all pages are indexed using any custom space script indexers", );