projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
986af2e
)
Roo/htmleditor/BlockFigure.js
author
leon
<leon@roojs.com>
Mon, 28 Aug 2023 03:27:48 +0000
(11:27 +0800)
committer
leon
<leon@roojs.com>
Mon, 28 Aug 2023 03:27:48 +0000
(11:27 +0800)
Roo/htmleditor/BlockFigure.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/BlockFigure.js
b/Roo/htmleditor/BlockFigure.js
index
f4d069c
..
8b6e253
100644
(file)
--- a/
Roo/htmleditor/BlockFigure.js
+++ b/
Roo/htmleditor/BlockFigure.js
@@
-338,7
+338,6
@@
Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
textAlign : this.align // seems to work for email..
},
-
align : this.align,
cn : [
@@
-426,7
+425,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){
this.caption = dc;
Roo.log('DATA CAPTION');