mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-26 22:59:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@606 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
18d14721f6
commit
15756c2579
2 changed files with 6 additions and 2 deletions
|
|
@ -343,10 +343,14 @@ function editorSearchComponent(evt) {
|
||||||
if(obj.nodeName == "IMG") {
|
if(obj.nodeName == "IMG") {
|
||||||
editor_component = "image_link";
|
editor_component = "image_link";
|
||||||
editorPrevNode = obj;
|
editorPrevNode = obj;
|
||||||
}
|
|
||||||
|
// 테이블의 td일 경우
|
||||||
|
} else if(obj.nodeName == "TD") {
|
||||||
|
editor_component = "table_maker";
|
||||||
|
editorPrevNode = obj;
|
||||||
|
|
||||||
// 링크거나 텍스트인 경우
|
// 링크거나 텍스트인 경우
|
||||||
else if(obj.nodeName == "A" || obj.nodeName == "BODY" || obj.nodeName.indexOf("H")==0 || obj.nodeName == "LI" || obj.nodeName == "P") {
|
} else if(obj.nodeName == "A" || obj.nodeName == "BODY" || obj.nodeName.indexOf("H")==0 || obj.nodeName == "LI" || obj.nodeName == "P") {
|
||||||
editor_component = "url_link";
|
editor_component = "url_link";
|
||||||
editorPrevNode = obj;
|
editorPrevNode = obj;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue