Zum Inhalt springen

RTE Editor - mainStyleOverride

Erstellt am 15. März 2008 · 1 Antwort · letzte Antwort am 16. März 2008

Tags: Frage

Roger80 ·

Hallo zusammen

Ich habe ein Problem mit meinem TS. Ich wende die Funktion mainStyleOverride an, diese funktioniert in der Vorschau (wenn ich den Button "In Rich Text Editor bearbeiten" auswähle) auch ausgezeichnet.
Wenn ich das Ganze nun auf der Seite ansehe, bleibt aber alles beim alten, nichts verändert sich. Was mache ich falsch??? #angry#

Hier mein TS Code.

RTE.default.contentCSS = fileadmin/css/rte_css.css
RTE.default.useCSS = 1
RTE.default.mainStyleOverride = table { 
	color: #353535;
	background-color: White;
	font-family: sans-serif;
	font-size: 12px;
	background: Fuchsia;
	border: none;
	border: 0px
	padding-right: 10px
	border-spacing: 1px 0px
}
Roger80 ·

Hallo

kann mir niemand helfen? Im Backend scheint alles korrekt zu sein. Im Front End jedoch wird nix angezeigt. Kennt das Problem niemand?
Hier noch der Text der angezeigt wird, in der Vorschau im Backend.

[HTMLArea::init]: All scripts successfully loaded.
[HTMLArea::init]: Editor url set to: /quickstart/quickstart/typo3conf/ext/rtehtmlarea/htmlarea/
[HTMLArea::init]: Editor skin CSS set to: /quickstart/quickstart/typo3conf/ext/rtehtmlarea/htmlarea/skins/default/htmlarea.css
[HTMLArea::init]: Editor content skin CSS set to: http://localhost/quickstart/quickstart/typo3conf/ext/rtehtmlarea/htmlarea/skins/default/htmlarea-edited-content.css
[HTMLArea::generate]: Toolbar successfully created.
[HTMLArea::generate]: Editor iframe successfully created.
[HTMLArea::initIframe]: Iframe baseURL set to: http://localhost/quickstart/quickstart/typo3/
[HTMLArea::initIframe]: Skin CSS set to: http://localhost/quickstart/quickstart/typo3conf/ext/rtehtmlarea/htmlarea/skins/default/htmlarea-edited-content.css
[HTMLArea::initIframe]: Override CSS set to: http://localhost/quickstart/quickstart/typo3temp/rtehtmlarea_css_dffac98b3175880c8c50347c30aeac2a.css
[HTMLArea::initIframe]: Content CSS set to: http://localhost/quickstart/quickstart/fileadmin/css/rte_css.css
[HTMLArea::initIframe]: Editor iframe head successfully initialized.
[HTMLArea::initIframe]: Failed attempt at loading stylesheets: [Exception... "A parameter or an operation is not supported by the underlying object" code: "15" nsresult: "0x8053000f (NS_ERROR_DOM_INVALID_ACCESS_ERR)" location: "http://localhost/quickstart/quickstart/typo3temp/rtehtmlarea_htmlarea_03b153e58a77856a17da5ab4a24b3d4e-compressed.js Line: 49"] Retrying...
[HTMLArea::initIframe]: Stylesheets successfully loaded.
[HTMLArea::initIframe]: Design mode successfully set.
[HTMLArea::initIframe]: All plugins successfully generated.