# Add text field and RTE to sender tab of powermail plugin flexform
tx_powermail.flexForm.addField.settings\.flexform\.sender\.doi_subject {
  _sheet = sender
  label = LLL:EXT:powermail_doi/Resources/Private/Language/locallang.xlf:confirmationMail_subject
  config.type = input
}

tx_powermail.flexForm.addField.settings\.flexform\.sender\.doi_body {
  _sheet = sender
  label = LLL:EXT:powermail_doi/Resources/Private/Language/locallang.xlf:confirmationMail_body
  config.type = text
  #defaultExtras = richtext[]:rte_transform[mode = ts_css]
  config.enableRichtext = 1
  config.richtextConfiguration = default

}

tx_powermail.flexForm.addField.settings\.flexform\.thx\.optin_seeMail {
  _sheet = thx
  label = LLL:EXT:powermail_doi/Resources/Private/Language/locallang.xlf:optin_seeMail_label
  #defaultExtras = richtext[]:rte_transform[mode = ts_css]
  config.type = text
  config.enableRichtext = 1
  config.richtextConfiguration = default
}

######
# Register new link wizard tab
######
TCEMAIN.linkHandler.doi {
  handler = Bgm\PowermailDoi\DoiLinkHandler
  label = Powermail DoubleOptIn Link (nur Bestätigungsmail)
  displayAfter = mail
  configuration {
  }
}
