Skip to content

Releases: udecode/plate

@udecode/[email protected]

21 Dec 01:39
cc32941
Compare
Choose a tag to compare

@udecode/[email protected]

21 Dec 19:01
775edae
Compare
Choose a tag to compare

@udecode/[email protected]

21 Dec 19:01
775edae
Compare
Choose a tag to compare

@udecode/[email protected]

20 Dec 03:42
1015a36
Compare
Choose a tag to compare

@udecode/[email protected]

20 Dec 03:42
1015a36
Compare
Choose a tag to compare

@udecode/[email protected]

20 Dec 14:53
f509f64
Compare
Choose a tag to compare

Patch Changes

@udecode/[email protected]

20 Dec 03:41
1015a36
Compare
Choose a tag to compare

Patch Changes

  • #3878 by @zbeyens

    • Add setColumns: set any number of columns of any size to a column group. Decreasing the number of columns will move the removed columns' content to the last remaining column.
    • toggleColumnGroup: now uses setColumns if we're already in a column group.
    • Remove layout prop from column_group nodes. We're now only relying on column width prop. You can unset layout prop or just leave it as it is since it's not read anymore.
    • ColumnPlugin: Added width normalization ensuring column widths always sum to 100% by automatically adjusting widths when columns are added or removed. If the sum of widths is not 100%, the difference is distributed evenly across all columns.
  • #3878 by @zbeyens – Additional breaking changes to v41:

    • insertColumnGroup: rename layout to columns
    • Remove setColumnWidth, useColumnState. Use setColumns instead

@udecode/[email protected]

20 Dec 03:42
1015a36
Compare
Choose a tag to compare

Patch Changes

  • #3878 by @zbeyens – Additional breaking changes to v41:

    • Remove useDraggableState. Use const { isDragging, previewRef, handleRef } = useDraggable
    • Remove useDraggableGutter. Set contentEditable={false} to your gutter element
    • Remove props from useDropLine. Set contentEditable={false} to your drop line element
    • Remove withDraggable, useWithDraggable. Use DraggableAboveNodes instead

@udecode/[email protected]

20 Dec 03:41
1015a36
Compare
Choose a tag to compare

Patch Changes

  • #3878 by @zbeyens
    • Add useNodePath(node: TNode): memoized findPath (useMemo)
    • Add usePath(pluginKey?: string): memoized findPath (context)
    • PlateElementProps now includes path prop, also accessible using usePath

@udecode/[email protected]

20 Dec 03:41
1015a36
Compare
Choose a tag to compare