📄 index.htm
字号:
<option value="_blank">_blank</option>
<option value="_parent">_parent</option>
<option value="_self">_self</option>
<option value="_top">_top</option>
<option value="main">main</option>
<option value="left">left</option>
<option value="right">right</option>
</select> </td>
<td width="5" align="center"> </td>
<td width="20" align="center" id="sty_bold" name="sty_bold"><img src="images/bold.gif" TITLE="加粗" LANGUAGE="javascript" onclick="format('bold');"></td>
<td width="20" align="center" id="sty_italic" name="sty_italic"><img src="images/italic.gif" TITLE="斜体" LANGUAGE="javascript" onclick="format('italic');"></td>
<td width="20" align="center" id="sty_underline" name="sty_underline"><img src="images/underline.gif" TITLE="下划线" LANGUAGE="javascript" onclick="format('underline');"></td>
<td width="20" align="center" id="sty_aleft"><img src="images/aleft.gif" title="左对齐" name="Justify" language="javascript" onClick="format('justifyleft');"></td>
<td width="20" align="center" id="sty_center"><img src="images/center.gif" title="居中" name="Justify" language="javascript" onClick="format('justifycenter');"></td>
<td width="20" align="center" id="sty_aright"><img src="images/aright.gif" title="右对齐" name="Justify" language="javascript" onClick="format('justifyright');"></td>
<td width="20" align="center" id="sty_numlist"><img src="images/numlist.gif" title="编号" language="javascript" onClick="format('insertorderedlist');"></td>
<td width="20" align="center" id="sty_bullist"><img src="images/bullist.gif" title="项目符号" language="javascript" onClick="format('insertunorderedlist');"></td>
<td width="20" align="center" id="sty_outdent"><img src="images/outdent.gif"title="减少缩进量" language="javascript" onClick="format('outdent');"></td>
<td width="20" align="center" id="sty_indent"><img src="images/indent.gif" title="增加缩进量" language="javascript" onClick="format('indent');"></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" class="border2" id="TDPro" style="display:none">
<tr>
<td title="调置单元格水平对齐方式"><font style="font-size: 12px;">水平</font> <select name="TDAlign" style="font-size: 12px; width: 60px;" id="TDAlign" onChange="SetFormat('TD','align',this.value)">
<option>默认</option>
<option value="left">左对齐</option>
<option value="center">居中对齐</option>
<option value="right">右对齐</option>
</select> <font style="font-size: 12px;">宽</font> <input name="TDW" type="text" id="TDW" size="5" maxlength="10" onkeyup="SetFormat('TD','width',this.value,'1')" style="font-size: 12px;">
<input name="button" type="button" id="insertCell" title="插入列" value="插入列" style="font-size: 12px;height:20;">
<input type="button" id="deleteCell" title="删除单元格所有的列" value="删除列" style="font-size: 12px;height:20;">
<input type="button" value="插入行" title="插入行" id="insertRow" style="font-size: 12px;height:20;">
<input type="button" id="deleteRow" title="删除当前单元格所在的行" value="删除行" style="font-size: 12px;height:20;">
</td>
</tr>
<tr>
<td><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><font style="font-size: 12px;">垂直</font> <select name="TDVAlign" id="TDVAlign" style="font-size: 12px; width: 60px;" onChange="SetFormat('TD','vAlign',this.value)">
<option>默认</option>
<option value="top">顶端对齐</option>
<option value="middle">居中对齐</option>
<option value="bottom">底部对齐</option>
</select> <font style="font-size: 12px;">高</font> <input name="TDH" type="text" id="TDH" size="5" maxlength="10" onkeyup="SetFormat('TD','height',this.value,'2')" style="font-size: 12px;">
<font style="font-size: 12px;">背景颜色</font></td>
<td width="25" align="center">
<table width="20" height="20" border="1" cellspacing="1">
<tr>
<td align="right" valign="bottom" TITLE="字体颜色" LANGUAGE="javascript" onClick="setObjColor('TDBG','buttonTDBG');" id="buttonTDBG"><img src="" width="5" height="5" alt=""></td>
</tr>
</table>
</td>
<td> <input name="TDBG" type="text" id="TDBG" size="7" maxlength="7" readonly="true" onblur="setObjColor_1('TDBG','buttonTDBG');">
<input type="checkbox" id="ansyncTD" title="所有单元格设为同一背景色" style="font-size: 12px;">
<span title="所有单元格设为同一背景色" style="font-size: 12px;" >同步</span> </td>
</tr>
</table> </td>
</tr>
</table>
<table width="100%" class="border2" id="TabPro" style="display:none">
<tr>
<td>宽
<input name="TabW" type="text" id="TabW" size="5" maxlength="10" onkeyup="SetFormat('TABLE','width',this.value,'1')" style="font-size: 12px;">
填充
<input name="TabCellpadding" type="text" id="TabCellpadding" size="5" maxlength="10" onkeyup="SetFormat('TABLE','cellPadding',this.value,'2')" style="font-size: 12px;">
对齐
<select name="TabAlign" style="font-size: 12px;" id="TabAlign" onChange="SetFormat('TABLE','align',this.value)" >
<option>默认</option>
<option value="left">左对齐</option>
<option value="center">居中对齐</option>
<option value="right">右对齐</option>
</select></td>
</tr>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>高
<input name="TabH" type="text" id="TabH" size="5" maxlength="10" onkeyup="SetFormat('TABLE','height',this.value,'1')" style="font-size: 12px;">
间距
<input name="TabCellspacing" type="text" id="TabCellspacing" size="5" maxlength="10" onkeyup="SetFormat('TABLE','cellSpacing',this.value,'2')" style="font-size: 12px;">
边框
<input name="TabBorder" type="text" id="TabBorder" size="5" maxlength="10" onkeyup="SetFormat('TABLE','border',this.value,'2')" style="font-size: 12px;">
表格背景</td>
<td width="25" align="right">
<table width="20" height="20" border="1" cellspacing="1">
<tr>
<td align="right" valign="bottom" TITLE="字体颜色" LANGUAGE="javascript" onclick="setObjColor('TabBG','buttonTabBG');" id="buttonTabBG"><img src="" width="5" height="5" alt=""></td>
</tr>
</table>
</td>
<td><input name="TabBG" type="text" id="TabBG" size="7" maxlength="7" readonly="true" style="font-size: 12px;" onblur="setObjColor_1('TabBG','buttonTabBG');">
</td>
</tr>
</table> </td>
</tr>
</table>
<table width="100%" class="border2" id="ImgPro" style="display:none">
<tr>
<td width="1%">图像ID</td>
<td>宽
<input name="imgw" type="text" id="imgw" size="5" maxlength="10" onkeyup="SetFormat('IMG','width',this.value)" style="font-size: 12px;">
源文件 <input name="imgsrc" type="text" id="imgsrc" style="font-size: 12px;" onblur="SetFormat('IMG','src',this.value)">
替代 <input name="imgalt" type="text" id="imgalt" style="width:70px;font-size:12px" onBlur="SetFormat('IMG','alt',this.value)">
边框
<input name="imgborder" type="text" id="imgborder" size="5" maxlength="10" onkeyup="SetFormat('IMG','border',this.value,'2')" style="font-size: 12px;">
</td>
</tr>
<tr>
<td><input name="imgid" type="text" id="imgid" size="6" onBlur="SetFormat('IMG','name',this.value);SetFormat('IMG','id',this.value)"></td>
<td> 高
<input name="imgh" type="text" id="imgh" size="5" maxlength="10" onkeyup="SetFormat('IMG','height',this.value)" style="font-size: 12px;">
链接
<input type="text" name="sty_link" id="sty_link" style="font-size: 12px;" onblur="CreateLink('CreateLink',this.value)" >
目标 <select name="sty_target" id="sty_target" style="width:70px;font-size:12px" onchange="CreateLink_target(this.value)" disabled="true">
<option selected>无</option>
<option value="_blank">_blank</option>
<option value="_parent">_parent</option>
<option value="_self">_self</option>
<option value="_top">_top</option>
<option value="main">main</option>
<option value="left">left</option>
<option value="right">right</option>
</select>
对齐
<select name="imgalign" style="font-size: 12px;" id="imgalign" onChange="SetFormat('IMG','align',this.value)" >
<option selected>默认</option>
<option value="baseline">基线</option>
<option value="top">顶端</option>
<option value="middle">中间</option>
<option value="bottom">底部</option>
<option value="texttop">文本上方</option>
<option value="absmiddle">绝对中间</option>
<option value="absbottom">绝对底部</option>
<option value="left">左对齐</option>
<option value="right">右对齐</option>
</select> </td>
</tr>
</table></td>
</tr>
</table>
</form>
<script src="editor/editor.js" type="text/javascript"></script>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -