Skip to content

v53.5.0

Choose a tag to compare

@github-actions github-actions released this 23 Sep 03:35
0c52d2f

@lofcz/platejs-ai

Minor Changes

  • ea98a5c: Rework direct AI edits around a structural diff and a minimal live-tree commit, so unaffected nodes keep their identity and large documents no longer lag while edits apply.

    • Play edits back with a typing caret and fading trail, fade removed blocks out as ghosts before inserting the replacement, and highlight rewritten words.
    • Add AIChangesPlugin: changed sections stay highlighted until the user hovers them, types into them, or a new edit session starts. A hover chip lets the user keep or revert each change.
    • applyAnimatedAIEdit(editor, value, options) commits the target value itself and returns the committed changes. New options: beforeValue (canonical pre-edit value), session, ignoreProps. The apply callback and getAIEditPaths are removed.
    • acceptAISuggestions and rejectAISuggestions resolve each suggestion once and also clear transient markers inside void elements.

@lofcz/platejs-core

Patch Changes

  • ea98a5c: Avoid throwing Slate lookups for missing paths in NodeApi.get, NodeApi.parent and editor.api.node; Slate serializes the whole document into those errors, which made transforms on large documents take seconds. getPluginType returns the key directly for unregistered plugins instead of building a throwaway plugin.

@lofcz/platejs-slate

Patch Changes

  • ea98a5c: Avoid throwing Slate lookups for missing paths in NodeApi.get, NodeApi.parent and editor.api.node; Slate serializes the whole document into those errors, which made transforms on large documents take seconds. getPluginType returns the key directly for unregistered plugins instead of building a throwaway plugin.

Full changelog: v53.4.13...v53.5.0