Skip to content

Instantly share code, notes, and snippets.

@alrnz
Created April 15, 2016 15:12
Show Gist options
  • Save alrnz/80445b4b0cd1285818229bf19ee24f25 to your computer and use it in GitHub Desktop.
Save alrnz/80445b4b0cd1285818229bf19ee24f25 to your computer and use it in GitHub Desktop.
Add special custom format to TYPO3 RTE
RTE.default.userElements {
10 = Hoch und Tief
10 {
1 = Hochgestellt
1.description = Potenz hochgestellt
1.mode = wrap
1.content = <sup>|<sup>
2 = Index
2.description = Index tiefgestellt
2.mode = wrap
2.content = <sub>|<sub>
}
}
RTE.default.showButtons := addToList(user)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment