Simditor How to use

Source: Internet
Author: User
Tags html header
accidentally touched the simditor, instantly attracted by its beautiful minimalist interface. Simditor is a WYSIWYG online Rich text editor for the tower's open source.

Simditor's philosophy is to keep it simple, avoid excessive functionality, and pursue the ultimate user experience for every feature.

How to use

1. Refer to the following file in your HTML page

<link media= "All" rel= "stylesheet" type= "Text/css" href= "Simditor/styles/font-awesome.css"/>  <link Media= "All" rel= "stylesheet" type= "Text/css" href= "Simditor/styles/simditor.css"/>    <script type= "text/ JavaScript "src=" Simditor/scripts/jquery.min.js "></script>  <script type=" Text/javascript "src=" Simditor/scripts/module.js "></script>  <script type=" Text/javascript "src=" simditor/scripts/ Uploader.js "></script>  <script type=" Text/javascript "src=" Simditor/scripts/simditor.js ">< /script>

2. Add textarea text boxes to the HTML page using Simditor, for example

<textarea id= "Editor" placeholder= "enter Here" autofocus></textarea>

3. Initialize the editor in script:

var editor = new Simditor ({     textarea: $ (' #editor ')  });

The effect is as follows:


If the unfortunate toolbar button appears the following style, just remove the HTML header <! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en" >

The public "-//w3c//dtd HTML 4.01 transitional//en" in the

Related articles:

Questions about uploading images from Simditor

Is there a limit to the size of Javascript-simditor upload images?

Javascript-simditor Upload big picture failed

  • 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.