getDoc

Returns the Document for the editable area of the Editor.

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

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

        var doc = $("#editor").getDoc();
        $(doc.body).css("background-color", "red");
    });
</script>