projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7601d78
)
Roo/htmleditor/BlockFigure.js
author
Alan
<alan@roojs.com>
Thu, 6 Jan 2022 05:07:50 +0000
(13:07 +0800)
committer
Alan
<alan@roojs.com>
Thu, 6 Jan 2022 05:07:50 +0000
(13:07 +0800)
Roo/htmleditor/BlockFigure.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/BlockFigure.js
b/Roo/htmleditor/BlockFigure.js
index
04653cb
..
6aa3b11
100644
(file)
--- a/
Roo/htmleditor/BlockFigure.js
+++ b/
Roo/htmleditor/BlockFigure.js
@@
-259,6
+259,9
@@
Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
readElement : function(node)
{
+ // this should not really come from the link...
+ this.href = this.getVal(node, 'a', 'href');
+
this.image_src = this.getVal(node, 'img', 'src');
this.align = this.getVal(node, 'figure', 'align');
this.caption = this.getVal(node, 'figcaption', 'html');