reset hasUnsavedChanges flag

  • 1 reply.
  • This is not yet resolved.
  • This question was started by Yuriy.
  • Last post by Sjoerd Visscher.
Yuriy
user
July 8th 2010
I use external script for saving XML from Xopus. I don't use saving function of Xopus' API.

How I can with API reset hasUnsavedChanges flag?
Sjoerd Visscher
Xopus Team
July 9th 2010
The only way I can think of is to load the document again, which will have some side-effects like resetting the selection.

Editor.getActiveCanvas().loadDocument(uri, true)

React

HTML will be shown as HTML code.
Linebreaks and Links starting with http:// are automatically resolved