Safari Jquery Dialog and Ckeditor

Posted by Mark Milford on Stack Overflow See other posts from Stack Overflow or by Mark Milford
Published on 2010-05-14T05:55:17Z Indexed on 2010/05/14 6:04 UTC
Read the original article Hit count: 343

Filed under:
|
|

Hi

I am using a CKEditor in a Jquery Dialog... and in Safari the first time it loads it works but each subsequent time it is blank and no buttons or anything else works in the ckeditor...

I have looked at http://stackoverflow.com/questions/2539855/ckeditor-instance-in-a-jquery-dialog and added the suggested dialog-patch.js but it doesn't help

$("#TextDialog").dialog({height:400,width:650, modal:true,closeOnEscape:true, autoOpen:false,
    open: function(event, ui) {
    $("#Text").ckeditor();
    },
    close: function(event, ui) {
        CKEDITOR.remove($("#Text").ckeditorGet());
    }});

That is my code, and it works it all browsers (well Chrome, IE and FF) but not in Safari!

© Stack Overflow or respective owner

Related posts about safari

Related posts about jQuery