I'm using the development version, 1.4.3.3. NET version
Online Search a lot, and later found only the configuration of the problem.
Under the root directory: Config.json
There is an IMG upload configuration: imageurlprefix This is your upload completed, in the text editor in the picture path prefix, is generally configured site domain name, for example: http://www.xxx.com, I set him to empty, and so on when the release of the domain name changed.
There is also a imagepathformat:/upload/image/{yyyy}{mm}{dd}/{time}{rand:6} This, is the real site above the storage path.
Just make sure/upload/image these folders exist.
There is an upload and other processing of various operations: CONTROLLER.ASHX, this is to configure the path, in Ueditor.config.js, there is a Serverurl:url + "Controller.ashx",
Originally those JS and controller are in the site root directory, I have moved to my new Uedit folder inside, so convenient.
Other file uploads, like videos or something, are all similar configurations.
Modified directory structure:
Use:
1. Quote JS:
<script src= "Uedit/ueditor.config.js" ></script>
<script src= "Uedit/ueditor.all.min.js" ></script>
<script src= "Uedit/lang/zh-cn/zh-cn.js" ></script>
2. Add to page: <textarea id= "editor" name= "editor" ></textarea>
3. Add Script:
<script type= "Text/javascript" >
Instantiation Editor
We recommend that you use the factory method Geteditor to create and reference the editor instance, and if you refer to the editor under a closure, call Ue.geteditor (' editor ') directly to get the relevant instance
var UE = ue.geteditor (' editor ');
</script>
4. Then put a button, write an onclick event to see, get the HTML code in the editor:
protected void Button1_Click (object sender, EventArgs e)
{
String des = request["editor"];//this editor is the name property of textarea, not the ID.
}
Ueditor Backend configuration items do not load properly, upload plugin does not work properly!