focus

Focuses the Editor's editable area, preserving the last active selection in that area.

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

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

        // focus the editable area
        $("#editor").swidget().focus();
    });
</script>