зеркало из https://github.com/mozilla/gecko-dev.git
changing 'paragraph mode' discards attributes; b=358368, r/sr=neil@httl.net
This commit is contained in:
Родитель
509aa18409
Коммит
5133fb6ebd
|
@ -6860,7 +6860,8 @@ nsHTMLEditRules::ApplyBlockStyle(nsCOMArray<nsIDOMNode>& arrayOfNodes, const nsA
|
|||
nsHTMLEditUtils::IsFormatNode(curNode))
|
||||
{
|
||||
curBlock = 0; // forget any previous block used for previous inline nodes
|
||||
res = mHTMLEditor->ReplaceContainer(curNode, address_of(newBlock), *aBlockTag);
|
||||
res = mHTMLEditor->ReplaceContainer(curNode, address_of(newBlock), *aBlockTag,
|
||||
nsnull, nsnull, PR_TRUE);
|
||||
if (NS_FAILED(res)) return res;
|
||||
}
|
||||
else if (nsHTMLEditUtils::IsTable(curNode) ||
|
||||
|
|
Загрузка…
Ссылка в новой задаче