fix(infra): override saved blocksuite feature flag (#7399)

This commit is contained in:
EYHN
2024-07-01 19:36:32 +08:00
committed by GitHub
parent 8c4a42f0e6
commit 3f8fe5cfae

View File

@@ -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);
}