inspector: reset code editor undo history at init
This commit is contained in:
parent
8872d68b7c
commit
e61202f147
1 changed files with 1 additions and 0 deletions
|
|
@ -214,6 +214,7 @@ class UiInspectorField extends UiWidget {
|
|||
|
||||
this.container.appendChild(editor.element)
|
||||
setTimeout(()=>{
|
||||
editor.getSession().getUndoManager().reset()
|
||||
editor.resize()
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue