mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 21:59:55 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@577 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f0a384d165
commit
41fc55f0fd
3 changed files with 3 additions and 24 deletions
|
|
@ -77,16 +77,9 @@ function editorStart(upload_target_srl) {
|
|||
xAddEventListener(document,'mouseup',editorEventCheck);
|
||||
xAddEventListener(document,'mousedown',editorHideObject);
|
||||
|
||||
// 문단작성기능 on/off
|
||||
/*
|
||||
if(xIE4Up) {
|
||||
xDisplay('editor_paragraph_'+upload_target_srl, 'none');
|
||||
xDisplay('editor_use_paragraph_box_'+upload_target_srl, 'inline');
|
||||
} else {
|
||||
xDisplay('editor_paragraph_'+upload_target_srl, 'block');
|
||||
xDisplay('editor_use_paragraph_box_'+upload_target_srl, 'none');
|
||||
xGetElementById('for_ie_help_'+upload_target_srl).style.display = "block";
|
||||
}
|
||||
*/
|
||||
|
||||
// 에디터의 내용을 지속적으로 fo_obj.content.value에 입력
|
||||
editorSyncContent(fo_obj.content, upload_target_srl);
|
||||
|
|
@ -186,20 +179,6 @@ function editorReplaceHTML(iframe_obj, html) {
|
|||
// 입력 키에 대한 이벤트 체크
|
||||
function editorKeyPress(evt) {
|
||||
var e = new xEvent(evt);
|
||||
/*
|
||||
if (e.keyCode == 13) {
|
||||
if(xIE4Up && e.shiftKey == false && !xGetElementById("use_paragraph").checked ) {
|
||||
if(e.target.parentElement.document.designMode!="On") return;
|
||||
var obj = e.target.parentElement.document.selection.createRange();
|
||||
obj.pasteHTML('<br />');
|
||||
obj.select();
|
||||
evt.cancelBubble = true;
|
||||
evt.returnValue = false;
|
||||
return;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
if (e.ctrlKey) {
|
||||
switch(e.keyCode) {
|
||||
case 98 : // b
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue