mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
changed nsIEditor to enable undo separately from Init
This commit is contained in:
parent
98d8567a39
commit
8583c23d49
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user