This article takes the PHP version as an example:
File Download: http://ueditor.baidu.com/website/download.html
You can also define the content yourself and then download it to help us streamline a lot of things.
Take the local PHP environment as an example, now create an app directory under the WWW directory as the test directory, and then extract the downloaded Ueditor folder into the app folder.
Then, create a index.php file under the app folder.
Then enter the following code:
Copy the Code code as follows:
Editor full version instance
Ueditor Submission Example
Starting with 1.2.6, the data is automatically synced without the need to manually call the Sync method
submit via JS invoke submit
and then browser input localhost/app/
You can view the editor;
You will then find that the image upload function is not available and you need to open ueditor.config.js
Then find this line of code:
Copy CodeThe code is as follows:
var URL = window. Ueditor_home_url | | (function () {
Then add this line of code to the top of the line:
Copy CodeThe code is as follows:
Window. ueditor_home_url| | " /app/ueditor/";
Then, refresh the page, the image upload function can be used.
Official description of Ueditor document address: http://ueditor.baidu.com/website/document.html
Please note that the file name in the official documentation is incorrect (it should not be modified after the version upgrade).
http://www.bkjia.com/PHPjc/328104.html www.bkjia.com true http://www.bkjia.com/PHPjc/328104.html techarticle This article takes the PHP version as an example: File download: Http://ueditor.baidu.com/website/download.html can also define the content themselves, and then download, which helps us to streamline a lot of things. ...