addon/components/simple-mde.js
/**
   * @event
   * @public
   * instantiate the editor with the contents of value
   */
@event
@public
instantiate the editor with the contents of value
@event @public instantiate the editor with the contents of value
didInsertElement () {
    this.set('currentEditor', new SimpleMDE(
      merge({
        element: document.getElementById(this.elementId)
      }, this.get('buildSimpleMDEOptions')
      )
    ));
    this.get('currentEditor').value(this.get('value') || '');
    this.get('currentEditor').codemirror.on('change', () => once(this, function() {
      if (this.change) {
        this.change(this.get('currentEditor').value())
      }
    }));
  }
didInsertElement ( ) { this . set ( 'currentEditor' , new SimpleMDE ( merge ( { element : document . getElementById ( this . elementId ) } , this . get ( 'buildSimpleMDEOptions' ) ) ) ) ; this . get ( 'currentEditor' ) . value ( this . get ( 'value' ) || '' ) ; this . get ( 'currentEditor' ) . codemirror . on ( 'change' , ( ) => once ( this , function ( ) { if ( this . change ) { this . change ( this . get ( 'currentEditor' ) . value ( ) ) } } ) ) ; }
@event
 @public
 instantiate the editor with the contents of value
@event @public instantiate the editor with the contents of value