Hallo Julian,
danke für deine Antwort. Nach data-htmlarea-external="1" habe ich auch schon gegoogelt, aber nichts gefunden, was mir geholfen hätte.
Meine Links sehen enthalten keine weiteren Attribute, sie sehen einfach so aus: <a href="www.domain.de">
Jetzt ist mir eben noch aufgefallen, dass ich mich falsch ausgedrückt habe: Wenn ich einem externen Link ein Target zuweise im RTE, dann öffnet dieser auch in einem neuen Fenster. Mir geht es um die Links, die der RTE automatisch setzt - diese sind quasi einfach nur "nackt" - ohne Klasse und target.
Vielleicht fällt ja noch jemandem was dazu ein ... wäre super.
Ergänzend auch mal noch mein TSConfig:
RTE.default {
buttons.link.properties.class.allowedClasses := removeFromList(external-link,external-link-new-window,internal-link-new-window,internal-link,download,mail)
RTEHeightOverride = 600
RTEWidthOverride = 800
contentCSS = fileadmin/templates/css/rte_mrl-sprechstunde.css
useCSS = 0
buttons.textstyle.tags.span.allowedClasses = crossheadline_gray, crossheadline_red, text_red, headline_presenter
buttons.blockstyle.tags.div.allowedClasses = crossheadline_gray, crossheadline_red, text_red, headline_presenter
showTagFreeClasses = 1
## Shown and hidden buttons of RTE
showButtons = textstyle, textstylelabel, blockstyle, blockstylelabel, bold, italic, underline, left, center, right, subscript, superscript, outdent, indent, orderedlist, unorderedlist, insertcharacter, line, link, image, removeformat, table, toggleborders, tableproperties, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit, cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge, insertcharacter, undo, redo, copy, cut, paste, textcolor, bgcolor, chMode
hideButtons = formatblock, strikethrough,lefttoright, righttoleft, textindicator, emoticon, user, spellcheck, justifyfull, acronym, showhelp, about, findreplace, inserttag, fontstyle, fontsize
keepButtonGroupTogether = 1
showStatusBar = 1
## enables following table-options
disableSpacingFieldsetInTableOperations = 0
disableAlignmentFieldsetInTableOperations = 0
disableColorFieldsetInTableOperations = 0
disableLayoutFieldsetInTableOperations = 0
disableBordersFieldsetInTableOperations = 0
proc {
## <br> is not been converted to <p>
dontConvBRtoParagraph = 1
## allowed attributes in p, div tags
keepPDIVattribs = align, class, style, id
## allowed tags outside p, div tags
allowTagsOutside = img,hr,span
## allowed tags outside <p>
allowTags = font, table, tbody, tr, th, td, h1, h2, h3, h4, h5, h6 div, p, br, span, ul, ol, li, re, blockquote, strong, em, b, i, u, sub, sup, strike, a, img, nobr, hr, tt, q, cite, abbr, acronym, center
denyTags =
## Content to database
entryHTMLparser_db = 1
entryHTMLparser_db {
## tags are allowed/denied
allowTags < RTE.default.proc.allowTags
denyTags < RTE.default.proc.denyTags
## align attribute are allowed
tags {
p.fixAttrib.align.unset >
p.allowedAttribs = class, style, align
div.fixAttrib.align.unset >
hr.allowedAttribs = class, style
span.allowedAttribs = class, style
## b und i tags werden ersetzt (em / strong)
b.remap = strong
i.remap = em
# img tags are allowed
img >
}
}
## end of content to database
}
## end of proc
}
## end of RTE.default
Danke und viele Grüße
Shaahira