Function introduction:
1. Supports basic text formatting such as font, paragraph, size, bold, italic and underline, superscript and subscript, left and right and center alignment;
2. Numbers and item numbers can be reduced or increased indentation to imitate Word’s fast typesetting mode;
3. Support basic editing operations such as search, replace, undo, and redo;
4. Provides the function of inserting standard line breaks<br> and horizontal lines;
5. Supports select all, cut and paste, copy, regular paste, and plain text paste;
6. Supports fast word processing functions such as deleting text formats and cleaning HTML codes;
7. Provide perfect table insertion, adding and subtracting rows, columns and other functions;
8. Supports color settings for text, text background, table background, lines, etc.;
9. Supports inserting all media files such as pictures, animations, audios, and videos;
10. Supports the insertion of special characters, artistic words, placard emoticons, QQ and other commonly used emoticons;
11. Support code display, reference display, and hidden text function display;
12. Provide original "automatic typesetting" and "Asai typesetting" functions. With just one click, you can complete pasting, formatting, and automatic typesetting of articles from external websites in one second (*);
13. Support the online upload function of pictures, animations, audios, videos and other files (*);
14. A full set of placard-raising emoticons, steamed bun emoticons and other page-turning functions are fully supported (*).
Instructions for use:
1. OnSubmit="return load_content();" must be added to the editor submission form, otherwise the text box content cannot be obtained;
<form action="?action=save" name="formasai" method="post" onSubmit="return load_content();"> <!--Special attention! -->
2. OnLoad="return load_edit();" must be added to the body tag, otherwise the existing content in the text box cannot be read;
<body onLoad="return load_edit();"> <!--Special attention! -->
3. The pure JS calling code is as follows:
<SCRIPT language="javascript">
var Sm="";//----Editor's URL
var Se="AsaiEdit/";//----editor folder
var sy="9EC9EC";//----Darker color of border
var qy="EDF6FF";//----a lighter background color
var by="FFFFFF"; //---- background white shading
var an="Content"; //----The name of the text box to be edited
</script>
<SCRIPT language="JavaScript" src="AsaiEdit/AsaiEdit.js" charset="gb2312"></SCRIPT>
<textarea name="Content" id="Content" cols="88" rows="8" style="display:none;">Here is the content...</textarea>
4. Call example:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<form action="?action=save" name="formasai" method="post" onSubmit="return load_content();" > <!--Special attention! -->
Title: <input name="title" type="text" value="" style="width:60%" maxlength="30"><br><br>
Content:<br>
<body onLoad="return load_edit();" > <!--Special attention! -->
<SCRIPT language="javascript">
var Sm="";//----Editor's URL
var Se="AsaiEdit/";//----editor folder
var sy="9EC9EC";//----Darker color of border
var qy="EDF6FF";//----a lighter background color
var by="FFFFFF"; //---- background white shading
var an="Content"; //----The name of the text box to be edited
</script>
<SCRIPT language="JavaScript" src="AsaiEdit/AsaiEdit.js" charset="gb2312"></SCRIPT>
<textarea name="Content" id="Content" cols="88" rows="8" style="display:none;">
(Asai Online HTML Editor V2010) AsaiEditVer2010
</textarea><br><br>
<input name="Submit2" type="submit" value="Confirm submission" style="HEIGHT: 24px; font-size:12px">
</form>
</body>
</html>
Expand