📄 script_edit.js
字号:
function setSpeedCount(speedCount) {
addform.speedCount.value = speedCount;
}
function setPptPath(pptPath) {
addform.pptPath.value = pptPath;
}
function setUseCard(useCard) {
var obj = document.all.item("isUseCard");
if (useCard=="true")
obj.checked = true;
else
obj.checked = false;
}
function setParagraph() {
var oEditor=eval("idContent"+"oEdit1");
var oRng=oEditor.document.selection.createRange();
var isFocus = oEdit1.checkFocus();
if (!isFocus)
return;
oRng.text = "[p]" + oRng.htmlText + "[/p]";
}
function setSentence() {
var oEditor=eval("idContent"+"oEdit1");
var oRng=oEditor.document.selection.createRange();
var isFocus = oEdit1.checkFocus();
if (!isFocus)
return;
oRng.text = "[s]" + oRng.htmlText + "[/s]";
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -