Installation steps:
1, download the software package, extract to the site root directory.
2, in the need to deploy the editor of the page header add the following code, the specific path can be set themselves.
| The code is as follows |
Copy Code |
|
<script type= "Text/javascript" charset= "Utf-8" >window. Ueditor_home_url = "/ueditor/";</script>
<script type= "Text/javascript" charset= "Utf-8" src= "/ueditor/ueditor.config.js" ></script>
<script type= "Text/javascript" charset= "Utf-8" src= "/ueditor/ueditor.all.js" ></script> |
3, in the need to deploy the editor of the page Tail declaration editor
| The code is as follows |
Copy Code |
|
<script type= "Text/javascript" >ue.geteditor (' Content1 ', {});</script> |
4, call the editor, the official given the way to call is
| The code is as follows |
Copy Code |
|
<script id= "Content1" Type=text/plain name= "Content1" > |
But when I assign a value in the. NET background, the discovery cannot be assigned, and I do not know what to do, so I use another way to invoke the
| The code is as follows |
Copy Code |
|
<textarea id= "Content1" name= "Content1" runat= "Server" ></textarea> |
Get!
In addition, the Ueditor.config.js file is personalized to the editor's configuration and can be modified according to your needs
Summary: 1.ueditor now version, the path really do not configure, Ueditor developers have done, more convenient than before; 2. NET version also pay attention to upload the problem, there is a file default compiled, to change to content (if you are publishing the site), right key to the file properties, you can find.