Bug 489202 - selection moves to top when html containing meta, link, or style elements is pasted or inserted; r=ehsan
This commit is contained in:
@@ -649,7 +649,7 @@ nsHTMLEditor::DoInsertHTMLWithContext(const nsAString & aInputString,
|
||||
{
|
||||
bDidInsert = PR_TRUE;
|
||||
insertedContextParent = parent;
|
||||
lastInsertNode = parent;
|
||||
lastInsertNode = GetChildAt(parentNode, offsetOfNewNode);
|
||||
}
|
||||
}
|
||||
curNode = parent;
|
||||
|
||||
Reference in New Issue
Block a user