projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Roo/HtmlEditorCore.js
[roojs1]
/
Roo
/
HtmlEditorCore.js
diff --git
a/Roo/HtmlEditorCore.js
b/Roo/HtmlEditorCore.js
index
709bef2
..
17c4d62
100644
(file)
--- a/
Roo/HtmlEditorCore.js
+++ b/
Roo/HtmlEditorCore.js
@@
-614,10
+614,12
@@
Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
}
if (images.length > 0) {
}
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]);
});
}
img.setAttribute('src', images[i]);
});
}