projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
788cfa7
)
Roo/htmleditor/BlockFigure.js
author
leon
<leon@roojs.com>
Mon, 14 Aug 2023 05:17:29 +0000
(13:17 +0800)
committer
leon
<leon@roojs.com>
Mon, 14 Aug 2023 05:17:29 +0000
(13:17 +0800)
Roo/htmleditor/BlockFigure.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/BlockFigure.js
b/Roo/htmleditor/BlockFigure.js
index
2b73405
..
227b538
100644
(file)
--- a/
Roo/htmleditor/BlockFigure.js
+++ b/
Roo/htmleditor/BlockFigure.js
@@
-406,7
+406,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 (
caption_display == 'none' && figcaption != '' &&
dc && dc.length) {
this.caption = dc;
}
//this.text_align = this.getVal(node, 'figcaption', 'style','text-align');