stable
Clone or download
Read-only
request #13696: Deleting an item currently in the clipboard should clear the clipboard
The clipboard is now cleared if the deleted item was in it. The edge case of racing pasting the item then deleting it before the paste succeed (or the other way around by switching tabs) is not handled. This scenario is unlikely to happen in real life. Change-Id: I151dd1008a562e960748ec6e13c39385f664efe0
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/document/scripts/document/store/actions.js | +1 | −0 | Go to diff View file |
M | plugins/document/scripts/document/store/actions.spec.js | +32 | −0 | Go to diff View file |
M | plugins/document/scripts/document/store/clipboard/clipboard-mutations.js | +14 | −1 | Go to diff View file |
M | plugins/document/scripts/document/store/clipboard/clipboard-mutations.spec.js | +19 | −0 | Go to diff View file |