Display effect:
Code mode:
Baidu Rich Text web editor
Introduction File:
1 <Scripttype= "Text/javascript"CharSet= "Utf-8"src= "Ueditor.config.js"></Script>2 <Scripttype= "Text/javascript"CharSet= "Utf-8"src= "Ueditor.all.min.js"> </Script>3 <!--It is recommended to manually add the language, to avoid under IE sometimes because the load language failure causes the editor to fail to load -4 <!--the language file loaded here will overwrite the language type you added in the configuration item, such as the English you configured in the configuration item, the Chinese is loaded here, and the last is Chinese . -5 <Scripttype= "Text/javascript"CharSet= "Utf-8"src= "Lang/zh-cn/zh-cn.js"></Script>
Setting the script area for displaying content
1 < ID= "Editor" type= "Text/plain" style= "WIDTH:1024PX; height:500px; " ></ Script >
Some edits are set, reference document address: http://fex.baidu.com/ueditor/
1 <Scripttype= "Text/javascript">2 3 //Instantiation Editor4 //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 instance5 varUE=Ue.geteditor ('Editor',{6 //Add styles inside curly braces separated by commas7 toolbars: [8 ['fullscreen', 'Source', 'undo', 'Redo', 'Bold','Snapscreen','unlink','Link',]9 ],/*List of simple styles*/Ten //automatically empties content when initializing at Focus One autoclearinitialcontent:true, A //Turn off word count - WordCount:false, - //Close ElementPath the elementpathenabled:false, - //The default editing area height - Initialframeheight: -, - }); + - + A </Script>
You need to enclose the contents of the initialization setting in curly braces
Usage version: Ueditor1_4_3_2-utf8-net
360 Cloud Disk Address
HTTPS://YUNPAN.CN/OCYP8DITQQYMCM Access Password 01ef
Rich Text web editor (ueditor)