Create content adding page
We used theadd.htmlfile earlier. Here we use the add function to continue using this page. Modify the add.html file toadd.php
and then modify the html and css codes to keep what we need.
Here we add a Baidu editor plug-in ueditor. Create abianjidocument in the admin document and put the editor plug-in file downloaded from Baidu into it.
Here you need to introduce two js codes in the
tag at the head of the page:Introduce a piece of js code in the
tag:In this way, Baidu Editor was successfully introduced.
The newly created added page after modification is as follows: