From 3f8fe5cfae55707675a56a17097a5c85be299243 Mon Sep 17 00:00:00 2001 From: EYHN Date: Mon, 1 Jul 2024 19:36:32 +0800 Subject: [PATCH] fix(infra): override saved blocksuite feature flag (#7399) --- packages/common/infra/src/atom/settings.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/common/infra/src/atom/settings.ts b/packages/common/infra/src/atom/settings.ts index ca151886270ff..37df9ef8c8f9a 100644 --- a/packages/common/infra/src/atom/settings.ts +++ b/packages/common/infra/src/atom/settings.ts @@ -92,6 +92,7 @@ export function setupEditorFlags(docCollection: DocCollection) { // override this flag in app settings // TODO(@eyhn): need a better way to manage block suite flags docCollection.awarenessStore.setFlag('enable_synced_doc_block', true); + docCollection.awarenessStore.setFlag('enable_edgeless_text', true); } catch (err) { logger.error('syncEditorFlags', err); }