Zum Inhalt springen

RTE & TemplaVoila: aus <b>text</b> wird btext/b

Erstellt am 5. Januar 2006 · Noch keine Antworten

Tags: Frage

kitekat ·

Hallo TYPO3-Profis,

Folgendes Problem:
Der RTE-Editor funktioniert im BE ganz wunderbar. Wenn ich den Text fett haben möchte, erzeugt er mir im BE schöne <strong>-Tags. Schaue ich mir das Ganze jedoch im FE an, sehe ich sowas:
strongtexttexttext/strong

Der stielt mir einfach die Klammern!

Ich habe mittlerweile sämtliche Foren nach dieser Problematik durchsucht und alles mögliche ausprobiert, jedoch bisher keine Lösung gefunden. Daher wäre ich Euch sehr dankbar, wenn Ihr mir helfen könntet.

Meine Konfiguration:
TYPO3 3.8.1
TemplaVoila 0.4.0
RTE 0.0.10

Mit dem HTMLEditor habe ich es übrigens auch schon versucht. Das funktioniert genauso wenig.

Page TSConfig:

RTE.default.disabled = 0 
RTE.config.proc.overruleMode = ts_css

 parseFunc < RTE.default.parseFunc_RTE
RTE.default >
RTE.default {
     useCSS = 1
     contentCSS = fileadmin/templates/main/res/style.css
     classesCharacter = title, head, h1, h2, h3

     hideButtons = left,center,right,fontstyle,fontsize,textcolor,orderedlist,outdent,indent,user,line, symbol,ColorPicker
     showButtons = formatblock, class,cut,copy,paste,bold,italic,underline,unorderedlist,link

     preserveTags = Class
     hidePStyleItems = H4, H5, H6
 
     removeTrailingBR = 1

     # Microsoft Word to be "cleaned"
     enableWordClean = 1

     # html comments to be removed
     removeComments = 1
     
     # disable the insertion of paragraphs when hitting the Enter key in Mozilla/Firefox
     disableEnterParagraphs = 0

     proc {
         #preserveTables = 1
         overruleMode = ts_css,ts_links #ts_images, ts_reglinks
         dontConvBRtoParagraph = 1
      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, a, img, nobr, hr, tt, q, cite, abbr, acronym
      allowedClasses = tipp, plain
     }
  
  hidePStyleItems = h3,h4,h5,h6,pre
 
     # parser content to rte
HTMLparser_rte {
   allowTags < RTE.default.proc.allowTags
   denyTags  < RTE.default.proc.denyTags
   allowedClasses < RTE.default.proc.allowedClasses
// DO NOT REMOVE UNMATCHED TAGS
keepNonMatchedTags = 0
 }

     # parser content to db
     proc.entryHTMLparser_db = 1
     proc.entryHTMLparser_db {
        tags.b.remap = strong
        tags.i.remap = em
       allowTags = h1, h2, div, br, span, b, a, ul, ol, li, p

       htmlSpecialChars = -1
       keepNonMatchedTags = 1
       xhtml_cleaning = 1
       allowTags < RTE.default.proc.allowTags
       denyTags  < RTE.default.proc.denyTags
       allowedClasses < RTE.default.proc.allowedClasses
    }

proc.entryHTMLparser_rte = 1
proc.entryHTMLparser_rte {
        tags.b.remap = strong
        tags.i.remap = em
       allowTags = h1, h2, div, br, span, b, a, ul, ol, li, p

       htmlSpecialChars = -1
       keepNonMatchedTags = 1
       xhtml_cleaning = 1
       allowTags < RTE.default.proc.allowTags
       denyTags  < RTE.default.proc.denyTags
       allowedClasses < RTE.default.proc.allowedClasses
}

proc.exitHTMLparser_db = 1
proc.exitHTMLparser_db {
        tags.b.remap = strong
        tags.i.remap = em
       allowTags = h1, h2, div, br, span, b, a, ul, ol, li, p

       htmlSpecialChars = -1
       keepNonMatchedTags = 1
       xhtml_cleaning = 1
       allowTags < RTE.default.proc.allowTags
       denyTags  < RTE.default.proc.denyTags
       allowedClasses < RTE.default.proc.allowedClasses
}

proc.exitHTMLparser_rte = 1
    proc.exitHTMLparser_rte {
        tags.b.remap = strong
        tags.i.remap = em
       allowTags = h1, h2, div, br, span, b, a, ul, ol, li, p

       htmlSpecialChars = -1
       keepNonMatchedTags = 1
       xhtml_cleaning = 1
       allowTags < RTE.default.proc.allowTags
       denyTags  < RTE.default.proc.denyTags
       allowedClasses < RTE.default.proc.allowedClasses
}
}


    ####### EIGENE STYLES EINFUEGEN ########################
RTE.default.classesParagraph = P, H1, H2, 

RTE.mainStyleOverride = P, H1, H2
RTE.default.mainStyleOverride_add.H1 = font-family: Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#A06831; background-color: #F3EDC7; margin-bottom: 5px; padding: 2, 0, 2, 2;
RTE.default.mainStyleOverride_add.H2 = font-family: Arial, Helvetica, sans-serif; font-size:11px; font-weight:bold; color:#704923; margin-bottom: 5px; padding: 2, 0, 2, 2;

Bitte helft mir! Ich weiß wirklich nicht mehr weiter.