destroy

The destroy() method destroys the instance of the Editor widget.

<textarea id="editor"></textarea>

<script type="text/javascript">
    jQuery(function ($) {
        $('#editor').shieldEditor();

        $("#editor").swidget().destroy();
    });
</script>