[Typo3-UG Oesterreich] rtehtmlarea troubles

redacted name redacted-user at example.org
Tue Nov 30 12:13:11 CET 2004


Hallo!

Hat jemand schon Erfahrung mit rtehtmlarea von Stanislaus? Sieht 
vielversprechend aus, nur eins krieg ich nicht hin:

Wenn ich einen Style im Sprungmenü auswähle passiert folgendes:

<p class="highlight">some text</p>

Sollte aber so sein:

<p>some text not highlighted <span class="highlight">some text 
highlighted</span></p>

Diese "<span>-wrap-funktion" sollte ja funktionieren, denn mit dem 
colorpicker gehts ja auch.


Getested mit Firefox 1.0

TSconfig:(same as in manual on typo3.org)

RTE.default {
   contentCSS = fileadmin/template/rte.css
   enableWordClean = 1
   showButtons =  *
   hideButtons =
   hidePStyleItems =
   hideFontSizes =
   disableColorPicker = 0
}

RTE {
   default.proc {
    overruleMode = ts_css
    dontConvBRtoParagraph = 1
    internalizeFontTags = 1
    allowTagsOutside = img,hr
    allowTagsInTypolists = br,font,b,i,u,a,img,span
    allowTags = table, tbody, tr, th, td, h1, h2, h3, h4, h5, h6, div, 
p, br, span, ul, ol, li, pre, blockquote, strong, em, b, i, u, sub, sup, 
strike, a, img, nobr, hr, center, font
    denyTags >
    keepPDIVattribs = align,class,style
    preserveTables = 1
    entryHTMLparser_rte {
      allowTags = table, tbody, tr, th, td, h1, h2, h3, h4, h5, h6, div, 
p, br, span, ul, ol, li, pre, blockquote, strong, em, b, i, u, sub, sup, 
strike, a, img, nobr, hr, center, font
      keepNonMatchedTags = 1
      tags.span.allowedAttribs = style
    }
    entryHTMLparser_db {
      allowTags = table, tbody, tr, th, td, h1, h2, h3, h4, h5, h6, div, 
p, br, span, ul, ol, li, pre, blockquote, strong, em, b, i, u, sub, sup, 
strike, a, img, nobr, hr, center, font
      keepNonMatchedTags = 1
      tags.span.allowedAttribs = style
    }
   }
}



More information about the TYPO3-at mailing list