addon/components/simple-mde.js
/**
   * @event
   * @public
   * updates the editor when the value property change from the outside
   */
@event
@public
updates the editor when the value property change from the outside
@event @public updates the editor when the value property change from the outside
didReceiveAttrs () {
    let editor = this.get('currentEditor');
    if (isEmpty(editor)) { return; }
    let cursor = editor.codemirror.getDoc().getCursor();
    editor.value(this.get('value') || '');
    editor.codemirror.getDoc().setCursor(cursor);
  }
didReceiveAttrs ( ) { let editor = this . get ( 'currentEditor' ) ; if ( isEmpty ( editor ) ) { return ; } let cursor = editor . codemirror . getDoc ( ) . getCursor ( ) ; editor . value ( this . get ( 'value' ) || '' ) ; editor . codemirror . getDoc ( ) . setCursor ( cursor ) ; }
@event
 @public
 updates the editor when the value property change from the outside
@event @public updates the editor when the value property change from the outside