зеркало из https://github.com/mozilla/pjs.git
changing 'paragraph mode' discards attributes; b=358368, r/sr=neil@httl.net
This commit is contained in:
Родитель
e68db383de
Коммит
ec60f94745
|
@ -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) ||
|
||||
|
|
Загрузка…
Ссылка в новой задаче