Environment: VS2008SP1 + ASP. NET3.5SP1 + IE9
XhEditor Configuration:
Follow these steps to learn how to use xhEditor:
Download the latest xhEditor: Latest.
NOTE: If your website does not use the jQuery framework, upload the jquery-1.4.2.min.js in the jquery folder together and add the following code before the web page head tag that needs to call the xhEditor editor ends:
<Scripttype = "text/javascript" src = "/js/jquery-1.4.2.min.js"> </script>
<Scripttype = "text/javascript" src = "/js/xheditor-zh-cn.min.js"> </script>
Note:
Modify the js file paths of jQuery and xhEditor based on the specific path of your website.
Add class = "xheditor" to the textarea attribute of the text box to be visualized"
For example:
<Textarea name = "content" class = "xheditor"> test </textarea>
After the preceding steps, you have successfully installed the xhEditor On Your webpage.
To learn more about how to use the xhEditor, see xhEditor advanced usage.
Personal instance reference diagram:
Folder relative location
Page code
Editor preview
The xheditor editor is not displayed during vs2008 debugging. The solution is as follows:
Change the website's virtual path to "/", for example: