Skip to content

v54.0.0-beta.5 (2026-11-24)

Pre-release
Pre-release

Choose a tag to compare

@zbeyens zbeyens released this 24 Nov 22:20
44ee149

@platejs/cli

Published @platejs/cli@54.0.0-beta.5.

@platejs/test

Patch Changes

  • 8bee987 by @zbeyens –
    • Fix clipboard.pasteText and clipboard.pasteHtml in @platejs/test/playwright to pass a paste that a later commit follows, such as a paste rule's, and to fail a paste that landed in another editor root. Use @platejs/test with the platejs release of the same version.

platejs

Patch Changes

  • dee395d by @zbeyens –

    • Move a comment thread with its text when a drag moves all of that text, and back again on undo. A drag of part of the text leaves the thread on the part that stays. Undoing a drag and the thread's creation, then redoing both, puts the thread back on its text.
  • dca432b by @zbeyens –

    • Add fillsField(field, value) to platejs/field to check whether a value fills a field. required, the filled and blank conditions and the refusal of an answer on a skipped field all use it. A checkbox fills only when ticked. A text or signature answer needs a character other than whitespace. Any other field needs a value of its kind.
  • d2af1ef by @zbeyens –

    • Fix the ink layer holding the outline of each removed pen mark in memory while undo history can still restore that mark
  • 4081ba8 by @zbeyens –

    • Fix Markdown copied from VS Code pasting as a Markdown code block; it now pastes as headings, lists and marks
    • Paste code copied from VS Code as a code block at the caret, replacing an empty block, instead of after the current block
    • Paste text copied from a plain-text file in VS Code as plain text instead of a code block

plitejs

Patch Changes

  • dee395d by @zbeyens –
    • Keep a range anchor made with deletion: 'nearest' on its text when a drag moves all of that text within one root, instead of leaving it collapsed where the text was. Undo and redo move it back and forth. A drag of part of the range leaves the anchor on the part that stays, unless the drop rebuilds the block that holds that part. A Suggesting move keeps the anchor on the struck original until the move is decided. A copy, a drag into another editor or root and an editor bound to Yjs or plitejs/sync map the range as before.

Full changelog: v54.0.0-beta.4...v54.0.0-beta.5