Hallo Liste,
hab etliche Ansätze in Foren auch in alten Listenposts duchwühlt, aber der RTE macht nicht, was ich von ihm will: <img>-Tags ausserhalb von <p>-Tags zulassen und nicht automatisch zu umschließen,

dabei habe ich Extra in der TS-config stehen:

RTE.default.proc {
       # tags die erlaubt / verboten sind
allowTags = 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, dl, dt, dd
       denyTags = font
       # br wird nicht zu p konvertiert
       dontConvBRtoParagraph = 1

       # tags sind erlaubt außerhalt von p, div
       allowTagsOutside = img, hr
}


und im Setup steht u.a. folgendes:

##wichtig, damit die nicht in p gewrappt werden
lib.parseFunc_RTE.externalBlocks = table, blockquote, ol, ul, hr, img, dl
lib.parseFunc_RTE.externalBlocks.hr.stripNL = 1
...
# rte bullet list conf with additional parsing of bulletlists
 tt_content.text.20.parseFunc {
    # Regelt was NICHT in P-tags gewrappt wird...
    externalBlocks = h1, h2, h3, p, ul, ol, dl, div, table, img
#verhindert dass um die <ul> und <ol> tags <p>&nbsp;</p> ausgegeben wird
    externalBlocks.dl.stripNL = 1
    externalBlocks.ol.stripNL = 1
    externalBlocks.ul.stripNL = 1
    externalBlocks.h1.stripNL = 1
    externalBlocks.h2.stripNL = 1
    externalBlocks.h3.stripNL = 1
    externalBlocks.h4.stripNL = 1
    externalBlocks.img.stripNL = 1
nonTypoTagStdWrap.textStyle.altWrap = | }

sieht jemand, was ich hier falsch mache?

Gruß und Dank
Eric
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an