Ueditor is by the Baidu Web front-end research and development department to see that is the income, a few days ago the company's original rich text editor replaced by Baidu, you can make the style of the whole production copy to the text editor, authentic ...
To the official website to read the document, in fact, very simple, simple configuration can be, ...
You need to add JS: <script src= "in. Net. /.. /.. /ueditor/ueditor.config.js "></script> <script src=". /.. /.. /ueditor/ueditor.all.min.js "></script> <script src=". /.. /.. /ueditor/lang/zh-cn/zh-cn.js "></script> Assignment: 1. Assigning values from background to foreground in. NET can be assigned to the foreground's hidden field 2. Then add JavaScript method in the background to call the foreground JS: Clientscript.registerstartupscript (GetType (), "hint", "Fuzhi ()", true); 3. The foreground Fuzhi () assigns the contents of the hidden field: function Fuzhi () { Ue.addlistener ("Ready", function () {/////editor is prepared before you can use Ue.setcontent (d Ocument.getelementbyid ("Hd_content"). Value); }); Save: If it is a Submit button, set a: onclientclick= "return Save ();" function Save () {var temp = ue.geteditor (' editor '). GetContent (); document.getElementById ("TXTMM"). Value = temp; document.getElementById ("<%=hd_content. ClientID%> "). Value = temp; document.getElementById ("Txtshow"). Value = temp; In fact, the value is assigned to the hidden domain, the background method is extracted to save,OK..... is not very simple ....
Ueditor Rich Text web editor