removeElement (elem, oldNextSibling, oldParent, text) {
    if (!this.undoManager_) { return this }
    this.addCommand_(new RemoveElementCommand(elem, oldNextSibling, oldParent, text))
    return this
  }
Add a `RemoveElementCommand` to the history or current batch command.
@param {Element} elem - The DOM element that was removed
@param {Element} oldNextSibling - The element's next sibling before it was removed
@param {Element} oldParent - The element's parent before it was removed
@param {string} [text] - An optional string visible to user related to this change
@returns {module:history.HistoryRecordingService}