@@ -88,6 +88,10 @@ export function setupEditorFlags(docCollection: DocCollection) {
|
|||||||
value
|
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) {
|
} catch (err) {
|
||||||
logger.error('syncEditorFlags', err);
|
logger.error('syncEditorFlags', err);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -123,7 +123,6 @@ const SplitViewSettingRow = () => {
|
|||||||
|
|
||||||
// feature flag -> display name
|
// feature flag -> display name
|
||||||
const blocksuiteFeatureFlags: Partial<Record<keyof BlockSuiteFlags, string>> = {
|
const blocksuiteFeatureFlags: Partial<Record<keyof BlockSuiteFlags, string>> = {
|
||||||
enable_synced_doc_block: 'Enable Synced Doc Block',
|
|
||||||
enable_expand_database_block: 'Enable Expand Database Block',
|
enable_expand_database_block: 'Enable Expand Database Block',
|
||||||
enable_database_statistics: 'Enable Database Block Statistics',
|
enable_database_statistics: 'Enable Database Block Statistics',
|
||||||
enable_block_query: 'Enable Todo Block Query',
|
enable_block_query: 'Enable Todo Block Query',
|
||||||
|
|||||||
Reference in New Issue
Block a user