fix undo-redo

This commit is contained in:
Kevin Jahns
2018-01-30 15:51:54 -08:00
parent a81a2cd553
commit 5d3922cb64
8 changed files with 40 additions and 30 deletions

View File

@@ -6,8 +6,8 @@ export default class ItemJSON extends Item {
super()
this._content = null
}
_copy () {
let struct = super._copy()
_copy (undeleteChildren, copyPosition) {
let struct = super._copy(undeleteChildren, copyPosition)
struct._content = this._content
return struct
}