且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

用ckeditor检测更改

更新时间:2022-02-16 09:50:46

经过一番研究和大量的搜索,发现了一个合适的方法。

After some research and a lot of googling a found a suitable method.

var content_editor = CKEDITOR.instances['content'];

content_editor.on( 'key', function() {
    change_page = true;
});