changeElement (elem, attrs, text) {
    if (!this.undoManager_) { return this }
    this.addCommand_(new ChangeElementCommand(elem, attrs, text))
    return this
  }
Add a `ChangeElementCommand` to the history or current batch command.
@param {Element} elem - The DOM element that was changed
@param {module:history.CommandAttributes} attrs - An object with the attributes to be changed and the values they had *before* the change
@param {string} [text] - An optional string visible to user related to this change
@returns {module:history.HistoryRecordingService}