projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix caption display
[roojs1]
/
Roo
/
htmleditor
/
BlockFigure.js
diff --git
a/Roo/htmleditor/BlockFigure.js
b/Roo/htmleditor/BlockFigure.js
index
233eec4
..
b2f60d4
100644
(file)
--- a/
Roo/htmleditor/BlockFigure.js
+++ b/
Roo/htmleditor/BlockFigure.js
@@
-311,7
+311,7
@@
Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
};
}
// we remove caption totally if its hidden... - will delete data.. but otherwise we end up with fake 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");
+ var captionhtml = this.caption_display == '
none
' ? '' : (this.caption.length ? this.caption : "Caption");
return {
tag: 'figure',
return {
tag: 'figure',