mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-29 08:09:52 +08:00
chore: merge blocksuite source code (#9213)
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import { BlockComponent } from '@blocksuite/block-std';
|
||||
import { nothing } from 'lit';
|
||||
|
||||
import type { SurfaceBlockModel } from './surface-model.js';
|
||||
import type { SurfaceBlockService } from './surface-service.js';
|
||||
|
||||
export class SurfaceBlockVoidComponent extends BlockComponent<
|
||||
SurfaceBlockModel,
|
||||
SurfaceBlockService
|
||||
> {
|
||||
override render() {
|
||||
return nothing;
|
||||
}
|
||||
}
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
'affine-surface-void': SurfaceBlockVoidComponent;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user