Skip to content

Releases: portabletext/editor

@portabletext/plugin-sdk-value@5.0.5

20 Feb 17:51

Choose a tag to compare

Patch Changes

  • #2227 687bbbf Thanks @christianhg! - Fix useEffect dependency array in SDKValuePlugin — destructure props into primitive values (documentId, documentType, path) to prevent subscriptions from being torn down and re-created on every parent re-render.

  • #2220 a5875fe Thanks @christianhg! - fix: defer SDK sync when editor has pending writes

@portabletext/toolbar@6.0.4

19 Feb 16:26

Choose a tag to compare

Patch Changes

  • Updated dependencies [a3eb985]:
    • @portabletext/editor@5.0.4

@portabletext/plugin-typography@6.0.4

19 Feb 16:26

Choose a tag to compare

Patch Changes

  • Updated dependencies [a3eb985, 8945679]:
    • @portabletext/editor@5.0.4
    • @portabletext/plugin-input-rule@3.0.4

@portabletext/plugin-typeahead-picker@4.0.4

19 Feb 16:26

Choose a tag to compare

Patch Changes

  • Updated dependencies [a3eb985, 8945679]:
    • @portabletext/editor@5.0.4
    • @portabletext/plugin-input-rule@3.0.4

@portabletext/plugin-sdk-value@5.0.4

19 Feb 16:26

Choose a tag to compare

Patch Changes

  • #2209 f5dc492 Thanks @christianhg! - fix: suppress echo callback on local writes in SDKValuePlugin

    Add 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 600f87a Thanks @christianhg! - fix: switch SDKValuePlugin from patch to mutation event

    Switch from editor.on('patch') to editor.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

19 Feb 16:26

Choose a tag to compare

Patch Changes

  • Updated dependencies [a3eb985]:
    • @portabletext/editor@5.0.4

@portabletext/plugin-one-line@5.0.4

19 Feb 16:26

Choose a tag to compare

Patch Changes

  • Updated dependencies [a3eb985]:
    • @portabletext/editor@5.0.4

@portabletext/plugin-markdown-shortcuts@6.0.4

19 Feb 16:26

Choose a tag to compare

Patch Changes

  • Updated dependencies [a3eb985, 8945679]:
    • @portabletext/editor@5.0.4
    • @portabletext/plugin-input-rule@3.0.4
    • @portabletext/plugin-character-pair-decorator@6.0.4

@portabletext/plugin-input-rule@3.0.4

19 Feb 16:26

Choose a tag to compare

Patch Changes

  • #2219 8945679 Thanks @christianhg! - fix: smart undo with Backspace now works after input rules that produce inline objects

  • Updated dependencies [a3eb985]:

    • @portabletext/editor@5.0.4

@portabletext/plugin-emoji-picker@5.0.4

19 Feb 16:26

Choose a tag to compare

Patch Changes

  • Updated dependencies [a3eb985, 8945679]:
    • @portabletext/editor@5.0.4
    • @portabletext/plugin-input-rule@3.0.4