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
@@ -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);
}
@@ -123,7 +123,6 @@ const SplitViewSettingRow = () => {
// feature flag -> display name
const blocksuiteFeatureFlags: Partial<Record<keyof BlockSuiteFlags, string>> = {
enable_synced_doc_block: 'Enable Synced Doc Block',
enable_expand_database_block: 'Enable Expand Database Block',
enable_database_statistics: 'Enable Database Block Statistics',
enable_block_query: 'Enable Todo Block Query',