发布时间: 2015-01-30 11:25:00
refer to http://stackoverflow.com/questions/15659390/ckeditor-automatically-strips-classes-from-div/15659962#15659962
默认情况下,ckeditor 会吃掉 代码中的 inline style, javascript. 很多时候我们要禁用掉它。所以:
// in your ckeditor's config.js config.allowedContent = true;