changed nsIEditor to enable undo separately from Init

This commit is contained in:
buster%netscape.com 1999-01-28 06:02:13 +00:00
parent 98d8567a39
commit 8583c23d49

View File

@ -100,6 +100,7 @@ nsresult NS_InitEditorMode(nsIDOMDocument *aDOMDocument, nsIPresShell* aPresShel
return NS_ERROR_NULL_POINTER;
}
gEditor->Init(aDOMDocument, aPresShell);
gEditor->EnableUndo(PR_TRUE);
return result;
}