Baidu UEditor is easy to install, debug, and call. Other online tutorials are too official and are not suitable for beginners. ueditor installation and debugging
For new users, only functions can be implemented, and other settings are completely default.
Preview:
1. First download it from the official website. Download the package and decompress it to the directory you want on the website. Put it in the root directory and insert the following HTML code in the Editor:
<! -- Load the editor container --> <! -- Add text to the following script as initialization content --> <script id = "container" name = "sb_remarks" type = "text/plain"> $ sb_remarks = $ _ POST ['SB _ remarks '];
======================================
The following is my complete example code:
Index.html:
<! Doctype html>
3. If you want to modify the default font size of the editor, find "font" in the UEditor directory and ueditor. all. js file to find the font to change the font size and font size.