mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
bug 67241: regression from the mongo embedding landing. now the smarts (for adding extra br's at the end of blocks when you hit return) are turned back on for html editors. r=fm; sr=kin
This commit is contained in:
parent
9516a8599b
commit
335dd75242
@ -371,6 +371,7 @@ nsHTMLEditRules::AfterEditInner(PRInt32 action, nsIEditor::EDirection aDirection
|
||||
if ((action == nsEditor::kOpInsertText) ||
|
||||
(action == nsEditor::kOpInsertIMEText) ||
|
||||
(action == nsEditor::kOpDeleteSelection) ||
|
||||
(action == nsEditor::kOpInsertBreak) ||
|
||||
(action == nsHTMLEditor::kOpHTMLPaste))
|
||||
{
|
||||
res = AdjustSelection(selection, aDirection);
|
||||
|
@ -371,6 +371,7 @@ nsHTMLEditRules::AfterEditInner(PRInt32 action, nsIEditor::EDirection aDirection
|
||||
if ((action == nsEditor::kOpInsertText) ||
|
||||
(action == nsEditor::kOpInsertIMEText) ||
|
||||
(action == nsEditor::kOpDeleteSelection) ||
|
||||
(action == nsEditor::kOpInsertBreak) ||
|
||||
(action == nsHTMLEditor::kOpHTMLPaste))
|
||||
{
|
||||
res = AdjustSelection(selection, aDirection);
|
||||
|
Loading…
Reference in New Issue
Block a user