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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user