feat(core): enable synced doc block by default (#7176)

fix AFF-1244
This commit is contained in:
EYHN
2024-06-08 16:48:25 +00:00
parent 41bc683eed
commit b34cfe6c7f
2 changed files with 4 additions and 1 deletions

View File

@@ -88,6 +88,10 @@ export function setupEditorFlags(docCollection: DocCollection) {
value
);
});
// override this flag in app settings
// TODO: need a better way to manage block suite flags
docCollection.awarenessStore.setFlag('enable_synced_doc_block', true);
} catch (err) {
logger.error('syncEditorFlags', err);
}