I am using django-tinymce in my website. Tinymce editor of the form appear on normal page load, but its tinymce editor doesn't loads when form 开发者_StackOverflow中文版section is loaded on ajax load(using jquery load). In firebug it doesn't gives any error. What may be the reasons?
Any help would be appreciated.. Thanks
One reason could be that the former tinymce instance has not been shut down correctly. Use this before removing parts of the Dom
tinyMCE.execCommand('mceRemoveControl', false, editor_id);
and reinitialize it afterwards if needed
tinyMCE.execCommand('mceAddControl', false, editor_id);
精彩评论