_onChangeType (newType) {
    const oldType = this.type
    if (newType !== oldType) {
      const oldSelection = this.editor.getDomSelection()
      this.changeType(newType)
      const newSelection = this.editor.getDomSelection()

      this.editor._onAction('changeType', {
        path: this.getInternalPath(),
        oldType,
        newType,
        oldSelection,
        newSelection
      })
    }
  }
Change the type of the node's value
@param {String} newType
@private