Javascript: TXTextControl.removeFromDom Method
Description
Closes the WebSocket connection gracefully and removes the whole editor from the DOM.
Syntax
<void> TXTextControl.removeFromDom()Examples
The following example demonstrates TXTextControl.removeFromDom in a practical document-editing workflow. Closes the WebSocket connection gracefully and removes the whole editor from the DOM.
TXTextControl.removeFromDom();