TinyMCE5 editor issue on hide-show

Hi,
the first time I show the editor there is no problem, but when I hide it and subsequently show it, the contents of the editor are deleted and I can no longer perform operations on it.
In the snippet below there is a checkbox to hide and show the editor with the consequent demonstration of the problem.
Snippet: https://snippet.webix.com/mbbpohc8

Hello @jonny ,
As a solution, you can call getEditor(true) to get Promise object, use editor in callback and hide/show it:

$$("editor").getEditor(true).then(editor=>{
  editor.show();
  })
})
Example:
https://snippet.webix.com/d726hht0