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:
jfrancis%netscape.com 2001-01-31 23:58:42 +00:00
parent 9516a8599b
commit 335dd75242
2 changed files with 2 additions and 0 deletions

View File

@ -371,6 +371,7 @@ nsHTMLEditRules::AfterEditInner(PRInt32 action, nsIEditor::EDirection aDirection
if ((action == nsEditor::kOpInsertText) || if ((action == nsEditor::kOpInsertText) ||
(action == nsEditor::kOpInsertIMEText) || (action == nsEditor::kOpInsertIMEText) ||
(action == nsEditor::kOpDeleteSelection) || (action == nsEditor::kOpDeleteSelection) ||
(action == nsEditor::kOpInsertBreak) ||
(action == nsHTMLEditor::kOpHTMLPaste)) (action == nsHTMLEditor::kOpHTMLPaste))
{ {
res = AdjustSelection(selection, aDirection); res = AdjustSelection(selection, aDirection);

View File

@ -371,6 +371,7 @@ nsHTMLEditRules::AfterEditInner(PRInt32 action, nsIEditor::EDirection aDirection
if ((action == nsEditor::kOpInsertText) || if ((action == nsEditor::kOpInsertText) ||
(action == nsEditor::kOpInsertIMEText) || (action == nsEditor::kOpInsertIMEText) ||
(action == nsEditor::kOpDeleteSelection) || (action == nsEditor::kOpDeleteSelection) ||
(action == nsEditor::kOpInsertBreak) ||
(action == nsHTMLEditor::kOpHTMLPaste)) (action == nsHTMLEditor::kOpHTMLPaste))
{ {
res = AdjustSelection(selection, aDirection); res = AdjustSelection(selection, aDirection);