test: add test case for blocksuite editor (#1528)

This commit is contained in:
Himself65 authored and GitHub committed 2023-03-10 17:45:10 -06:00
1 parent 1c89841d6f
commit a795000363
19 files changed
+495 -488

No files matched your search

+2
View File
@@ -16,6 +16,7 @@ import {
} from '../../shared';
import { apis, clientAuth } from '../../shared/apis';
import { createEmptyBlockSuiteWorkspace } from '../../utils';
import { initPage } from '../../utils/blocksuite';
import { WorkspacePlugin } from '..';
import { QueryKey } from './fetcher';
@@ -215,6 +216,7 @@ export const AffinePlugin: WorkspacePlugin<RemWorkspaceFlavour.AFFINE> = {
<PageDetailEditor
pageId={currentPageId}
blockSuiteWorkspace={currentWorkspace.blockSuiteWorkspace}
onInit={initPage}
/>
</>
);