mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
@@ -16,12 +16,6 @@ export class FrameViewExtension extends ViewExtensionProvider {
|
||||
|
||||
override setup(context: ViewExtensionContext): void {
|
||||
super.setup(context);
|
||||
if (
|
||||
context.scope === 'edgeless' ||
|
||||
context.scope === 'preview-edgeless' ||
|
||||
context.scope === 'mobile-edgeless'
|
||||
) {
|
||||
context.register(FrameBlockSpec);
|
||||
}
|
||||
context.register(FrameBlockSpec);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user