projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56da741
)
Roo/htmleditor/BlockFigure.js
wip_leon_T7793_messed_up_captions
author
leon
<leon@roojs.com>
Mon, 28 Aug 2023 08:20:02 +0000
(16:20 +0800)
committer
leon
<leon@roojs.com>
Mon, 28 Aug 2023 08:20:02 +0000
(16:20 +0800)
Roo/htmleditor/BlockFigure.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/BlockFigure.js
b/Roo/htmleditor/BlockFigure.js
index
9d01b1d
..
70b56c0
100644
(file)
--- a/
Roo/htmleditor/BlockFigure.js
+++ b/
Roo/htmleditor/BlockFigure.js
@@
-418,7
+418,7
@@
Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
// 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' &&
this.caption == '' &&
dc && dc.length){
+ if(this.caption_display == 'none' && dc && dc.length){
this.caption = dc;
}