feat(editor): improve api for store, and add docs (#10941)

This commit is contained in:
Saul-Mirone committed 2025-03-17 16:30:59 +00:00
1 parent b0aa2c90fd
commit 3de7d85eea
47 files changed
+1212 -210

No files matched your search

@@ -62,7 +62,7 @@ export class EdgelessWatcher {
};
private readonly _showDragHandle = async () => {
const surfaceModel = this.widget.doc.getBlockByFlavour('affine:surface');
const surfaceModel = this.widget.doc.getModelsByFlavour('affine:surface');
const surface = this.widget.std.view.getBlock(
surfaceModel[0]!.id
) as SurfaceBlockComponent;