PEAR HTML & TinyMCE - IE Issues

From: Date: Sun, 09 Dec 2007 14:43:44 +0000
Subject: PEAR HTML & TinyMCE - IE Issues
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28300@lists.php.net to get a copy of this message
I'm trying to use TinyMCE (HTML Editor) within a PEAR application. TinyMCE is supposed to take any text area and overlay it with a GUI Editor for those who don't know HTML. Everything renders and funtions fine within Firefox, Opera & Safari, but not IE. The editor simply doesn't show up within IE and I need to remedy that. In fact, if I don't have this fixed my Monday 8AM, my job may be in jeopardy. Here is the relevant code: [code]// HTML Editor $editorInc = "<script language=\"javascript\" type=\"text/javascript\" src=\"tinymce/jscripts/tiny_mce/tiny_mce.js\"></script>\n"; $editorInc .= "<script language=\"javascript\" type=\"text/javascript\">\n"; $editorInc .= "tinyMCE.init({\n"; $editorInc .= "mode : \"textareas\",\n"; $editorInc .= "theme : \"advanced\",\n"; $editorInc .= "theme_advanced_buttons1 : \"bold,italic,underline,separator,justifyleft,justifycenter,justifyright,justifyfull,bullist,numlist,separator,fontselect,fontsizeselect,forecolor\",\n"; $editorInc .= "theme_advanced_buttons2 : \"\",\n"; $editorInc .= "theme_advanced_buttons3 : \"\",\n"; $editorInc .= "theme_advanced_toolbar_location : \"top\",\n"; $editorInc .= "theme_advanced_toolbar_align : \"left\",\n"; //$editorInc .= "auto_reset_designmode : \"true\",\n"; $editorInc .= "visual : \"false\"\n"; $editorInc .= "});\n"; $editorInc .= "</script>\n"; $tpl->append('jsinc',$editorInc); $editor = "<textarea rows=\"30\" cols=\"128\" name=\"proposalEdit\">".stripslashes(stripslashes($dbp->content))."</textarea>\n"; $table->addRow(array($editor));[/code] Is there something I'm missing here? If Tiny MCE will not work, Does anyone know if an HTML editor I can use in it's place. Thanks in advance for any insight. -- View this message in context: http://www.nabble.com/PEAR-HTML---TinyMCE---IE-Issues-tp14239158p14239158.html Sent from the Pear - General mailing list archive at Nabble.com.

« previous php.pear.general (#28300) next »