Rich Text web editor (ueditor)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.