[TYPO3] RTE not allowing align= directives

James Corell jcorell at e-p-c-s.com
Thu Feb 8 21:45:08 CET 2007


OK, so I've added
RTE.default.proc.keepPDIVattribs = align, class, style
to my Page TS, and still no luck. Why is the RTE stripping out align tags?

James



-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de]On Behalf Of James
Corell
Sent: Thursday, February 08, 2007 2:53 PM
To: TYPO3 English
Subject: [TYPO3] RTE not allowing align= directives


Real question this time, I swear.

For the life of me, I can't get the RTE to allow me to use both CSS classes
and "align" directives in "p" tags. The RTE allows me to set it, but when I
save, the HTML processor strips the "align" statement out.

I'm using T3 4.0.4 and rtehtmlarea 1.4.3. My TS looks like this:

RTE.classes {
  bodytext {
    name = Body Text
    value = font-family: Verdana; font-size: 10pt;
    }
  HD {
    name = Orange Header
    value = font-family: Verdana; font-size: 12pt; color: #FF9900;
font-weight: bold;
    }
  }
RTE.default {
  disabled = 0

  # I'm unsure about the following:
  contentCSS = fileadmin/template/rte.css
  useCSS = 1
  enableWordClean = 1
  disableEnterParagraphs = 0
  # The preceding may or may not be necessary

  showButtons = blockstylelabel, blockstyle, textstylelabel, textstyle,
format block, cut, copy, paste, bold, italic, underline, left, center,
right, orderedlist, unorderedlist, outdent, indent, link, image, line, user,
chMode
  hideButtons = table, emoticon, fontstyle, fontsize, textcolor, bgcolor,
class
  hidePStyleItems = H1,H2,H3,H4,H5,H6,PRE
  classesParagraph = bodytext, HD
  classesCharacter = bodytext, HD
  showTagFreeClasses = 1
  }
RTE.config.tt_content.bodytext.proc.allowedClasses = bodytext, HD
RTE.config.tt_content.bodytext.proc.allowedTags = p, blockquote



-------------------------
James Corell
EPCS, 111 W. Mitchell St. Suite E, Gaylord, MI 49735
DSL for Businesses - Websites That Work!
jcorell at e-p-c-s.com www.e-p-c-s.com
989-732-1366 (fax 989-732-0893)


_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english




More information about the TYPO3-english mailing list