Home >CMS Tutorial >DEDECMS >How to remove the p element in {dede:field.body/} in DreamWeaver
How to remove the p element in {dede:field.body/} in Dreamweaver?
DreamWeaver DEDECMS removes the p element in {dede:field.body/}
Recommended learning: Dreamweaver cms
us When adding content in the background, the system often automatically adds 64e5601d0a941f4972a2954192bdae18ee2bfd64228f824cf6027e0da2815b78 elements, especially sometimes when there are no unnecessary parts at the beginning and end. The following method can be used to remove the automatic addition of p elements
Modify include/ckeditor/config.js:
Add
config.filebrowserImageUploadUrl = "../include/dialog/select_images_post.php";
below
config.enterMode = CKEDITOR.ENTER_BR; config.shiftEnterMode = CKEDITOR.ENTER_P;
and that’s it!
The above is the detailed content of How to remove the p element in {dede:field.body/} in DreamWeaver. For more information, please follow other related articles on the PHP Chinese website!