git-svn-id: http://xe-core.googlecode.com/svn/trunk@523 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-19 03:09:52 +00:00
parent 00fe8b71f6
commit 1cf29fc743
10 changed files with 72 additions and 84 deletions

View file

@ -321,23 +321,6 @@ function editorChangeFontSize(obj,srl) {
obj.selectedIndex = 0;
}
function editorSetForeColor(color_code) {
editorDo("ForeColor",color_code,editorPrevSrl);
editorFocus(editorPrevSrl);
}
function editorSetBackColor(color_code) {
if(xIE4Up) editorDo("BackColor",color_code,editorPrevSrl);
else editorDo("hilitecolor",color_code,editorPrevSrl);
editorFocus(editorPrevSrl);
}
function editorInsertEmoticon(obj) {
editorFocus(editorPrevSrl);
editorDo("InsertImage",obj.src,editorPrevSrl);
editorFocus(editorPrevSrl);
}
function editorDoInsertUrl(link, upload_target_srl) {
editorFocus(upload_target_srl);
var iframe_obj = editorGetIFrame(srl);
@ -386,15 +369,6 @@ function editorInsertMultimedia(url, width, height) {
}
}
function editorInsertHTML(html) {
if(!html) return;
editorFocus(editorPrevSrl);
var obj = editorGetIFrame(editorPrevSrl)
editorReplaceHTML(obj, html);
editorFocus(editorPrevSrl);
}
function editorInsertQuotation(html) {
if(!html) return;