Hallo zusammen,

wenn man im RTE auf die HTML Ansicht wechselt und dort
HTML schreibt, sollte dieses bei der Ausgabe nicht verändert werden.

Welche Einstellungen im TS und Page TS müssen denn getroffen werden, dass dieses HTML unverändert ausgegeben wird?

Hier mal meine Konfiguration im Page TS:

RTE >
RTE.classes {
        left {
            name = Bild links
            value = float: left;
        }
        right {
            name = Bild rechts
            value = float: right;
        }
    }

RTE.default.contentCSS = fileadmin/templates/style/rte.css
RTE.default.classesCharacter = fancy,neato,ugly
RTE.default.classesAnchor = intern
RTE.default.showTagFreeClasses = 1
RTE.default.disableEnterParagraphs = 1
RTE.default.enableWordClean = 1

RTE.config.tt_content.bodytext.showButtons = formatblock, textstylelabel, headline, bold, italic, underline, orderedlist, unorderedlist, link, image, removeformat, findreplace, insertcharacter, undo, redo, chMode, blockstyle RTE.config.tt_news.bodytext.showButtons = formatblock, textstylelabel, headline, bold, italic, underline, orderedlist, unorderedlist, link, image, removeformat, findreplace, insertcharacter, undo, redo, chMode, blockstyle RTE.default.hideButtons = size, textcolor, textstyle, insertcharacter, line, blockstylelabel, fontstyle, fontsize, strikethrough, showhelp, lefttoright, about, righttoleft, textindicator, emoticon, user, left, center, right, spellcheck, inserttag, outdent, indent, justifyfull, subscript, superscript, acronym, copy, cut, paste, toggleborders,table, tableproperties, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit, cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge RTE.default.showButtons = formatblock, textstylelabel, headline, bold, italic, underline, orderedlist, unorderedlist, link, image, removeformat, findreplace, insertcharacter, undo, redo, chMode, blockstyle RTE.default.hidePStyleItems = H1, H2, H4, H5, H6, pre, address, div, blockquote

RTE.default.proc {
allowTags = i,strong,em,table, tbody, tr, th, td, h1, h2, h3, h4, h5, h6, div, p, br, span, ul, ol, li, pre, blockquote, strong, em, a, img, hr, tt, q, cite, abbr, acronym, address,
  overruleMode = ts_css
  dontConvBRtoParagraph = 1
  internalizeFontTags = 0
  allowTagsOutside = img,hr,address
  denyTags = sup,sub,strike,center,u
  entryHTMLparser_db = 1
  entryHTMLparser_db {
    allowTags < RTE.default.proc.allowTags
    xhtml_cleaning = 1
    htmlSpecialChars = 0
noAttrib = b, i, u, strike, sub, sup, strong, em, quote, blockquote, cite, tt, br, center
    tags.hr.allowedAttribs = class
    tags.span.allowedAttribs = class
    tags.b.remap = strong
    tags.i.remap = em
    ##removeTags = sdfield
    keepNonMatchedTags = protect
  }
}

Auch das b Tag wird nicht durch Strong ersetzt. Irgendwas mache ich hier wohl falsch...

Im Setup TS steht dann noch folgendes:

# RTE Parsing Funktionen
lib.parseFunc_RTE {

        nonTypoTagStdWrap.encapsLines {


               encapsTagList = div,p,pre,h1,h2,h3,h4,h5,h6
               remapTag.DIV >
               nonWrappedTag >
               innerStdWrap_all.ifBlank = &nbsp;
               addAttributes.P.class =
               addAttributes.P.class.setOnly = blank
       }
}

Vielen Dank und beste Grüße,

Chris
_______________________________________________
TYPO3-german mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an