Jquery plugin markitup lightweight Text Editor
Jquery universal markup editor is a jquery-based lightweight text editor that provides powerful online text editor functions. It supports HTML, wiki, bbscode, and other editing formats. It is highly scalable and easy to use. markitup is as follows:
Instructions for use
You need to use the jquery library file and the markitup Library File
Use instance
1. Contains the file section
- <SCRIPT type = "text/JavaScript" src = "jquery. js"> </SCRIPT>
- <SCRIPT type = "text/JavaScript" src = "markitup/jquery. markitup. js"> </SCRIPT>
- <SCRIPT type = "text/JavaScript" src = "markitup/sets/html/set. js"> </SCRIPT>
Ii. html Section
- <Textarea id ="Html"Cols =" 80 "rows =" 20 ">
- ...Biuuu.com...
- </Textarea>
Iii. crpt
- <Script language = "JavaScript">
- $ (Document). Ready (function (){
- $ ('#Html'). Markitup (myhtmlsettings );
- });
- </SCRIPT>
The above examples show that using the jquery plug-in markitup to implement an online text editor is very simple and has rich functions. Here we only introduce a simple HTML example. You can go to the markitup official website to view relevant documents.