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.
main
is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exit
onmain
.Releases
@udecode/slate-plugins-core@1.0.0-next.29
Major Changes
dfbde8bd
Thanks @zbeyens! - changes:useTSlate
touseEditorState
useTSlateStatic
touseEditorRef
useStoreEditor
touseStoreEditorRef
useEditorId
in favor ofuseEditorRef().id
useEditorOptions
in favor ofuseEditorRef().options
useSlatePluginOptions
in favor ofgetSlatePluginOptions(useEditorRef(), pluginKey)
useSlatePluginType
in favor ofgetSlatePluginType(useEditorRef(), pluginKey)
pipeOnDOMBeforeInput
in favor ofpipeHandler
pipeOnKeyDown
in favor ofpipeHandler
SlatePluginsState
toSlatePluginsStates
State
toSlatePluginsState
OnDOMBeforeInput
in favor ofOnKeyDown
in favor ofKeyboardHandler
Minor Changes
dfbde8bd
Thanks @zbeyens! - changes:useEditableProps
(used bySlatePlugins
):onFocus: setEventEditorId('focus', id)
onBlur: setEventEditorId('blur', id)
EditorStateEffect
: a new component used bySlatePlugins
to update the editor state.setEventEditorId
: a new action. Set an editor id by event key.eventEditorStore
,useEventEditorStore
: a new store. Store where the keys are event names and the values are editor ids.useEventEditorId
: a new selector. Get the editor id byevent
key.useStoreEditorSelection
: a new selector. Get the editor selection which is updated on editor change.useStoreEditorState
: a new selector. Get editor state which is updated on editor change. Similar touseSlate
.SlatePlugin
: the previous plugin could implement the following handlers:onChange
,onDOMBeforeInput
andonKeyDown
. The plugins now implement all DOM handlers: clipboard, composition, focus, form, image, keyboard, media, mouse, selection, touch, pointer, ui, wheel animation and transition events.SlatePluginsState
(store interface):keyChange
incremented bySlatePlugins
onuseSlate
update.selection = editor.selection
updated onuseSlate
update.pipeHandler
: a new function. Generic pipe for handlers.@udecode/slate-plugins-dnd@1.0.0-next.29
Minor Changes
f1e6107c
Thanks @zbeyens! - The components/hooks can now be outsideSlatePlugins
and need theeditor to be focused once to be functional.
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-alignment-ui@1.0.0-next.29
Minor Changes
f1e6107c
Thanks @zbeyens! - The components/hooks can now be outsideSlatePlugins
and need theeditor to be focused once to be functional.
Patch Changes
f1e6107c
]:@udecode/slate-plugins-code-block-ui@1.0.0-next.29
Minor Changes
f1e6107c
Thanks @zbeyens! - The components/hooks can now be outsideSlatePlugins
and need theeditor to be focused once to be functional.
Patch Changes
f1e6107c
]:@udecode/slate-plugins-image-ui@1.0.0-next.29
Minor Changes
f1e6107c
Thanks @zbeyens! - The components/hooks can now be outsideSlatePlugins
and need theeditor to be focused once to be functional.
Patch Changes
f1e6107c
]:@udecode/slate-plugins-link-ui@1.0.0-next.29
Minor Changes
f1e6107c
Thanks @zbeyens! - The components/hooks can now be outsideSlatePlugins
and need theeditor to be focused once to be functional.
Patch Changes
f1e6107c
]:@udecode/slate-plugins-list-ui@1.0.0-next.29
Minor Changes
f1e6107c
Thanks @zbeyens! - The components/hooks can now be outsideSlatePlugins
and need theeditor to be focused once to be functional.
Patch Changes
f1e6107c
]:@udecode/slate-plugins-media-embed-ui@1.0.0-next.29
Minor Changes
f1e6107c
Thanks @zbeyens! - The components/hooks can now be outsideSlatePlugins
and need theeditor to be focused once to be functional.
Patch Changes
@udecode/slate-plugins-mention-ui@1.0.0-next.29
Minor Changes
f1e6107c
Thanks @zbeyens! - The components/hooks can now be outsideSlatePlugins
and need theeditor to be focused once to be functional.
Patch Changes
@udecode/slate-plugins-table-ui@1.0.0-next.29
Minor Changes
f1e6107c
Thanks @zbeyens! - The components/hooks can now be outsideSlatePlugins
and need theeditor to be focused once to be functional.
Patch Changes
f1e6107c
]:@udecode/slate-plugins-toolbar@1.0.0-next.29
Minor Changes
f1e6107c
Thanks @zbeyens! - The components/hooks can now be outsideSlatePlugins
and need theeditor to be focused once to be functional.
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-autoformat@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-break@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-common@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-alignment@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-basic-elements@1.0.0-next.29
Patch Changes
@udecode/slate-plugins-block-quote@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-block-quote-ui@1.0.0-next.29
Patch Changes
@udecode/slate-plugins-code-block@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-heading@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-image@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-link@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-list@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-media-embed@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-mention@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-paragraph@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-table@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-find-replace@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-find-replace-ui@1.0.0-next.29
Patch Changes
f1e6107c
]:@udecode/slate-plugins-basic-marks@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-highlight@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-kbd@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-node-id@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-normalizers@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-placeholder@1.0.0-next.29
Patch Changes
#668
f1e6107c
Thanks @zbeyens! - Set the cursor totext
when hovering the placeholderUpdated dependencies [
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-reset-node@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-select@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-html-serializer@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-md-serializer@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
,f1e6107c
,f1e6107c
]:@udecode/slate-plugins-trailing-block@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]:@udecode/slate-plugins-ui-fluent@1.0.0-next.29
Patch Changes
dfbde8bd
,dfbde8bd
]: