Roo/htmleditor/BlockFigure.js
authorleon <leon@roojs.com>
Mon, 25 Sep 2023 03:57:58 +0000 (11:57 +0800)
committerleon <leon@roojs.com>
Mon, 25 Sep 2023 03:57:58 +0000 (11:57 +0800)
Roo/htmleditor/BlockFigure.js

index 558d670..6338d8a 100644 (file)
@@ -258,44 +258,6 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
                     }
                 },
                 xns : rooui.Toolbar
-            },
-
-            {
-                xtype : 'ComboBox',
-                allowBlank : false,
-                displayField : 'val',
-                editable : true,
-                listWidth : 100,
-                triggerAction : 'all',
-                typeAhead : true,
-                valueField : 'val',
-                width : 70,
-                name : 'caption_align',
-                listeners : {
-                    render : function(_self)
-                    {
-                        toolbar.captionAlign = this;
-                    },
-                    select : function (combo, r, index)
-                    {
-                        toolbar.editorcore.selectNode(toolbar.tb.selectedNode);
-                        var b = block();
-                        b.caption_align = r.get('val');
-                        b.updateElement();
-                        syncValue();
-                        toolbar.editorcore.onEditorEvent();
-                    }
-                },
-                xns : rooui.form,
-                store : {
-                    xtype : 'SimpleStore',
-                    data : [
-                        ['left'],
-                        ['right']
-                    ],
-                    fields : [ 'val'],
-                    xns : Roo.data
-                }
             }
         ];