From ec675b4f3ba0b25fb69bc0a01822f52ae9fa60a2 Mon Sep 17 00:00:00 2001 From: Ivan Tcholakov Date: Thu, 16 Jul 2009 20:41:45 +0200 Subject: [PATCH] [svn r22162] FS#2867 - The online editor: Corrections for the plugin "tablecommands". --- .../editor/plugins/tablecommands/fckplugin.js | 19 ++++++++++--------- .../fckeditor/toolbars/all_buttons_test.php | 2 +- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/main/inc/lib/fckeditor/editor/plugins/tablecommands/fckplugin.js b/main/inc/lib/fckeditor/editor/plugins/tablecommands/fckplugin.js index 867b1d027d..9d3f3ee3f3 100644 --- a/main/inc/lib/fckeditor/editor/plugins/tablecommands/fckplugin.js +++ b/main/inc/lib/fckeditor/editor/plugins/tablecommands/fckplugin.js @@ -22,12 +22,13 @@ * table commands in the toolbar. */ -FCKToolbarItems.RegisterItem( 'TableInsertRowAfter' , new FCKToolbarButton( 'TableInsertRowAfter' , FCKLang.InsertRowAfter, null, null, null, true, 62 ) ) ; -FCKToolbarItems.RegisterItem( 'TableDeleteRows' , new FCKToolbarButton( 'TableDeleteRows' , FCKLang.DeleteRows, null, null, null, true, 63 ) ) ; -FCKToolbarItems.RegisterItem( 'TableInsertColumnAfter' , new FCKToolbarButton( 'TableInsertColumnAfter' , FCKLang.InsertColumnAfter, null, null, null, true, 64 ) ) ; -FCKToolbarItems.RegisterItem( 'TableDeleteColumns' , new FCKToolbarButton( 'TableDeleteColumns', FCKLang.DeleteColumns, null, null, null, true, 65 ) ) ; -FCKToolbarItems.RegisterItem( 'TableInsertCellAfter' , new FCKToolbarButton( 'TableInsertCellAfter' , FCKLang.InsertCellAfter, null, null, null, true, 58 ) ) ; -FCKToolbarItems.RegisterItem( 'TableDeleteCells' , new FCKToolbarButton( 'TableDeleteCells' , FCKLang.DeleteCells, null, null, null, true, 59 ) ) ; -FCKToolbarItems.RegisterItem( 'TableMergeCells' , new FCKToolbarButton( 'TableMergeCells' , FCKLang.MergeCells, null, null, null, true, 60 ) ) ; -FCKToolbarItems.RegisterItem( 'TableHorizontalSplitCell' , new FCKToolbarButton( 'TableHorizontalSplitCell' , FCKLang.SplitCell, null, null, null, true, 61 ) ) ; -FCKToolbarItems.RegisterItem( 'TableCellProp' , new FCKToolbarButton( 'TableCellProp' , FCKLang.CellProperties, null, null, null, true, 57 ) ) ; +FCKToolbarItems.RegisterItem( 'TableInsertRowAfter', new FCKToolbarButton( 'TableInsertRowAfter', FCKLang.InsertRowAfter, null, null, null, true, 62 ) ) ; +FCKToolbarItems.RegisterItem( 'TableDeleteRows', new FCKToolbarButton( 'TableDeleteRows', FCKLang.DeleteRows, null, null, null, true, 63 ) ) ; +FCKToolbarItems.RegisterItem( 'TableInsertColumnAfter', new FCKToolbarButton( 'TableInsertColumnAfter', FCKLang.InsertColumnAfter, null, null, null, true, 64 ) ) ; +FCKToolbarItems.RegisterItem( 'TableDeleteColumns', new FCKToolbarButton( 'TableDeleteColumns', FCKLang.DeleteColumns, null, null, null, true, 65 ) ) ; +FCKToolbarItems.RegisterItem( 'TableInsertCellAfter', new FCKToolbarButton( 'TableInsertCellAfter', FCKLang.InsertCellAfter, null, null, null, true, 58 ) ) ; +FCKToolbarItems.RegisterItem( 'TableDeleteCells', new FCKToolbarButton( 'TableDeleteCells', FCKLang.DeleteCells, null, null, null, true, 59 ) ) ; +FCKToolbarItems.RegisterItem( 'TableMergeCells', new FCKToolbarButton( 'TableMergeCells', FCKLang.MergeCells, null, null, null, true, 60 ) ) ; +FCKToolbarItems.RegisterItem( 'TableHorizontalSplitCell', new FCKToolbarButton( 'TableHorizontalSplitCell', FCKLang.HorizontalSplitCell, null, null, null, true, 61 ) ) ; +FCKToolbarItems.RegisterItem( 'TableVerticalSplitCell', new FCKToolbarButton( 'TableVerticalSplitCell', FCKLang.VerticalSplitCell, null, null, null, true, 61 ) ) ; +FCKToolbarItems.RegisterItem( 'TableCellProp', new FCKToolbarButton( 'TableCellProp', FCKLang.CellProperties, null, null, null, true, 57 ) ) ; diff --git a/main/inc/lib/fckeditor/toolbars/all_buttons_test.php b/main/inc/lib/fckeditor/toolbars/all_buttons_test.php index 5fc8d5b1b4..ded23bc1e6 100644 --- a/main/inc/lib/fckeditor/toolbars/all_buttons_test.php +++ b/main/inc/lib/fckeditor/toolbars/all_buttons_test.php @@ -16,7 +16,7 @@ $config['ToolbarSets']['Normal'] = array( array('OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'), array('JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'), array('Rule','SpecialChar','PageBreak'), - array('Table','TableInsertRowAfter','TableDeleteRows','TableInsertColumnAfter','TableDeleteColumns','TableInsertCellAfter','TableDeleteCells','TableMergeCells','TableHorizontalSplitCell','TableCellProp'), + array('Table','TableInsertRowAfter','TableDeleteRows','TableInsertColumnAfter','TableDeleteColumns','TableInsertCellAfter','TableDeleteCells','TableMergeCells','TableHorizontalSplitCell','TableVerticalSplitCell','TableCellProp'), '/', array('Style','FontFormat','FontName','FontSize'), array('TextColor','BGColor'),