CKEditor 回车P换成DIV或BR,出去HTML元素自动换行等

CKEditor 回车P换成DIV或BR,出去HTML元素自动换行等

修改include/ckeditor/config.js,在 config.filebrowserImageUploadUr l = ../include/dialog/select_images_post.php; 在16,17行找到 config.enterMode = CKEDITOR.ENTER_BR; config.shiftEnterMode = CKEDITOR.ENTER_P; 注: config.enterMode = CKEDITOR.ENTER_BR;// 意思为回车后为br/标签

返回顶部