clone: reset "not-editable" after /EDIT modifications
This commit is contained in:
parent
e84c139034
commit
c6ffadeee7
1 changed files with 8 additions and 0 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue