fix for 169586: Plaintext is always pasted in default font not the one in context. r=brade; sr=kin

git-svn-id: svn://10.0.0.236/trunk@133289 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jfrancis%netscape.com
2002-11-07 11:29:37 +00:00
parent 303874b31f
commit 408cabdd19

View File

@@ -829,8 +829,6 @@ NS_IMETHODIMP nsHTMLEditor::InsertFromTransferable(nsITransferable *transferable
NS_ASSERTION(text.Length() <= (len/2), "Invalid length!");
stuffToPaste.Assign ( text.get(), len / 2 );
nsAutoEditBatch beginBatching(this);
// pasting does not inherit local inline styles
RemoveAllInlineProperties();
rv = InsertText(stuffToPaste);
}
}