paste

The paste(contents) method is used for inserting HTML content into the editable area.

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

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

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