Version 1.5.2
Widget API
- Breaking change!
onRemoveAndAppend
was 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);
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 (#85)
Other
- Replaced deprecated
@babel/polyfill
(#86)