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