Is there event listener for xml changed?


#1

Hello, i am wondering if there is a way to listen to xml change ?
What i want to make is autosave function when xml change

Thank you


#2

The commandStack.changed event should be your friend.

eventBus.on('commandStack.changed', function(...) {
  // save XML
});