make doEditor create an html editor rather than the plaintext editor. (bug #16681; r=sfraser@netscape.com)

This commit is contained in:
brade%netscape.com 1999-10-18 20:27:14 +00:00
parent f749a4d3e1
commit 2340222103

View File

@ -174,7 +174,11 @@ function toEditor()
{
//TODO: Find and existing editor window using CycleWindow()
// For now, this opens a new blank window
toNewTextEditorWindow();
// toNewTextEditorWindow();
// brade commented out above line since this gives a text editor not an html editor
// add the following line to create editor window or call NewEditorWindow() in globalOverlay.js
window.openDialog( "chrome://editor/content", "_blank", "chrome,all,dialog=no", "about:blank");
}
function toNewTextEditorWindow()