📄 eidtor.htm
字号:
<html>
<head>
<title>htmlEditor</title>
<style type="text/css"><!--
body, td { font-family: arial; font-size: x-small; }
a { color: #0000BB; text-decoration: none; }
a:hover { color: #FF0000; text-decoration: underline; }
.headline { font-family: arial black, arial; font-size: 28px; letter-spacing: -1px; }
.headline2{ font-family: verdana, arial; font-size: 12px; }
.subhead { font-family: arial, arial; font-size: 18px; font-weight: bold; font-style: italic; }
.backtotop { font-family: arial, arial; font-size: xx-small; }
.code { background-color: #EEEEEE; font-family: Courier New; font-size: x-small;
margin: 5px 0px 5px 0px; padding: 5px;
border: black 1px dotted;
}
font { font-family: arial black, arial; font-size: 28px; letter-spacing: -1px; }
-->
</style>
<script language="Javascript1.2">
<!-- // load htmlarea
_editor_url = "";
// URL to htmlarea files
var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]);
if (navigator.userAgent.indexOf('Mac') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Opera') >= 0) { win_ie_ver = 0; }
if (win_ie_ver >= 5.5) {
document.write('<scr' + 'ipt src="' +_editor_url+ 'editor.js"');
document.write(' language="Javascript1.2"></scr' + 'ipt>');
} else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); }
// -->
</script>
</head>
<body>
<a name="top"></a>
<textarea name="EditorArea" style="width:100%; height:600px;" >
</textarea>
<script language="javascript1.2">
editor_generate('EditorArea');
</script>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -