rem: EditorInsertTable(); 
add: if (editorShell.editorSelection.isCollapsed)  EditorInsertTable(); else  goDoCommand("cmd_ConvertToTable"); 
context: function EditorInsertOrEditTable(insertAllowed){  if (IsInTable()) {    // Edit properties of existing table    window.openDialog("chrome://editor/content/EdTableProps.xul", "_blank", "chrome,close,titlebar,modal", "","TablePanel");    window._content.focus();  } else if(insertAllowed) {    EditorInsertTable();  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6f169fbb60610b5cb36fe3631feae43e45cc3c1b/editor.js/clean/editor/ui/composer/content/editor.js