Change InitHTMLEditor to Init and removed EnableUndo, which is done in Init

git-svn-id: svn://10.0.0.236/trunk@22943 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cmanske%netscape.com 1999-03-05 21:05:31 +00:00
parent f6d9c2d5f8
commit f6ff40c486

View File

@ -102,9 +102,7 @@ nsresult NS_InitEditorMode(nsIDOMDocument *aDOMDocument, nsIPresShell* aPresShel
return NS_ERROR_OUT_OF_MEMORY;
}
gEditor->InitHTMLEditor(aDOMDocument, aPresShell);
gEditor->EnableUndo(PR_TRUE);
result = gEditor->Init(aDOMDocument, aPresShell);
return result;
}