execute (params) {
    const editorSession = params.editorSession
    editorSession.transaction((tx) => {
      return tx.switchTextType(this.config.spec)
    })
  }
Perform a switchTextType transformation based on the current selection