mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-17 10:06:17 +08:00
@@ -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);
|
||||
}
|
||||
|
||||
-1
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user