Can't type in TinyMCE editor within a jQueryUI dialog box in joomla -


i using joomla built in function create tinymce editor on page within jquery dialog box. however, dialog box appears , tinymce editor in read mode.

this php built in function echos out editor:

<div id="phonecallcard" title="phone call card" style="display:none;">           <?php       $editor = jfactory::geteditor();                                                                                                 echo $editor->display('commentz', $this->content, '600', '100', '60', '20', false);           ?> </div> 

this jquery implementation of opening dialog box:

jquery("#phonecallcard").dialog({             height:500,             width:800,             modal: true,             close: function(ev, ui){                                                               jquery('#tablepanelfightclubrequests .trselected').removeclass('trselected');                                        },             open:function({ //everything tried activate tinymce            //tinymce.activeeditor.getbody().setattribute('contenteditable', false);            //tinymce.execcommand('mceremovecontrol',false,'commentz');            //tinymce.execcommand('mceaddcontrol',false,'commentz');            //tinymce.execcommand('mcefocus', false, 'commentz');             }}); 

i found similar problem here why can't type in tinymce in jqueryui modal dialog? , here tinymce , jquery dialog: tinymce read when modal:true in dialog both can't solve problem

i same error too... first code

$( "#f_edit_gallery" ).dialog({ autoopen: false, resizable: true, show: "clip", height:450, width:850, modal: true }); 

after delete option

show: "clip", 

be this

$( "#f_edit_gallery" ).dialog({     autoopen: false,     resizable: true,     height:450,     width:850,     modal: true     }); 

tinymce run after that


Comments