导航首页 » 网站优化

织梦默认编辑器 按下回车生成br标签改为生成p标签

2023/03/11 12:17    魔司收录网    已浏览97次

找到文件 \include\ckeditor\config.js

config.enterMode = CKEDITOR.ENTER_BR;
config.shiftEnterMode = CKEDITOR.ENTER_P;

改为

config.enterMode = CKEDITOR.ENTER_P;
config.shiftEnterMode = CKEDITOR.ENTER_BP;