mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-18 02:21:51 +08:00
refactor(editor): remove legacy block service spec slots (#11013)
This commit is contained in:
@@ -43,6 +43,7 @@ import {
|
||||
compareLayer,
|
||||
type GfxBlockElementModel,
|
||||
type GfxCompatibleProps,
|
||||
GfxControllerIdentifier,
|
||||
type GfxModel,
|
||||
type GfxPrimitiveElementModel,
|
||||
type SerializedElement,
|
||||
@@ -406,7 +407,7 @@ export class EdgelessClipboardController extends PageClipboard {
|
||||
}
|
||||
|
||||
private get selectionManager() {
|
||||
return this.host.service.selection;
|
||||
return this.std.get(GfxControllerIdentifier).selection;
|
||||
}
|
||||
|
||||
private get std() {
|
||||
|
||||
Reference in New Issue
Block a user