mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
url_link 에디터 컴포넌트에서 텍스트 더블클릭시 js 오류 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2405 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
29dfac2663
commit
67039ea3a1
1 changed files with 1 additions and 1 deletions
|
|
@ -44,9 +44,9 @@ function getText() {
|
||||||
|
|
||||||
return;
|
return;
|
||||||
} else if(node.nodeName == "IMG") {
|
} else if(node.nodeName == "IMG") {
|
||||||
alert(1);
|
|
||||||
} else {
|
} else {
|
||||||
var fo_obj = xGetElementById("fo_component");
|
var fo_obj = xGetElementById("fo_component");
|
||||||
|
var text = opener.editorGetSelectedHtml(opener.editorPrevSrl);
|
||||||
fo_obj.text.value = text.replace(/<([^>]*)>/ig,'').replace(/</ig,'<').replace(/>/ig,'>').replace(/&/ig,'&');
|
fo_obj.text.value = text.replace(/<([^>]*)>/ig,'').replace(/</ig,'<').replace(/>/ig,'>').replace(/&/ig,'&');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue