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

Roo/htmleditor/BlockFigure.js

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