10 JavaScript-based WYSIWYG editors, javascriptwysiwyg
Comsharp cms writes: When editing content online, those JavaScript-based editors helped us a lot. These WYSIWYG editors provide us with a similar Office operation experience. Today, any website Content Management System (CMS) and blog system need such an editor. This article selects 10 JavaScript-based editors, some of which are based on the jQuery framework, and some are not.
MarkitUp-jQuery
Official Website|Demo
There are not many functions, but they are lightweight and flexible. The package size is only 6.5kb.
JWYSIWYG-jQuery
Official Website|Demo
Very basic Editor, simple-oriented. The package is only 7 kb.
Lightweight RTE-jQuery
Official Website|Demo
It is as simple as it cannot be simpler and can be easily modified by yourself.
HTMLBox-jQuery
Official Website|Demo
Cross-browser, open-source, based on jQuery. It is easy to integrate with various CMS, forums, message books, blogs, and other systems.
D Small Rich Text Editor-jQuery
Official Website|Demo
Iframe-based object.
WYMEditor-jQuery
Official Website|Demo
<! -- ################## NON jQUery ################### -->
TinyMCE-non-jQuery
Official Website|Demo
The most classic JavaScript-based Editor, which is the default editor of comsharp cms.
Fckeditor-Non-jQuery
Official Website|Demo
Very powerful.
Yahoo YUI Rich Text Editor-Non-jQuery
Official Website|Demo
Based on Yahoo YUI, it is simple but reliable.
Xinha-Non-jQuery
Official Website|Demo
The Free BSD-based license editor has complete functions and is suitable for integration with various systems.
Ask professionals what is the best WYSIWYG javascript editing software
WYSIWYG
Www.javaeye.com/...script
Reference: jsssc.cn
Use Javascript programming to generate a random number of less than 10
<Html>
<Head>
<Title> Generate a random number </title>
</Head>
<Body>
<Script type = "text/javascript">
For (I = 1; I <11; I ++ ){
// Math. random () is to generate 0 ~ Random number between 1
Var ran = Math. random () * 10; // generate 0 ~ Random Number between 10
Document. write ("nth" + I + "random number:" + ran + "<br> ");
}
</Script>
</Body>
</Html>