Roo/htmleditor/BlockTd.js
authorAlan <alan@roojs.com>
Mon, 20 Dec 2021 06:37:23 +0000 (14:37 +0800)
committerAlan <alan@roojs.com>
Mon, 20 Dec 2021 06:37:23 +0000 (14:37 +0800)
Roo/htmleditor/BlockTd.js

index c1f6c80..76d4488 100644 (file)
@@ -104,133 +104,8 @@ Roo.extend(Roo.htmleditor.BlockTd, Roo.htmleditor.Block, {
                 }
                 
             },
-            {
-                xtype : 'TextItem',
-                text : "Table Width: ",
-                xns : rooui.Toolbar  //Boostrap?
-            },
-            {
-                xtype : 'ComboBox',
-                allowBlank : false,
-                displayField : 'val',
-                editable : true,
-                listWidth : 100,
-                triggerAction : 'all',
-                typeAhead : true,
-                valueField : 'val',
-                width : 100,
-                name : 'table_width',
-                listeners : {
-                    select : function (combo, r, index)
-                    {
-                        var b = cell();
-                        var t = table();
-                        t.width  = b.table_width = r.get('val');
-                        
-                        t.updateElement();
-                        syncValue();
-                        
-                    }
-                },
-                xns : rooui.form,
-                store : {
-                    xtype : 'SimpleStore',
-                    data : [
-                        ['100%'],
-                        ['auto']
-                    ],
-                    fields : [ 'val'],
-                    xns : Roo.data
-                }
-            },
-            // -------- Cols
-            
-            {
-                xtype : 'TextItem',
-                text : "Columns: ",
-                xns : rooui.Toolbar  //Boostrap?
-            },
-         
-            {
-                xtype : 'Button',
-                text: '-',
-                listeners : {
-                    click : function (_self, e)
-                    {
-                        saveSel();
-                        
-                        table().removeColumn();
-                        syncValue();
-                        restoreSel();
-                    }
-                },
-                xns : rooui.Toolbar
-            },
-            {
-                xtype : 'Button',
-                text: '+',
-                listeners : {
-                    click : function (_self, e)
-                    {
-                         saveSel();
-                        table().addColumn();
-                        syncValue();
-                        restoreSel();
-                    }
-                },
-                xns : rooui.Toolbar
-            },
-            // -------- ROWS
-            {
-                xtype : 'TextItem',
-                text : "Rows: ",
-                xns : rooui.Toolbar  //Boostrap?
-            },
-         
-            {
-                xtype : 'Button',
-                text: '-',
-                listeners : {
-                    click : function (_self, e)
-                    {
-                        saveSel();
-                        table().removeRow();
-                        syncValue();
-                        restoreSel();
-                                         
-                    }
-                },
-                xns : rooui.Toolbar
-            },
-            {
-                xtype : 'Button',
-                text: '+',
-                listeners : {
-                    click : function (_self, e)
-                    {
-                        saveSel();
-                        table().addRow();
-                        syncValue();
-                        restoreSel();
-                    }
-                },
-                xns : rooui.Toolbar
-            },
-            // -------- ROWS
-            {
-                xtype : 'Button',
-                text: 'Reset Column Widths',
-                listeners : {
-                    
-                    click : function (_self, e)
-                    {
-                       saveSel();
-                        block().resetWidths();
-                        restoreSel();
-                    }
-                },
-                xns : rooui.Toolbar
-            },
+              
+           
              
             {
                 xtype : 'TextItem',