Repository navigation
v53.5.0
@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. Theapplycallback andgetAIEditPathsare removed.acceptAISuggestionsandrejectAISuggestionsresolve 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.parentandeditor.api.node; Slate serializes the whole document into those errors, which made transforms on large documents take seconds.getPluginTypereturns 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.parentandeditor.api.node; Slate serializes the whole document into those errors, which made transforms on large documents take seconds.getPluginTypereturns the key directly for unregistered plugins instead of building a throwaway plugin.
Full changelog: v53.4.13...v53.5.0