diff --git a/packages/frontend/core/src/pages/workspace/index.tsx b/packages/frontend/core/src/pages/workspace/index.tsx index 298930bbc3..29a2097252 100644 --- a/packages/frontend/core/src/pages/workspace/index.tsx +++ b/packages/frontend/core/src/pages/workspace/index.tsx @@ -6,6 +6,7 @@ import { currentWorkspaceIdAtom, getCurrentStore, } from '@toeverything/infra/atom'; +import { guidCompatibilityFix } from '@toeverything/infra/blocksuite'; import type { ReactElement } from 'react'; import { type LoaderFunction, @@ -43,6 +44,7 @@ export const loader: LoaderFunction = async args => { const workspace = await rootStore.get(workspaceAtom); return (() => { + guidCompatibilityFix(workspace.doc); const blockVersions = workspace.meta.blockVersions; if (!blockVersions) { return true;