refactor(editor): mount worker renderer in editor host (#10055)

This would allow for easier integration with current test runner, since the two column layout is removed.

The `ViewportTurboRender` canvas and its debug UI are only enabled if the extension is added, which won't affect the AFFiNE entry.

<img width="945" alt="image" src="https://github.com/user-attachments/assets/dc82daa4-cbed-4eb9-9660-28c3f7d35722" />
This commit is contained in:
doodlewind
2025-02-11 14:12:41 +00:00
parent 9ca2133e34
commit d021e4cddc
7 changed files with 84 additions and 101 deletions

View File

@@ -3754,6 +3754,7 @@ __metadata:
remark-math: "npm:^6.0.0"
remark-parse: "npm:^11.0.0"
remark-stringify: "npm:^11.0.0"
tweakpane: "npm:^4.0.5"
unified: "npm:^11.0.5"
vitest: "npm:3.0.5"
yjs: "npm:^13.6.21"
@@ -32935,7 +32936,7 @@ __metadata:
languageName: node
linkType: hard
"tweakpane@npm:^4.0.4":
"tweakpane@npm:^4.0.4, tweakpane@npm:^4.0.5":
version: 4.0.5
resolution: "tweakpane@npm:4.0.5"
checksum: 10/7719a15ce96dd2b936b277239ccb18ee6a75ed2416a6bdacfc537515d909da6edd50161b12e91441ace5243efad3a14a98fe6e5475cae2617d7647a197117e64