refactor(editor): extract surface ref block (#9433)

This commit is contained in:
Saul-Mirone
2024-12-30 12:09:26 +00:00
parent d4053a345e
commit e526106f45
25 changed files with 196 additions and 58 deletions
@@ -0,0 +1,15 @@
import type { SurfaceRefBlockModel } from '@blocksuite/affine-model';
import { BlockComponent } from '@blocksuite/block-std';
import { nothing } from 'lit';
export class EdgelessSurfaceRefBlockComponent extends BlockComponent<SurfaceRefBlockModel> {
override render() {
return nothing;
}
}
declare global {
interface HTMLElementTagNameMap {
'affine-edgeless-surface-ref': EdgelessSurfaceRefBlockComponent;
}
}