editor: error in sidepanel child remover
This commit is contained in:
parent
3a35d5a0a1
commit
690a031c3d
1 changed files with 0 additions and 1 deletions
|
|
@ -147,7 +147,6 @@ module.exports = function editField(editor, widget, propName, defaultValue){
|
|||
|
||||
case 'remove':
|
||||
var index = DOM.index(e.target.closest('li'))
|
||||
widget.children.splice(index,1)
|
||||
widget.props[propName].splice(index,1)
|
||||
updateWidget(widget, {removedIndexes: [index] })
|
||||
editor.pushHistory({removedIndexes: [index] })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue