github udecode/plate @udecode/plate-table@20.0.0

latest releases: @udecode/plate-table@38.0.6, @udecode/plate@38.0.6, @udecode/plate-utils@38.0.6...
18 months ago

Major Changes

  • #2251 by @zbeyens
    • TablePlugin option disableUnsetSingleColSize has been renamed and inverted into enableUnsetSingleColSize. New default is disabled. Migration:
      • if using disableUnsetSingleColSize: true, the option can be removed
      • if using disableUnsetSingleColSize: false, use enableUnsetSingleColSize: true
    • getTableColumnIndex second parameter type is now: cellNode: TElement

Minor Changes

  • #2251 by @zbeyens
    • TablePlugin new option: initialTableWidth – If defined, a normalizer will set each undefined table colSizes to this value divided by the number of columns. Merged cells not yet supported. If not defined, the table column sizes will stay to auto.
    • insertTableColumn: if option initialTableWidth is defined, the column size will be set to (a) the size of the next column if defined, (b) the size of the current column if it's the last one or (c) initialTableWidth / colSizes.length. If not defined, the column size stays to auto.
    • Headless UI:
      • TableElement:
        • onMouseDown will collapse the selection if some cells are selected
      • TableCellElement
        • new prop resizableProps.step?: number: Resize by step instead of by pixel.
      • TableRowElement

Don't miss a new plate release

NewReleases is sending notifications on new releases.