remove hard-coded string; add a parameter to EditorInsertText

This commit is contained in:
brade%netscape.com 1999-07-08 20:05:03 +00:00
parent e7366c4bc8
commit 9948bbbe05

View File

@ -334,10 +334,10 @@ function EditorGetHTML()
}
}
function EditorInsertText()
function EditorInsertText(textToInsert)
{
if (window.editorShell) {
window.editorShell.InsertText("Once more into the breach, dear friends.\n");
window.editorShell.InsertText(textToInsert);
}
}