mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-06 00:31:27 +00:00
make doEditor create an html editor rather than the plaintext editor. (bug #16681; r=sfraser@netscape.com)
This commit is contained in:
parent
f749a4d3e1
commit
2340222103
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user