projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8826295
)
Roo/htmleditor/BlockFigure.js
author
leon
<leon@roojs.com>
Mon, 14 Aug 2023 05:14:45 +0000
(13:14 +0800)
committer
leon
<leon@roojs.com>
Mon, 14 Aug 2023 05:14:45 +0000
(13:14 +0800)
Roo/htmleditor/BlockFigure.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/BlockFigure.js
b/Roo/htmleditor/BlockFigure.js
index
ab658af
..
fb4efab
100644
(file)
--- a/
Roo/htmleditor/BlockFigure.js
+++ b/
Roo/htmleditor/BlockFigure.js
@@
-412,7
+412,7
@@
Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
this.caption_display = this.getVal(node, 'figcaption', 'data-display');
var dc = this.getVal(node, true, 'data-caption');
- if (dc && dc.length) {
+ if (
figcaption !== '' && caption_dispaly &&
dc && dc.length) {
this.caption = dc;
}
//this.text_align = this.getVal(node, 'figcaption', 'style','text-align');