Hallo,
ich habe jetzt schon wirklich alles ge- und versucht: Es funktioniert nicht.
Ich möchte gern eigene Formatierungsmöglichkeiten im HTMLarea RTE einfügen.
Dazu habe ich Page TSConfig /Seitentitel bearbeiten) folgendes eingefügt:
# RTE Konfiguration
RTE.default.contentCSS = fileadmin/template/css/dynamiccss.css
RTE.default.classesCharacter := addToList(neu, wichtig)
RTE.default.classesParagraph := addToList(neu, infoBox)
RTE.default.proc.allowedClasses := addToList(neu, wichtig)
RTE.default.proc.classesParagraph := addToList(neu, infoBox)
RTE.default.showTagFreeClasses = 1
# Buttons die gezeigt/versteckt werden
RTE.default.showButtons = textstyle, textstylelabel, blockstyle, blockstylelabel, bold, italic, underline, left, center, right, orderedlist, unorderedlist, insertcharacter, line, link, image, removeformat, table, toggleborders, tableproperties, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit, cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge, findreplace, insertcharacter, undo, redo, showhelp, about
RTE.default.hideButtons = fontstyle, formatblock, fontsize, strikethrough,lefttoright, righttoleft, textcolor, bgcolor, textindicator, emoticon, user, spellcheck, chMode, inserttag, outdent, indent, justifyfull, subscript, superscript, acronym, copy, cut, paste
und eine Style_Datei, die auch in meine Hauptstyle-Datei importiert wird, abgelegt:
/****************************************************************************************
# Default css file for content edited with htmlArea RTE
#
# Defines a few class selectors that can be simply taken as examples by anyone who needs to configure the RTE.
# This css file is referenced by property RTE.default.contentCSS in the default configuration of htmlArea RTE
#
# TYPO3 CVS ID: $Id: dynamiccss.css,v 1.1 2005/12/28 00:49:11 mundaun Exp $
# ***************************************************************************************/
/* Left, center and right alignment of text in paragraphs and cells.*/
p.align-left, h1.align-left, h2.align-left, h3.align-left, h4.align-left, h5.align-left, h6.align-left, td.align-left { text-align: left; }
p.align-center, h1.align-center, h2.align-center, h3.align-center, h4.align-center, h5.align-center, h6.align-center, td.align-center { text-align: center; }
p.align-right, h1.align-right, h2.align-right, h3.align-right, h4.align-right, h5.align-right, h6.align-right, td.align-right { text-align: right; }
/* Two frame examples taken from the example CSS file of CSS Styled Content extension and applied to p and table block elements.*/
p.csc-frame-frame1, table.csc-frame-frame1 { background-color: #EDEBF1; padding: 2px 4px 2px 4px; border: 1px solid #333333; }
p.csc-frame-frame2, table.csc-frame-frame2 { background-color: #F5FFAA; padding: 2px 4px 2px 4px; border: 1px solid #333333; }
/* Bullet styles for unordered lists.*/
ul.component-items { color: #186900; list-style-type: circle; }
ul.action-items { color: #8A0020; list-style-image: url(img/red_arrow_bullet.gif); }
/* Numbering styles for ordered lists.*/
ol.component-items-ordered { color: #10007B; list-style-type: lower-roman; }
ol.action-items-ordered { color: #8A0020; list-style-type: lower-greek; }
/* Three inline text colors taken from the color scheme of CSS Styled Content extension.*/
span.important { color: #8A0020; }
span.name-of-person { color: #10007B; }
span.detail { color: #186900; }
/* Selectors for the default configuration of the link accessibity feature.*/
a.external-link {}
a.external-link-new-window {}
a.internal-link {}
a.internal-link-new-window {}
a.download {}
a.mail {}
.neu
{color:green;}
p.infoBox
{border: 1px solid red;
background-color: gray;
color:white;}
span.wichtig
{color:red;
font-weight:bold;}
Ich kann machen was ich will, die Auswahlfelder für Absatz und Text bleiben grau.
Wo ist mein Fehler??????
Ich habe Typo3 4.0 installiert und den HTMLarea RTE in der Version 1.4.2