HtmlAreaIt is a simple WTYSWTYG editor. I used FreeTextBox in the past. It has many disadvantages, slow running speed, complicated architecture, and not supported.AjaxWait a moment. I also wrote an article titled the preliminary solution to the compatibility between UpdatePanel and Freetextbox in Ajax. Now I am determined to cut it down.
HtmlArea is a pure JS + Html editor. Theoretically, it can be set on any language platform.Asp. Net2.0 + Ajax is a good combination. Now this blog system has used it as an article editor. The following describes the installation steps.
First download HtmlArea3.0 and decompress it to a directory of the Web project.
Lang/gb. js is a Chinese language file, which is officially ANSI encoded by default if your web. if config is set to UTF-8 (default), use NotePad to open gb. save as UTF-8.
<Script type = "text/javascript"> _ editor_url = "../HtmlArea/"; _ editor_lang = "gb"; </script> <Script type = "text/javascript" src = "../HtmlArea/htmlarea. js"> </script> <Asp: TextBox ID = "HtmlArea" CssClass = "htmlarea" runat = "server" Height = "200px" TextMode = "MultiLine" Width = "100%"> </asp: textBox> |