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

This commit is contained in:
zero 2007-03-26 07:41:57 +00:00
parent 4d976f2bdc
commit b0521ae3f1
4 changed files with 31 additions and 35 deletions

View file

@ -408,10 +408,13 @@ function editorDo(command, value, target) {
else doc = target.parentNode;
} else {
var iframe_obj = editorGetIFrame(target);
if(xIE4Up) doc = iframe_obj.contentWindow.document;
else doc = iframe_obj.contentWindow.document;
doc = iframe_obj.contentWindow.document;
}
// 포커스
if(typeof(target)=="object") target.focus();
else editorFocus(target);
// 실행
doc.execCommand(command, false, value);