projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dccfc8f
)
Roo/htmleditor/BlockFigure.js
author
leon
<leon@roojs.com>
Mon, 28 Aug 2023 03:01:37 +0000
(11:01 +0800)
committer
leon
<leon@roojs.com>
Mon, 28 Aug 2023 03:01:37 +0000
(11:01 +0800)
Roo/htmleditor/BlockFigure.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/BlockFigure.js
b/Roo/htmleditor/BlockFigure.js
index
c30d1ef
..
0d05a2e
100644
(file)
--- a/
Roo/htmleditor/BlockFigure.js
+++ b/
Roo/htmleditor/BlockFigure.js
@@
-420,7
+420,7
@@
Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
}
- // read caption from data-caption in figure if
empty
figcaption
+ // read caption from data-caption in figure if
no caption from
figcaption
var dc = this.getVal(node, true, 'data-caption');
// if (this.caption_display == 'none' && figcaption != '' && dc && dc.length) {
if(this.caption == '' && dc && dc.length){