Witam.
Mam pole:
<textarea name="website[content]" id="website_content"><?php echo $website->getContent(); ?>
</textarea>
I kod w JS:
tinyMCE.init({
mode: "none",
language: "pl",
elements: "website[content]",
plugins:"style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdateti
e,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,
oneditable,visualchars,nonbreaking,xhtmlxtras,template",
theme: "advanced",
theme_advanced_toolbar_location: "top",
theme_advanced_toolbar_align: "left",
theme_advanced_path_location: "bottom",
theme_advanced_buttons1: "cut,copy,paste,pastetext,pasteword,search,replace,separator,justifyleft,jus
ifycenter,justifyright,justifyfull,separator,bold,italic,underline,strikethrough
separator,sub,sup,fontselect,fontsizeselect",
theme_advanced_buttons2: "bullist,numlist,separator,outdent,indent,separator,undo,redo,separator,link
unlink,image,separator,code,separator,forecolor,backcolor",
theme_advanced_buttons3: "tablecontrols",
extended_valid_elements: "img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseov
er|on
ouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[clas
s|align|style]",
theme_advanced_resize_horizontal : false,
relative_urls: false,
debug: false,
convert_fonts_to_spans:true,
strict_loading_mode:true,
width:"100%",height:"500",
theme_advanced_resizing:true,
content_css:"/css/tinymce.css",
plugin_insertdate_dateFormat:"%Y-%m-%d",
plugin_insertdate_timeFormat:"%H:%M:%S",
file_browser_callback:"fileBrowserCallBack",
});
window.onload = function() { tinyMCE.execCommand("mceAddControl", false, 'website_content'); };
Do niedawna wszystko działało. Jednak musiałem podmienic katalog z tinyMCE na nowy i niestety teraz jakby ten edytor WYSIWYG podczas wykonywania formularzu nie przekazuje swojej zawartości do pola <textarea>

Jak wyłącze tinyMCE i wpisze do samego textarea to wszystko działa.
Czy ktoś ma może jakieś pomysł o czym zapomniałem albo co sprawdzić?
Ten post edytował parzol 30.01.2008, 22:00:56