mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
Issue 1586 fixed a bug of adding editor_component attribute automatically after editing on editor
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10286 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
fe180bc1c9
commit
37805e4dbb
3 changed files with 3 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue