How can i get content of CKEditor using JQuery?

前端 未结 15 1849
甜味超标
甜味超标 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:57

    Now that jQuery adapter exists, this answer needs to be updated:

    Say you initiated the editor with $('.ckeditor').ckeditor(opt) then you get the value with $('.ckeditor').val()

提交回复
热议问题