(08.04.2010 14:30)
Initialisierung des TinyMCE mit diversen Schaltflächen und dem <br>-Tag als Zeilentrenner anstatt des <p>-Tags.
Außerdem kann der TinyMCE nur vertikal vergrößert werden. Der Editor wird auf 100% Breite gezogen.
Auch werden keine Cookies gesetzt. (Die nerven nur...)
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
tinyMCE.init({ mode : 'textareas', editor_selector : 'tinymce_br', theme : "advanced", plugins : "emotions", theme_advanced_buttons1 : "code,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,|,link,unlink,|,table,hr,|,sub,sup,|,emotions", theme_advanced_buttons2 : "", theme_advanced_buttons3 : "", theme_advanced_buttons4 : "", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_statusbar_location : "bottom", theme_advanced_resizing_use_cookie : false, theme_advanced_resize_horizontal : false, element_format : 'html', theme_advanced_resizing : true, forced_root_block : false, force_br_newlines : true, force_p_newlines : false, width : "100%" }); |