PHP+JS version of simple and practical editor This editor is processed by js program. Some friends came from the Internet. I searched and changed it to the PHP version. infosubmit_free.php is the source file of the call. You can find the calling method in it. editor.php is the main handler , editor selcolor.php is a program that handles colors css file controls the style of the editor img_free.php is a program for file upload. Currently it only supports images. If a friend has time, he can improve it to support attachments or something else. But don’t forget to share it. The editor content needs to be processed with addslashes when writing it to the database , such as $intr=chkstring(addslashes($_POST[ intr ])); When calling up the content in the editor, use this function stripslashes to filter it and it will appear normal. Contact person: Director of Dalian Waste Website QQ105452034