Using jQuery to grab the content from CKEditor's iframe

前端 未结 11 1618
既然无缘
既然无缘 2020-11-29 01:20

I have a custom-written CMS that uses CKEditor *(FCKEditor v3) for editing content. I\'m also using the jQuery Validation plugin to check a

11条回答
  •  醉酒成梦
    2020-11-29 02:12

    Another generic solutions to this would be to run the following whenever you try to submit the form

    for ( instance in CKEDITOR.instances )
                CKEDITOR.instances[instance].updateElement();
    

    This will force all CKEDITOR instances in the form to update their respective fields

提交回复
热议问题