code: function(e) {
      if (this.isParam) {
        if (e) { e.preventDefault(); }
  
        var textArea = $('textarea', $(this.el.parentNode.parentNode.parentNode));
        if ($.trim(textArea.val()) === '') {
          textArea.val(this.model.sampleJSON);
        }
      }
    }
docs: handler for snippet to text area