How can i get content of CKEditor using JQuery?

前端 未结 15 1801
甜味超标
甜味超标 2020-12-04 15:21

I\'m using CKEditor. I am saving the form values with ajax using page methods.

But the content of CKEditor value cannot be saving into the table.

I dont post

15条回答
  •  一整个雨季
    2020-12-04 15:54

    If you don't hold a reference to the editor, as in Aeon's answer, you can also use the form:

    var value = CKEDITOR.instances['my-editor'].getData();
    

提交回复
热议问题