projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more styling
[roojs1]
/
Roo
/
htmleditor
/
BlockFigure.js
diff --git
a/Roo/htmleditor/BlockFigure.js
b/Roo/htmleditor/BlockFigure.js
index
f27d64a
..
118457f
100644
(file)
--- a/
Roo/htmleditor/BlockFigure.js
+++ b/
Roo/htmleditor/BlockFigure.js
@@
-310,8
+310,8
@@
Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
]
};
}
]
};
}
-
- var captionhtml = this.caption_display == 'hidden' ?
this.caption
: (this.caption.length ? this.caption : "Caption");
+ // we remove caption totally if its hidden... - will delete data.. but otherwise we end up with fake caption
+ var captionhtml = this.caption_display == 'hidden' ?
''
: (this.caption.length ? this.caption : "Caption");
return {
tag: 'figure',
return {
tag: 'figure',