Rubric Editor API Methods
detach()
Removes the editor UI from the DOM without tearing down the instance.
You would want to use this method when you want to remove the editor from the DOM, for example, when navigating away from the page or when the editor is no longer needed on screen but may be reattached later.
Note To permanently tear down the instance and release its event listeners and subscriptions, use the destroy method instead.
Examples
editor.detach();
Arguments
None.
Return value
Type Promise
Resolves when the editor is detached.