Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(editor): table block cell width adjust (#10087)

zzj37204b8ff6b196fa
diff --git a/blocksuite/affine/block-table/src/table-cell.ts b/blocksuite/affine/block-table/src/table-cell.ts
index 3fee7b6135..af05a9ad1d 100644
--- a/blocksuite/affine/block-table/src/table-cell.ts
+++ b/blocksuite/affine/block-table/src/table-cell.ts
@@ -631,15 +631,7 @@ export class TableCell extends SignalWatcher(
@mouseenter=${mouseEnter}
@mouseleave=${mouseLeave}
style=${style(showWidthAdjustIndicator || showIndicator === 'right')}
- data
- -
- width
- -
- adjust
- -
- column
- -
- id=${this.column?.columnId}
+ data-width-adjust-column-id=${this.column?.columnId}
class=${columnRightIndicatorStyle}
></div>`;
}