How to properly destroy CKEditor instance?

前端 未结 7 2140
无人及你
无人及你 2020-12-09 02:41

I am running CKeditor 3.4 on a pretty simple page. I am having a problem (sometimes) where when I call document.main_form.submit(), it will not send along the contents of th

相关标签:
7条回答
  • 2020-12-09 03:33
    $this->widget('cms.extensions.fancybox.EFancyBox', array(
        'target' => 'a#fancy-link',
        'config' => array( 'onClosed'=>'js:function(){for(name in CKEDITOR.instances){ CKEDITOR.instances[name].destroy(true);}}'
    )));
    
    0 讨论(0)
提交回复
热议问题