[Typo3] Typo3-english Digest, Vol 24, Issue 27How i can remove from content <font face>

Calin Borz calin at reea.net
Wed Sep 7 12:35:08 CEST 2005


I need to ahve in the online site the text without this <p><font 
face="Arial,Helvetica,Sans serif">Text... ..

I try it to put in the TS ref

RTE.config.tt_content.bodytext.proc.allowedClasses >

RTE.classes {

  bannerTextSmall {
    name = Banner Text Small
    value = font-family: Verdana, Arial, Helvetica, sans-serif; 
font-size: 15px; color: #CC53A0; font-weight: bold;
  }

  bannerTextBig {
    name = Banner Text Big
    value = font-family: Verdana, Arial, Helvetica, sans-serif; 
font-size: 18px; color: #CC53A0; font-weight: bold;
  }
  pinkTitle {
    name = Title Pink
    value = font-family: Arial, Helvetica, sans-serif; font-size: 14px; 
font-weight: bold; color: #D0539A;
  }
  lightgreenTitle {
    name = Title Light Grren
    value = font-family: Arial, Helvetica, sans-serif; font-size: 14px; 
font-weight: bold; color: #81D65B;
  }

  orangeText {
    name = Orange Text
    value = font-family: Arial, Helvetica, sans-serif; font-size: 12px; 
font-weight: bold; color: #D7712D;
  }
  orangeLink {
    name = Orange Link
    value = font-family: Arial, Helvetica, sans-serif; font-size: 12px; 
font-weight: bold; color: #D7712D;
  }
  greenLink {
    name = Green Link
    value = font-family: Arial, Helvetica, sans-serif; font-size: 12px; 
font-weight: bold; color: #81D65B;
  }
  lightblueLink {
    name = Light Blue Link
    value = font-family: Arial, Helvetica, sans-serif; font-size: 12px; 
font-weight: bold; color: #1683D8;
  }

  description {
    name = Description Text
    value = color: #000000; font-family:  Arial, Helvetica, sans-serif; 
font-size: 14px; font-weight: bold;
  }
  blackBodyText {
    name = Black Bold Text
    value = color: #000000; font-family: Verdana, arial; font-size: 
11px; font-weight: bold;
  }
  bodytext {
    name = Body Text
    value = color: #000000; font-family: Verdana, arial; font-size: 11px;
  }
  description {
    name = Description
    value = font-family: Verdana, Arial, Helvetica, sans-serif; 
font-size: 11px; color: #000000;
  }
    price {
    name = Price
    value = font-family: Verdana, Arial, Helvetica, sans-serif; 
font-size: 18px; color: #1D75B3; font-weight: bold;
  }


  tableHeadCell {
     name = Table header
     value = color: #000000; font-family: Verdana, arail; font-size: 
13px; font-weight: bold; background-color: #FEE0BE;
  }

}

RTE.default.classesCharacter = bannerTextSmall, bannerTextBig, 
lightgreenTitle, orangeText, orangeLink, blackBodyText, bodytext, 
description, pinkTitle, greenLink, lightblueLink, description
RTE.default.classesTD = tableHeadCell
RTE.config.tt_content.bodytext.proc.allowedClasses = bannerTextSmall, 
bannerTextBig, lightgreenTitle, orangeText, blackBodyText, 
tableHeadCell, bodytext, description, pinkTitle, orangeLink, greenLink, 
lightblueLink, description
RTE.default >
RTE.default {

  classesCharacter = bannerTextSmall, bannerTextBig, lightgreenTitle, 
orangeText,orangeLink, blackBodyText, orangeHeaderText, bodytext, 
description, pinkTitle, greenLink, lightblueLink, description
  classesTD = tableHeadCell
  proc.preserveTables = 1
  proc.allowTags = table, tr, td, TBODY, TABLE, br
  showButtons = table
  proc.allowTags = table,tbody,tr,td,span
  proc.allowTagsInTypolists=br,font, b,i,u,a,img,span,li,ul,ol,h1,h2,h3
  proc.denyTags = h4,style, margin
  proc.dontConvBRtoParagraph = 1
}


RTE.default.proc.overruleMode = css_css


but son't work too.

If someone have one solution, let me know please

Calin Borz





More information about the TYPO3-english mailing list