preliminary undo-redo fixes

This commit is contained in:
Kevin Jahns
2018-02-15 17:58:14 +01:00
parent 4855b2d590
commit f1f1bff901
8 changed files with 73 additions and 72 deletions

View File

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