Simple configuration of xheditor lightweight Text Editor

Source: Internet
Author: User

Today, I encountered a problem. In the background management section, I used textbox to set multiple rows, but the customer asked me to wrap the lines and insert spaces. This gave me a headache. If I sent it to cuteeditor, it is too big. Even if you go to the function button, you will find it useless. There is no need to use cuteeditor. You can search for it on the Internet and finally find a text editor developed based on jquery, it is convenient and flexible to use.

I used some of the simplest features.

 

  1. Download the latest xheditor, http://xheditor.com/
  2. Create an xheditor folder under the site. You can download the downloaded file package or my package. For the latest version 1.1.7, click Download.
  3. Class style for generating textarea or textbox in online http://xheditor.com/wizard
    For example: <asp: textbox id = "tb_me" runat = "server" class = "xheditor-mini {skin: 'nostyle', width: '20140901', height: '200', layershadow: 1, forceptag: false, cleanpaste: 3} "textmode =" multiline "> </ASP: textbox>
  4. Introduce in Head
    <LINK rel = "stylesheet" href = "xheditor/common.css" type = "text/CSS" Media = "screen"/>
    <SCRIPT type = "text/JavaScript" src = "xheditor/jquery/jquery-1.4.2.min.js"> </SCRIPT>
    <SCRIPT type = "text/JavaScript" src = "xheditor/xheditor-1.1.7-zh-cn.min.js"> </SCRIPT>
  5. The preview page is available as follows.

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.