projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9a5776
)
Roo/HtmlEditorCore.js
author
Alan
<alan@roojs.com>
Tue, 12 Oct 2021 02:59:40 +0000
(10:59 +0800)
committer
Alan
<alan@roojs.com>
Tue, 12 Oct 2021 02:59:40 +0000
(10:59 +0800)
Roo/HtmlEditorCore.js
patch
|
blob
|
history
diff --git
a/Roo/HtmlEditorCore.js
b/Roo/HtmlEditorCore.js
index
98f6c8b
..
c954a5c
100644
(file)
--- a/
Roo/HtmlEditorCore.js
+++ b/
Roo/HtmlEditorCore.js
@@
-541,6
+541,10
@@
Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
var d = (new DOMParser().parseFromString(html, 'text/html')).body;
+ Roo.each(d.getElementsByTagName('img'), function(img, i) {
+ img.setAttribute('src', images[i]);
+ });
+
Roo.log(cd.getData('text/rtf'));
Roo.log(cd.getData('text/richtext'));