Roo/htmleditor/BlockFigure.js
authorleon <leon@roojs.com>
Mon, 25 Sep 2023 02:32:00 +0000 (10:32 +0800)
committerleon <leon@roojs.com>
Mon, 25 Sep 2023 02:32:00 +0000 (10:32 +0800)
Roo/htmleditor/BlockFigure.js

index 4d13e6d..f98ca0c 100644 (file)
@@ -176,7 +176,8 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
 
                         toolbar.captionAlign.show();
                         if(b.width != '100%') {
-                            toolbar.captionAlign.hide();
+                            toolbar.captionAlign.setFromData({'left'});
+                            // toolbar.captionAlign.hide();
                         }
                     }
                 },