/**
 * Editor main file
 *
 * jQuery plugin
 */

import $ from "jquery";
import Editor from "./editor.js";

$.fn.markdownEditor = function( options ) {

    if ( !$.isPlainObject( options ) ) {
        options = {};
    }

    this.each(function() {

        let $this = $( this );

        // Store this on the element
        $this.data( "__jquery-markdown-editor",
                    new Editor( $this, options ) );

    });

    return this;
};

@@ -101,16 +101,48 @@
 r.js%22;%0A%0A
+console.log( %22SHOULD ERROR%22 );%0A%0A
 $.fn.mar

Save before port