X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-ui-debug.js;h=b7439f8aa5b3072e7ea659c8ab19bd365b7cf688;hb=1941b2a4745372bea285e246d46b92b5c6653751;hp=551e63624977272073c60e4168e3f9bfd689b4ec;hpb=a6b3c6e8b30103cc0bea2dcde43baf2451d310f6;p=roojs1 diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 551e636249..b7439f8aa5 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -25905,10 +25905,12 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, { } if (images.length > 0) { + // if they mix thse, then it's going to be messy... + var imgs = Array.from(d.getElementsByTagName('img')); + imgs.concat(Array.from(document.getElementsByTagName('v:imagedata'))); // not sure if we need array from here. - - Roo.each(d.getElementsByTagName('img'), function(img, i) { + Roo.each(imgs, function(img, i) { img.setAttribute('src', images[i]); }); }