feat: support bookmark (#2458)

Co-authored-by: himself65 <himself65@outlook.com>
This commit is contained in:
Qi
2023-05-26 14:52:36 +08:00
committed by Himself65
parent aa02779883
commit d16927c4ad
19 changed files with 1311 additions and 89 deletions

View File

@@ -18,12 +18,12 @@
"@affine/jotai": "workspace:*",
"@affine/templates": "workspace:*",
"@affine/workspace": "workspace:*",
"@blocksuite/blocks": "0.0.0-20230525011821-20259c76-nightly",
"@blocksuite/editor": "0.0.0-20230525011821-20259c76-nightly",
"@blocksuite/global": "0.0.0-20230525011821-20259c76-nightly",
"@blocksuite/blocks": "0.0.0-20230526010315-e1d4bf97-nightly",
"@blocksuite/editor": "0.0.0-20230526010315-e1d4bf97-nightly",
"@blocksuite/global": "0.0.0-20230526010315-e1d4bf97-nightly",
"@blocksuite/icons": "^2.1.19",
"@blocksuite/lit": "0.0.0-20230525011821-20259c76-nightly",
"@blocksuite/store": "0.0.0-20230525011821-20259c76-nightly",
"@blocksuite/lit": "0.0.0-20230526010315-e1d4bf97-nightly",
"@blocksuite/store": "0.0.0-20230526010315-e1d4bf97-nightly",
"@dnd-kit/core": "^6.0.8",
"@dnd-kit/sortable": "^7.0.2",
"@emotion/cache": "^11.11.0",

View File

@@ -1,6 +1,5 @@
// @ts-check
import 'dotenv/config';
/**
* @type {import('@affine/env').BlockSuiteFeatureFlags}
*/
@@ -12,6 +11,7 @@ export const blockSuiteFeatureFlags = {
enable_drag_handle: true,
enable_surface: true,
enable_linked_page: true,
enable_bookmark_operation: process.env.ENABLE_BOOKMARK_OPERATION === 'true',
};
/**