Reference file http://www.itnose.net/detail/6307204.html
1. Copy the entire Ueditor folder to any directory in the project.
2. Add a Web Form and reference the configuration and source files as follows, and instantiate them.
3. Add the appropriate version of the Newtonsoft.json reference.
Test Http://localhost:62832/Ueditor/net/controller.ashx?action=config to see if the JSON datacan be read
If an error occurs, add a reference to the
4. Enter Ueditor/net/config.json to modify the parameter configuration on the path.
A Relative to the top 6 configurations:
1) ... Pathformat (this is configured to upload file paths, errors can cause path errors in the upload file.) )
It is the path relative to the current file (Config.json) directory.
Relative to this example:
If you configure as Upload/image ... Equivalent
localhost:14311/web.aspx/ueditor/net/upload/image/...
If you configure as/file/upload/image ... Equivalent
localhost:14311/web.aspx/file/upload/image/...
Path problem can baidu HTML path
2) ... URLPrefix (This configuration is the path prefix of the file that is displayed in the editor after the file upload succeeds, which causes the file to appear incorrectly after uploading)
It is a picture access path prefix. To get a better understanding, I came up with the following formula.
Gets the picture path (relative to the web site root) = ... URLPrefix + ... Pathformat.
Tip: If you don't know how to differentiate between the two, you can put all the ... URLPrefix is set to "" (empty string), while ... Pathformat set to
The path relative to the file (Config.json) where you want to save the file or picture. (Personal advice, big God do not spray.) )
b Relative to the latter 2 configuration: (Configure the path of the picture list to be displayed when managing files or pictures online, errors will cause the picture to appear incorrectly in the list)
1) ... Managerlistpath can refer to ... Pathformat.
2) ... Managerurlprefix can refer to ... URLPrefix.
Ueditor upload function