/ Published in: jQuery
URL: http://forum.jquery.com/topic/ckeditor-in-ui-dialog
When you load content into a jquery ui dialog box which contains a textarea element that you use FCKeditor on. The second time you open the dialog, FCKeditor fails to load.
You have to destroy it when you close the dialog box.
Expand |
Embed | Plain Text
$(function(){ $('#dialog').dialog({ autoOpen:false, close:function(){ var editor = $('#dialog textarea').ckeditorGet(); editor.destroy(); } }); });
You need to login to post a comment.
