Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@udecode/[email protected]
Patch Changes
useNodePath(node: TNode)
: memoizedfindPath
(useMemo
)usePath(pluginKey?: string)
: memoizedfindPath
(context)PlateElementProps
now includespath
prop, also accessible usingusePath
@udecode/[email protected]
Patch Changes
#3878 by @zbeyens – Additional breaking changes to v41:
useDraggableState
. Useconst { isDragging, previewRef, handleRef } = useDraggable
useDraggableGutter
. SetcontentEditable={false}
to your gutter elementprops
fromuseDropLine
. SetcontentEditable={false}
to your drop line elementwithDraggable
,useWithDraggable
. UseDraggableAboveNodes
instead@udecode/[email protected]
Patch Changes
#3878 by @zbeyens –
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 usessetColumns
if we're already in a column group.layout
prop fromcolumn_group
nodes. We're now only relying oncolumn
width
prop. You can unsetlayout
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
: renamelayout
tocolumns
setColumnWidth
,useColumnState
. UsesetColumns
instead@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]