This repository was archived by the owner on Sep 30, 2025. It is now read-only.
Version 1.5.2
Behavior
- Cosmetic fixes to draggable surfaces: move cursor no longer shows on non-draggable surfaces + no more move cursor when editor is configured to fixed (=non-detachable) mode
Widget API
- Breaking change!
onRemoveAndAppendwas dropped in favour of the more flexibleonBatchModify. To upgrade, replace code like this:
const bodiesToRemove = [...];
const bodiesToAppend = [...];
const saveImmediately = true;
props.onRemoveAndAppend(bodiesToRemove, bodiesToAppend, saveImmediately);with the following:
const changes = [
{ 'action': 'remove', body: bodyToRemove },
{ 'action': 'remove', body: anotherBodyToRemove },
{ 'action': 'append', body: bodyToAppend }
]);
props.onBatchModify(changes);Other
- Replaced deprecated @babel/polyfill