projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7c9d57
)
Roo/htmleditor/BlockFigure.js
author
leon
<leon@roojs.com>
Mon, 28 Aug 2023 03:24:55 +0000
(11:24 +0800)
committer
leon
<leon@roojs.com>
Mon, 28 Aug 2023 03:24:55 +0000
(11:24 +0800)
Roo/htmleditor/BlockFigure.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/BlockFigure.js
b/Roo/htmleditor/BlockFigure.js
index
62682d6
..
d65d0b1
100644
(file)
--- a/
Roo/htmleditor/BlockFigure.js
+++ b/
Roo/htmleditor/BlockFigure.js
@@
-325,6
+325,7
@@
Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
'data-block' : 'Figure',
'data-width' : this.width,
'data-caption' : this.caption,
+ 'data-caption-display' : this.caption_display,
contenteditable : 'false',
style : {
@@
-349,7
+350,6
@@
Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
if(this.caption_display == 'block') {
ret['cn'].push({
tag: 'figcaption',
- 'data-display' : this.caption_display,
style : {
textAlign : 'left',
fontSize : '16px',