Witam
Od dłuższego czasu usiłuje zmienić lekko wygląd tiny. Mianowicie w moim css (nie tym od tiny) mam ustawioną szerokośc textarea na 400px. Gdy dołączam tinyMCE do tego textarea to otrzymuje taki wynik:

Jak widać wszystko sie porozwalało, próbowałem też grupować to w kilku rzędach ale to nic nie dało ;/
Kod js wziąłem z przykładu na stronie:
http://tinymce.moxiecode.com/example_full.php?example=truetinyMCE.init({
mode : "textareas",
theme : "advanced",
plugins : "spellchecker,style,layer,table,save,advhr,advimage,advlink,emotions,iespell
,insertdatetime,preview,zoom,media,searchreplace,print,contextmenu,paste,directio
nality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras",
theme_advanced_buttons1_add_before : "save,newdocument,separator",
theme_advanced_buttons1_add : "fontselect,fontsizeselect",
theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,separator,forecolor,backcolor",
theme_advanced_buttons2_add_before: "cut,copy,paste,pastetext,pasteword,separator,search,replace,separator",
theme_advanced_buttons3_add_before : "tablecontrols,separator",
theme_advanced_buttons3_add : "emotions,iespell,media,advhr,separator,print,separator,ltr,rtl,separator,fu
llscreen",
theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,spellchecker,c
ite,abbr,acronym,del,ins,|,visualchars,nonbreaking",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_path_location : "bottom",
content_css : "/example_data/example_full.css",
plugin_insertdate_dateFormat : "%Y-%m-%d",
plugin_insertdate_timeFormat : "%H:%M:%S",
extended_valid_elements : "hr[class|width|size|noshade],font[face|size|color|style],span[class|align|s
tyle]",
external_link_list_url : "example_data/example_link_list.js",
external_image_list_url : "example_data/example_image_list.js",
flash_external_list_url : "example_data/example_flash_list.js",
file_browser_callback : "mcFileManager.filebrowserCallBack",
theme_advanced_resize_horizontal : false,
theme_advanced_resizing : true,
apply_source_formatting : true,
spellchecker_languages : "+Polish=pl"
});
Pozdrawiam
Ok rozwiązałem problem, okazało się że w css zrobilem styl dla img i sie wszystko przez to sypało ;/
Ale mam jeszcze 1 problem, mianowisice jak zmienić szerokość edytora ?
Pozdrawiam
Ten post edytował Apo 4.02.2007, 17:55:32