Table tools are plugins and must be loaded before the editor is generated. If you wish to add those buttons on the smaller editor you'll need to change the calling (function use_html_editor) function that generates the editor (lib/weblib.php) to something like this:
<Script type definition goes here> // load the plugin files HTMLArea.loadPlugin("TableOperations");
var editor = null; function initEditor() { // create an editor for the "ta" textbox editor = new HTMLArea("ta");
// register the TableOperations plugin with our editor editor.registerPlugin(TableOperations);
editor.generate(); return false; }
initEditor(); </script type definition ends here>
This is not good since you'll lose editor on some modules that uses many editors at the same page.