projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51835a7
)
Roo/htmleditor/BlockFigure.js
author
leon
<leon@roojs.com>
Mon, 25 Sep 2023 02:31:42 +0000
(10:31 +0800)
committer
leon
<leon@roojs.com>
Mon, 25 Sep 2023 02:31:42 +0000
(10:31 +0800)
Roo/htmleditor/BlockFigure.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/BlockFigure.js
b/Roo/htmleditor/BlockFigure.js
index
f173d81
..
4d13e6d
100644
(file)
--- a/
Roo/htmleditor/BlockFigure.js
+++ b/
Roo/htmleditor/BlockFigure.js
@@
-166,14
+166,18
@@
Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
listeners : {
select : function (combo, r, index)
{
- Roo.log('TOOLBAR CAPTION ALIGN');
- Roo.log(toolbar);
+ toolbar.captionAlign
toolbar.editorcore.selectNode(toolbar.tb.selectedNode);
var b = block();
b.width = r.get('val');
b.updateElement();
syncValue();
toolbar.editorcore.onEditorEvent();
+
+ toolbar.captionAlign.show();
+ if(b.width != '100%') {
+ toolbar.captionAlign.hide();
+ }
}
},
xns : rooui.form,