mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 05:39:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@562 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
371a3ceefe
commit
1dececb466
3 changed files with 14 additions and 9 deletions
|
|
@ -255,6 +255,8 @@ function editorEventCheck(evt) {
|
|||
case 'outdent' :
|
||||
case 'insertorderedlist' :
|
||||
case 'insertunorderedlist' :
|
||||
case 'undo' :
|
||||
case 'redo' :
|
||||
editorDo(component_name, '', upload_target_srl);
|
||||
break;
|
||||
|
||||
|
|
@ -371,8 +373,14 @@ function editorDo(name, value, target) {
|
|||
function _editorDoSrl(name, value, upload_target_srl) {
|
||||
var iframe_obj = editorGetIFrame(upload_target_srl);
|
||||
editorFocus(upload_target_srl);
|
||||
if(xIE4Up) iframe_obj.contentWindow.document.execCommand(name, false, value);
|
||||
else iframe_obj.contentWindow.document.execCommand(name, false, value);
|
||||
try {
|
||||
if(xIE4Up) {
|
||||
iframe_obj.contentWindow.document.execCommand(name, false, value);
|
||||
} else {
|
||||
iframe_obj.contentWindow.document.execCommand(name, false, value);
|
||||
}
|
||||
} catch(e) {
|
||||
}
|
||||
editorFocus(upload_target_srl);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue