mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-21 20:16:26 +08:00
feat(editor): table block supports drag-and-drop sorting (#10065)
close: BS-2477
This commit is contained in:
@@ -14,6 +14,7 @@ type Rect = {
|
||||
height: number;
|
||||
};
|
||||
|
||||
export const SelectionLayerComponentName = 'affine-table-selection-layer';
|
||||
export class SelectionLayer extends SignalWatcher(
|
||||
WithDisposable(ShadowlessElement)
|
||||
) {
|
||||
@@ -105,6 +106,6 @@ export class SelectionLayer extends SignalWatcher(
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
'affine-table-selection-layer': SelectionLayer;
|
||||
[SelectionLayerComponentName]: SelectionLayer;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user