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

藏色散人
Release: 2020-01-08 09:48:50
Original
2632 people have browsed it

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

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";
Copy after login

below

config.enterMode = CKEDITOR.ENTER_BR; 
config.shiftEnterMode = CKEDITOR.ENTER_P;
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template