mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-23 20:18:42 +08:00
feat(editor): add feature flag service (#9592)
This commit is contained in:
@@ -95,6 +95,9 @@ async function initEmptyEditor({
|
||||
}
|
||||
const createEditor = () => {
|
||||
const editor = document.createElement('affine-editor-container');
|
||||
doc
|
||||
.get(window.$blocksuite.blocks.FeatureFlagService)
|
||||
.setFlag('enable_advanced_block_visibility', true);
|
||||
editor.doc = doc;
|
||||
editor.autofocus = true;
|
||||
const defaultExtensions: ExtensionType[] = [
|
||||
|
||||
Reference in New Issue
Block a user