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]
Major Changes
scrollContainerSelector
option in favor ofuseEditorContainerRef
Patch Changes
CopilotPlugin
: reset on mouse downCopilotPlugin
: auto trigger only on selection change@udecode/[email protected]
Major Changes
scrollContainerSelector
option in favor ofuseEditorContainerRef
@udecode/[email protected]
Major Changes
toggleColumns
in favor oftoggleColumnGroup
insertEmptyColumn
in favor ofinsertColumn
Minor Changes
ColumnPlugin
:insertColumnGroup
toggleColumnGroup
@udecode/[email protected]
Major Changes
slate-dom
as a peer dependencyslate-react
peer dependency to>=0.111.0
@udecode/[email protected]
Minor Changes
195163e6e3d612c1d016112b982e9d49213efb3d
by @zbeyens –Plate
store: addcontainerRef
. This is used by some plugins likeCursorOverlay
.useEditorContainerRef
selector hook. You can pass the returned ref to your editor scroll container.usePlateEditor
options:value
can now be a callback function to get the value from the editoreditor.key
is now usingnanoid()
editor.uid
: new property added byPlate
to uniquely identify the editor. The difference witheditor.key
is thatuid
supports SSR hydration. This can be passed to the editor container asid
prop.render.aboveNodes
andrender.belowNodes
now supportuseElement
PlatePlugin.inject
new properties:excludePlugins?: string[]
excludeBelowPlugins?: string[]
maxLevel?: number
isLeaf?: boolean
isBlock?: boolean
isElement?: boolean
getInjectMatch(editor, plugin)
to get a plugin inject match function.Patch Changes
Plate
now warns if multiple instances of@udecode/plate-core
are detected. UsesuppressInstanceWarning
to suppress the warning.@udecode/[email protected]
Minor Changes
dropEffect
is nowmove
instead ofcopy
Patch Changes
useDndNode
calls a state setter during its render function@udecode/[email protected]
Minor Changes
api.markdown.deserialize
: add second argument option:processor?: (processor: Processor) => Processor
. You could use this to add other remark plugins likeremark-gfm
.delete
text rule. This does not add support for strikethrough yet.@udecode/[email protected]
Minor Changes
idCreator
default is nownanoid(10)
filterInline
to filter inline elements. Default istrue
.NodeIdPlugin
:normalizeInitialValue
that set node ids when missing, called before mountNodeIdPlugin.configure({ normalizeInitialValue: null })
NodeIdPlugin.configure({ options: { normalizeInitialValue: true } })
@udecode/[email protected]
Minor Changes
PlateElement
adddata-block-id
ifelement.id
is defined, after editor mount to support SSR hydration.@udecode/[email protected]
Minor Changes
CursorOverlayPlugin
useCursorOverlay
now supports collapsed selection usingminSelectionWidth = 1
data-block-id
instead ofdata-key
useBlockSelected
: useid
parameter if defined@udecode/[email protected]
Patch Changes
getInjectMatch(editor, plugin)
@udecode/[email protected]
Patch Changes
@udecode/plate-selection
instead.@udecode/[email protected]
Patch Changes
@udecode/plate-core
@udecode/[email protected]
Patch Changes
getInjectMatch(editor, plugin)
@udecode/[email protected]
Patch Changes
getInjectMatch(editor, plugin)
@udecode/[email protected]
Patch Changes
@udecode/[email protected]
Patch Changes
__
.@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]
@udecode/[email protected]