fix(editor): table block readonly support (#10224)

close: BS-2597
This commit is contained in:
zzj3720
2025-02-17 10:19:00 +00:00
parent 29d8824479
commit e4f2223a2a
4 changed files with 32 additions and 18 deletions
@@ -171,7 +171,7 @@ export class TableBlockComponent extends CaptionedBlockComponent<TableBlockModel
}
)}
</tbody>
${IS_MOBILE
${IS_MOBILE || this.dataManager.readonly$.value
? nothing
: html`<affine-table-add-button
style="display: contents;"