Page 1 of 1

TinyMCE Formatierungen

Posted: Fri Oct 10, 2008 11:54 pm
by oliver204
Frage zu der Formatierung im TINYMCE

Immer wenn ich eine Seite neu anlege oder editieren möchte, schmeißt der TINYMCE die Formatierungen durcheinander.
So sieht eine Seite zum Beispiel dann aus, s. Screenshot.

Dabei habe ich nur Text ersetzt und neu abgespeichert ohne die Formatierungen zu ändern. Der Text sollte eigentlich standardmäßig nur Verdana 12pt sein.

Weiß jemand warum? In welchem Stylesheet muss ich basteln, um das zu ändern? Sorry, bin zu blind, dass selbst zu lösen.


Image


Typography Stylesheet hat folgenden Inhalt:

Code: Select all

/* A CSS Framework by Mike Stenhouse of Content with Style */

/* TYPOGRAPHY */
	body {
		text-align: left;
		font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
		font-size: 75.01%;
                line-height: 1em;
   	}
	div {
		font-size: 1em;
	}
	img {
		border: 0;
	}
	
/* LINKS */
a, 
a:link
 a:active, a:visited {
		text-decoration: underline;
	}

        div#footer a, div#footer a:link, div#footer a:active, div#footer a:visited {
               color: #fff; text-decoration: underline;
        }

	a:hover {
	text-decoration: underline;
        color: #000080;
	}

/* END LINKS */
	
/* HEADINGS */
	h1 {
		font-size: 2em;
		line-height: 1em;
		margin: 0;
		padding: 0;
	}
	h2 {
		font-size: 1.5em;
                line-height: 1.5em;
		margin: 0 0 0.5em 0;
		padding: 0;
	}
	h3 {
		font-size: 1.3em;
		line-height: 1.3em;
		margin: 0 0 0.5em 0;
		padding:0;
	}
	h4 {
		font-size: 1.2em;
		line-height: 1.3em;
		margin: 0 0 0.25em 0;
		padding: 0;
	}
	h5 {
		font-size: 1.1em;
		line-height: 1.3em;
		margin: 0 0 0.25em 0;
		padding: 0;
	}
	h6 {
		font-size: 1em;
		line-height: 1.3em;
		margin: 0 0 0.25em 0;
		padding: 0;
	}
/* END HEADINGS */

/* TEXT */
	p {
		font-size: 1em;
		margin: 0 0 1.5em 0;
		padding: 0;
		line-height:1.4em;
                color: #000000;
	}
	blockquote {
		border-left: 10px solid #ddd;
		margin-left: 10px;
	}
	pre {
		font-family: monospace;
		font-size: 1.0em;
	}
	strong, b {
		font-weight: bold;
	}
	em, i {
		font-style:italic;
	}
    code {
        font-family: "Courier New", Courier, monospace;
        font-size: 1em;
        white-space: pre;
    }
/* END TEXT */
	
/* LISTS */
	#main ul {
        line-height:1.4em;
		margin: 0 0 1.5em 0;
		padding: 0;
	}
	#main ul li {
		margin: 0 0 0.25em 30px;
		padding: 0;
	}
	ol {
		font-size: 1.0em;
		line-height: 1.4em;
		margin: 0 0 1.5em 0;
		padding: 0;
	}
	ol li {
		font-size: 1.0em;
		margin: 0 0 0.25em 30px;
		padding: 0;
	}
	dl {
		margin: 0 0 1.5em 0;
		padding: 0;
		line-height: 1.4em;
	}
	dl dt {
		font-weight: bold;
		margin: 0.25em 0 0.25em 0;
		padding: 0;
	}
	dl dd {
		margin: 0 0 0 30px;
		padding: 0;
	}
/* END LISTS */
	
	
/* TABLE */
	table {
        font-size: 1em;
		margin: 0 0 1.5em 0;
        padding: 0;
       
	}
	table caption {
		font-weight: bold;
		margin: 0 0 0 0;
		padding: 0 0 1.5em 0;
	}
	th {
		font-weight: bold;
		text-align: left;
	}
	td {
		font-size: 1em;
	}
/* END TABLE */	
	
	hr {
		display: none;
	}

	div.hr {
		height: 1px;
		margin: 1em 10px;
		border-bottom: 1px dotted black;
	}

	
/* END TYPOGRAPHY */

Re: TinyMCE Formatierungen

Posted: Sat Oct 11, 2008 6:22 am
by cyberman
Welche TinyMCE-Version verwendest du?

Re: TinyMCE Formatierungen

Posted: Sat Oct 11, 2008 7:46 am
by oliver204
TinyMCE 2.4.5

Re: TinyMCE Formatierungen

Posted: Sat Oct 11, 2008 5:38 pm
by NaN
Schonmal im HTML-Modus im Editor nachgeschaut?
Evtl. hast du beim Einfügen von Text auch irgendwelche Formatierungen mit eingefügt.

Re: TinyMCE Formatierungen

Posted: Sat Oct 11, 2008 5:41 pm
by oliver204
danke für eure hilfe

Ausnahmsweise bin ich mir mal sicher,dass das nicht passiert ist.


Ich habe nur den obigen text geändert bei aufstellung. Gespeichert. Und das kommt dabei raus!

Re: TinyMCE Formatierungen

Posted: Sat Oct 11, 2008 5:59 pm
by NaN
Hast Du Dir jetzt trotzdem mal den Text im HTML Modus angeschaut?

Re: TinyMCE Formatierungen

Posted: Sat Oct 11, 2008 6:06 pm
by oliver204
ja,

es sind ohne Ende Formatierungen drin a la

Code: Select all

<span style="font-size: x-small;">
Nur woher die kommen keine Ahnung. Ne Idee?

Re: TinyMCE Formatierungen

Posted: Sat Oct 11, 2008 6:30 pm
by NaN
Und jetzt gib doch mal bitte "x-small" in die Forumsuche ein...

Der Fehler ist bekannt. Leider weiß noch keiner woran es liegt bzw. wie man es lösen kann.

Ich vermute es liegt am Dropdown wo man die Schriftgröße einstellen kann.
Hast Du da etwas eingestellt?