disableEditMode() {
    if (!this.isInEditMode()) {
      return false;
    }
    this.parent.setEditingState(true);
    this.#isInEditMode = false;

    return true;
  }
Disable edit mode.
@returns {boolean} - true if the edit mode has been disabled.