CKEditor, AJAX Save

后端 未结 10 1470
走了就别回头了
走了就别回头了 2021-01-03 01:22

Can you provide an example on how to setup CKEditor to save via AJAX using the Save button in the CKEditor toolbar?

I\'m interested in creating a CKEditor AJAX save

10条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-03 01:40

    Lots of answers already but I think my solution is way easier and cleaner than everything here so far. This will simply override the existing save button's functionality with javascript that you specify with ckeditor 4:

    html:

    
    

    javascript:

    
    

提交回复
热议问题