dist/jquery.inline-attachment.js
function(instance) {

    var $this = $(instance);

    return {
      getValue: function() {
        return $this.val();
      },
      insertValue: function(val) {
        inlineAttachment.util.insertTextAtCursor($this[0], val);
      },
      setValue: function(val) {
        $this.val(val);
      }
    };
  }
function(instance) {

    var $this = $(instance);

    return {
      getValue: function() {
        return $this.val();
      },
      insertValue: function(val) {
        inlineAttachment.util.insertTextAtCursor($this[0], val);
      },
      setValue: function(val) {
        $this.val(val);
      }
    };
  }
function ( instance ) { var $this = $ ( instance ) ; return { getValue : function ( ) { return $this . val ( ) ; } , insertValue : function ( val ) { inlineAttachment . util . insertTextAtCursor ( $this [ 0 ] , val ) ; } , setValue : function ( val ) { $this . val ( val ) ; } } ; }
Creates a new editor using jQuery
Creates a new editor using jQuery