In the Imperial CMS background editor, after hitting Enter, the br tag will appear. This can be seen when viewing the "source code" (upper left corner). The br tag is a forced line break, not as good as a paragraph tag.
Although the effects of the two are similar, both start on a new line, paragraph tags can make the structure of the page content clearer when viewing the source code.
The first step is to find the following three files
\e\admin\ecmseditor\infoeditor\config.js
\e\admin\ecmseditor\tempeditor\config.js
\e\data\ecmseditor\infoeditor\config.js
The second step is to find the key code
config.enterMode = CKEDITOR.ENTER_BR;
config.shiftEnterMode = CKEDITOR.ENTER_P;
Replace with:
config.enterMode=CKEDITOR.ENTER_P;
config.shiftEnterMode=CKEDITOR.ENTER_P;
Replace everything with p tags. Anyway, the br tag is not good and is not good for optimization, so I generally don’t use the br tag.