diff --git a/modules/editor/skins/xpresseditor/js/Xpress_Editor.js b/modules/editor/skins/xpresseditor/js/Xpress_Editor.js index 64a1f784c..c0bf9b5e6 100644 --- a/modules/editor/skins/xpresseditor/js/Xpress_Editor.js +++ b/modules/editor/skins/xpresseditor/js/Xpress_Editor.js @@ -5248,7 +5248,7 @@ xe.XE_Extension = $.Class({ $(doc).find('img,div[editor_component]').each(function(){ var obj = $(this); - if(this.nodeName == 'IMG' && !obj.attr('editor_component')) { + if(this.nodeName == 'IMG' && !obj.attr('editor_component') && !obj.attr('widget') { obj.attr('editor_component','image_link'); } if(this.last_doc != doc) { diff --git a/modules/editor/skins/xpresseditor/js/xpresseditor.js b/modules/editor/skins/xpresseditor/js/xpresseditor.js index cf296bbe2..fc72f7026 100644 --- a/modules/editor/skins/xpresseditor/js/xpresseditor.js +++ b/modules/editor/skins/xpresseditor/js/xpresseditor.js @@ -5248,7 +5248,7 @@ xe.XE_Extension = $.Class({ $(doc).find('img,div[editor_component]').each(function(){ var obj = $(this); - if(this.nodeName == 'IMG' && !obj.attr('editor_component')) { + if(this.nodeName == 'IMG' && !obj.attr('editor_component') && !obj.attr('widget') ) { obj.attr('editor_component','image_link'); } if(this.last_doc != doc) { diff --git a/modules/editor/tpl/js/editor_common.js b/modules/editor/tpl/js/editor_common.js index 376459e09..5d79974a0 100644 --- a/modules/editor/tpl/js/editor_common.js +++ b/modules/editor/tpl/js/editor_common.js @@ -253,7 +253,7 @@ function editorSearchComponent(evt) { // editor_component를 찾지 못했을 경우에 이미지/텍스트/링크의 경우 기본 컴포넌트와 연결 if(!editor_component) { // 이미지일 경우 - if(obj.nodeName == "IMG") { + if(obj.nodeName == "IMG" && !obj.getAttribute("widget")) { editor_component = "image_link"; editorPrevNode = obj; }