Using jQuery to grab the content from CKEditor's iframe

前端 未结 11 1622
既然无缘
既然无缘 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:01

    I solved this problem with the current version: http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.js

    After line 55 this.submit( function( event ) { - i added this code:

    if (typeof CKEDITOR !== "undefined") {
        for ( instance in CKEDITOR.instances )
            CKEDITOR.instances[instance].updateElement();
    }
    

提交回复
热议问题