📄 manage.js
字号:
function editor_insert(strid, strers)
{
eval(strid + "_editor").insertHTML(strers);
}
function get_selects_list(strid)
{
var tobj = strid;
if (tobj)
{
var ti,tstr;
tstr = "";
for (ti = 0; ti < tobj.options.length; ti ++)
{
if (tstr == "")
{tstr = tobj.options[ti].value;}
else
{tstr += "|" + tobj.options[ti].value;}
}
return tstr;
}
}
function insert_images(strid, strurl, strntype, strtype, strbase)
{
var tstrtype;
if (strtype == -1)
{tstrtype = strntype;}
else
{
var thtype = request["htype"];
if (thtype == undefined)
{tstrtype = strtype;}
else
{tstrtype = get_num(thtype);}
}
if (tstrtype == 1)
{
itextner(strid, "[img]" + strurl + "[/img]");
}
else
{
if (tstrtype == 0)
{
editor_insert(strid, "<img src=\"" + strbase + "/" + strurl + "\" border=\"0\">");
}
}
}
function insert_cutepagestr(strid, strers, strntype, strtype)
{
var tstrtype;
if (strtype == -1)
{tstrtype = strntype;}
else
{
var thtype = request["htype"];
if (thtype == undefined)
{tstrtype = strtype;}
else
{tstrtype = get_num(thtype);}
}
if (!(tstrtype == 0))
{
itextner(strid, strers);
}
else
{
editor_insert(strid, strers);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -