Vielleicht noch meine RTE Konfiguration im TSconfig, falls es dich interessiert. Allerdings bin ich da auch grad schwer am fummeln und lernen, also keine Ahnung, ob das eine abgerundete Sache ist. Momentan funzt alles, aber einiges ist sicher noch zu ergänzen.
RTE.config >
RTE.FE >
RTE.default {
## CSS-Konfiguration ##
contentCSS = fileadmin/template/main/standard_rte.css
useCSS = 1
#showTagFreeClasses = 1
## Markup options
enableWordClean = 1
disableEnterParagraph = 1
disableColorPicker = 1
disableSelectColor = 1
## Parsen ##
hideTags = font, font (full)
removeTrailingBR = 1
removeComments = 1
removeTags = center, font, o:p, sdfield, strike,u
removeTagsAndContents = style,script
showButtons (
class, blockstylelabel, blockstyle, textstylelabel, textstyle,
formatblock, bold, italic, subscript, superscript,
orderedlist, unorderedlist, outdent, indent, insertcharacter,
link, findreplace, chMode, removeformat, undo, redo, about,
)
hideButtons (
underline, left, center, right
)
## Hält die RTE Icons geordnet zusammen
keepButtonGroupTogether = 1
## br wird nicht zu p konvertiert ##
dontConvBRtoParagraph = 1
## Statusbar an oder aus
showStatusBar = 1
## erlaubte attribute in p, div tags ##
keepPDIVattribs = align,class,style,id
## Hide infrequently used paragraph types in the paragraph type selector (formatblock button)
hidePStyleItems = pre,address,h1
proc.entryHTMLparser_db.keepNonMatchedTags = 0
proc.overruleMode = ts_css
## List all class selectors that are allowed on the way to the database
proc.allowedClasses (
Infobox, wichtige_Infobox
)
classesParagraph ( Infobox, wichtige_Infobox )
classesCharacter ( )
#classesLinks = external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
## Configuration of the anchor accessibility feature (htmlArea RTE only)
## These classes should also be in the list of allowedClasses.
classesAnchor = external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
classesAnchor.default {
page = internal-link
url = external-link-new-window
file = download
mail = mail
}
}