add: else { SetElementEnabled(document.getElementById("menu_checkspelling"), true); SetElementEnabled(document.getElementById("spellingButton"), true); SetElementEnabled(document.getElementById("checkspellingkb"), true); } 
context: function RemoveInapplicableUIElements(){  // For items that are in their own menu block, remove associated separator  // (we can't use "hidden" since class="hide-in-IM" CSS rule interferes)   // if no find, remove find ui  if (!IsFindInstalled())  {    HideItem("menu_find");    HideItem("menu_findnext");    HideItem("menu_replace");    HideItem("menu_find");    RemoveItem("sep_find");  }   // if no spell checker, remove spell checker ui  if (!IsSpellCheckerInstalled())  {    HideItem("spellingButton");    HideItem("menu_checkspelling");    RemoveItem("sep_checkspelling");  }  // Remove menu items (from overlay shared with HTML editor) in PlainText editor  if (editorShell.editorType == "text")  {    HideItem("insertAnchor");    HideItem("insertImage");    HideItem("insertHline");    HideItem("insertTable");    HideItem("insertHTML");    HideItem("insertFormMenu");    HideItem("fileExportToText");    HideItem("viewFormatToolbar");    HideItem("viewEditModeToolbar");  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/7f2166dec3763f2b6b7dc96538c91c571cf98fa2/editor.js/buggy/editor/ui/composer/content/editor.js