projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cd061f
)
Roo/htmleditor/BlockFigure.js
author
leon
<leon@roojs.com>
Mon, 25 Sep 2023 04:15:08 +0000
(12:15 +0800)
committer
leon
<leon@roojs.com>
Mon, 25 Sep 2023 04:15:08 +0000
(12:15 +0800)
Roo/htmleditor/BlockFigure.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/BlockFigure.js
b/Roo/htmleditor/BlockFigure.js
index
ad8f684
..
9c20794
100644
(file)
--- a/
Roo/htmleditor/BlockFigure.js
+++ b/
Roo/htmleditor/BlockFigure.js
@@
-398,6
+398,9
@@
Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
this.align = this.getVal(node, 'figure', 'align');
+ // caption display is stored in figure
+ this.caption_display = this.getVal(node, true, 'data-caption-display');
+
// backward compatible
// it was stored in figcaption
if(this.caption_display == '') {