plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.js
function(shouldParseHtml) {
      var textareaValue = this.textarea.getValue(false, false);
      if (textareaValue) {
        this.composer.setValue(textareaValue, shouldParseHtml);
      } else {
        this.composer.clear();
        this.editor.fire("set_placeholder");
      }
    }
function(shouldParseHtml) {
      var textareaValue = this.textarea.getValue(false, false);
      if (textareaValue) {
        this.composer.setValue(textareaValue, shouldParseHtml);
      } else {
        this.composer.clear();
        this.editor.fire("set_placeholder");
      }
    }
function ( shouldParseHtml ) { var textareaValue = this . textarea . getValue ( false , false ) ; if ( textareaValue ) { this . composer . setValue ( textareaValue , shouldParseHtml ) ; } else { this . composer . clear ( ) ; this . editor . fire ( "set_placeholder" ) ; } }
Sync value of textarea to composer
Takes care of placeholders
@param {Boolean} shouldParseHtml Whether the html should be sanitized before inserting it into the composer
Sync value of textarea to composer Takes care of placeholders