clone: reset "not-editable" after /EDIT modifications

This commit is contained in:
bordun 2020-04-22 13:51:47 +02:00
parent bf639fa10c
commit 892aa02ceb

View file

@ -95,6 +95,14 @@ class Clone extends Container() {
}, {context: this})
this.on('widget-created', (e)=>{
if (e.widget !== this) {
e.widget.container.classList.add('not-editable')
}
})
}
getCloneTarget() {