Zum Inhalt springen

tinymce - Überschrift 3 aus Dropdown entfernen

Erstellt am 5. Februar 2012 · Noch keine Antworten

Tags: Frage

simonborn ·

Hallo.

Wie kann man beim tinymce aus dem Dropdown Menü Elemente entfernen?

Bitte nur ein Hinweis. Suche mir nen Wolf.

Habe in der Online Doku das hier gefunden:
http://www.tinymce.com/wiki.php/Configuration:theme_advanced_blockformats

...

Oh Gott, und die Lösung lag mir vor den Füßen... Thanks for being my rubberduck...

Die Lösung ist:

RTE.default.init.theme_advanced_blockformats = p,h1,h2

Für wen es interessiert - Meine gesamte Konfiguration für den tinyMCE sieht so aus:

RTE.default.init {
    theme_advanced_buttons1 = undo,|,bold,italic,underline,|,justifyleft,justifycenter,justifyright
   	theme_advanced_buttons2 = charmap,|,strikethrough,sub,sup,|,bullist,numlist,|,link,typo3link,unlink,|,image,typo3image
	theme_advanced_buttons3 = cut,copy,paste,|,formatselect
	theme_advanced_buttons4 >
	theme_advanced_statusbar_location = bottom
	theme_advanced_blockformats = p,h1,h2
}