rem:  EditorSetDefaultPrefsAndDoctype(); EditorInitToolbars(); BuildRecentMenu(true);   gContentWindow = window._content; gContentWindow.focus();    window.updateCommands("create");  if (!("InsertCharWindow" in window)) window.InsertCharWindow = null;    SetSaveAndPublishUI(GetDocumentUrl()); 
add: addEditorClickEventListener(); 
context:   NotifyDocumentCreated: function()  {    // Call EditorSetDefaultPrefsAndDoctype first so it gets the default author before initing toolbars    EditorSetDefaultPrefsAndDoctype();    EditorInitToolbars();    BuildRecentMenu(true);      // Build the recent files menu and save to prefs    // Just for convenience    gContentWindow = window._content;    gContentWindow.focus();    // udpate menu items now that we have an editor to play with    // Note: This must be AFTER gContentWindow.focus();    window.updateCommands("create");    if (!("InsertCharWindow" in window))      window.InsertCharWindow = null;        // We must wait until document is created to get proper Url    // (Windows may load with local file paths)    SetSaveAndPublishUI(GetDocumentUrl());  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/7b78cc7f767606d295a9825e9c923fca9af7cdfa/editor.js/clean/editor/ui/composer/content/editor.js