refactor(editor): reduce dependency to doc collection (#9492)
This commit is contained in:
70 files changed
+185
-210
No files matched your search
@@ -58,7 +58,7 @@ test('newly created page shows empty history', async ({ page }) => {
|
||||
const pushCurrentPageUpdates = async (page: Page) => {
|
||||
const [workspaceId, guid, updates, state] = await page.evaluate(() => {
|
||||
// @ts-expect-error
|
||||
const Y = window.currentWorkspace.docCollection.constructor.Y;
|
||||
const Y = window.Y;
|
||||
// @ts-expect-error
|
||||
const spaceDoc = window.currentEditor.page.spaceDoc;
|
||||
// @ts-expect-error
|
||||
|
||||
Reference in new issue
Block a user