mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 14:28:51 +08:00
feat(editor): table block supports drag-and-drop sorting (#10065)
close: BS-2477
This commit is contained in:
@@ -24,6 +24,7 @@ import {
|
||||
import { DefaultColumnWidth, DefaultRowHeight } from './consts';
|
||||
import type { TableDataManager } from './table-data-manager';
|
||||
|
||||
export const AddButtonComponentName = 'affine-table-add-button';
|
||||
export class AddButton extends SignalWatcher(
|
||||
WithDisposable(ShadowlessElement)
|
||||
) {
|
||||
@@ -322,6 +323,6 @@ export class AddButton extends SignalWatcher(
|
||||
}
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
'affine-table-add-button': AddButton;
|
||||
[AddButtonComponentName]: AddButton;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user