Releases: portabletext/editor
@portabletext/plugin-sdk-value@5.0.5
Patch Changes
-
#2227
687bbbfThanks @christianhg! - FixuseEffectdependency array inSDKValuePlugin— destructurepropsinto primitive values (documentId,documentType,path) to prevent subscriptions from being torn down and re-created on every parent re-render. -
#2220
a5875feThanks @christianhg! - fix: defer SDK sync when editor has pending writes
@portabletext/toolbar@6.0.4
Patch Changes
- Updated dependencies [
a3eb985]:- @portabletext/editor@5.0.4
@portabletext/plugin-typography@6.0.4
@portabletext/plugin-typeahead-picker@4.0.4
@portabletext/plugin-sdk-value@5.0.4
Patch Changes
-
#2209
f5dc492Thanks @christianhg! - fix: suppress echo callback on local writes in SDKValuePluginAdd a local-write flag to prevent the SDK change subscriber from
sending spurious patches back to the editor after a local edit.
The entire chain from setSdkValue to onSdkValueChange is synchronous,
so the flag reliably distinguishes local writes from remote changes. -
#2209
600f87aThanks @christianhg! - fix: switch SDKValuePlugin from patch to mutation eventSwitch from
editor.on('patch')toeditor.on('mutation')to reduce
SDK store updates from N-per-keystroke to 1-per-action. The mutation
event batches patches by operation and debounces during typing (250ms).
It also includes the editor value, avoiding an extra snapshot read. -
Updated dependencies [
a3eb985]:- @portabletext/editor@5.0.4
@portabletext/plugin-paste-link@2.0.4
Patch Changes
- Updated dependencies [
a3eb985]:- @portabletext/editor@5.0.4
@portabletext/plugin-one-line@5.0.4
Patch Changes
- Updated dependencies [
a3eb985]:- @portabletext/editor@5.0.4
@portabletext/plugin-markdown-shortcuts@6.0.4
@portabletext/plugin-input-rule@3.0.4
Patch Changes
-
#2219
8945679Thanks @christianhg! - fix: smart undo with Backspace now works after input rules that produce inline objects -
Updated dependencies [
a3eb985]:- @portabletext/editor@5.0.4