This method will force synchronization of the visual content with the textarea that holds the final html in the output.
this.app.sync.invoke();