Ueditor Editor configuration Implementation upload pictures---attached effect diagram

Source: Internet
Author: User

Because of the project needs, recently used ueditor, to achieve the image upload function, here to share some of the problems encountered.

Project using the NET+MVC framework, the choice is the net version Ueditor editor (can go to Baidu website download),

Download complete import into project:

Prepare to start configuring the Ueditor Editor:

1). Locate the Ueditor.config.js file, and modify the Ueditor.config.js file to specify the path of the Ueditor

2). Locate the./net/config.json file and modify the Config.json file to specify that the file upload path has a read path

Upload picture path

Read an uploaded picture

3). Test whether the configuration is complete, access: /SCRIPTS/UMEDITOR/NET/CONTROLLER.ASHX see a hint stating that the configuration is complete.

4). In the place to use the call, first refer to two segment JS, a configuration, a ueditor

Uploading images and online image management:

Summary of issues that occur during use:

1. Compilation errors,

Description the. cs file in the App_Code is missing, or the App_Code path error, the App_Code should be placed in the Web site root directory for recompilation.

If local debugging is published correctly to IIS escalation errors, you can turn/umeditor/net/into an application and copy App_Code to the Net Folder.

2. Unable to find the Third-party/zeroclipboard/zeroclipboard.js file,

Locate the Ueditor.all.min.js file, and then look for the third-party/zeroclipboard/zeroclipboard.js to find the problem originally appeared here.

3. Error getting background configuration item,

Take a closer look at the path configuration instructions in Ueditor.config.js and check the configuration path of the ueditor.config.js.

Ueditor Editor Configuration Implementation upload image---attached

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.