一开始测试的时候发现都还可以,只是出于后续考虑,选择了ckeditor,但是有时候会莫名出现Cannot read property 'XXX' of undefined,如下:
Uncaught TypeError: Cannot read property 'getEditor' of undefined
at a (ckeditor.js:359)
at Object.CKEDITOR.replace (ckeditor.js:363)
at window.onload (13543-1.shtml:249)
不想在这种事情上浪费时间,选择了kindeditor。