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