detach - Methods - Rubric Editor API

Rubric Editor API Methods

detach()

Removes the editor instance from the provided DOM element.

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.

Note Calling this method will not destroy the editor instance or the current editing rubric and its state.

Examples

editor.detach();

Arguments

None.

Return value

Type Promise

Resolves when the editor is detached.

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.