| Index: Source/core/editing/commands/CompositeEditCommand.cpp
|
| diff --git a/Source/core/editing/commands/CompositeEditCommand.cpp b/Source/core/editing/commands/CompositeEditCommand.cpp
|
| index 72de46aacb88b1b1d262ca0f97a7ffbd0770f80a..eb8157f1570fbd1d3ca55a8af9637070083ff1c4 100644
|
| --- a/Source/core/editing/commands/CompositeEditCommand.cpp
|
| +++ b/Source/core/editing/commands/CompositeEditCommand.cpp
|
| @@ -1142,7 +1142,7 @@ void CompositeEditCommand::moveParagraphWithClones(const VisiblePosition& startO
|
|
|
| cloneParagraphUnderNewElement(start, end, outerNode, blockElement);
|
|
|
| - setEndingSelection(VisibleSelection(start, end, DOWNSTREAM));
|
| + setEndingSelection(VisibleSelection(start, end));
|
| deleteSelection(false, false, false);
|
|
|
| // There are bugs in deletion when it removes a fully selected table/list.
|
| @@ -1231,7 +1231,7 @@ void CompositeEditCommand::moveParagraphs(const VisiblePosition& startOfParagrap
|
|
|
| // FIXME (5098931): We should add a new insert action "WebViewInsertActionMoved" and call shouldInsertFragment here.
|
|
|
| - setEndingSelection(VisibleSelection(start, end, DOWNSTREAM));
|
| + setEndingSelection(VisibleSelection(start, end));
|
| document().frame()->spellChecker().clearMisspellingsAndBadGrammar(endingSelection());
|
| deleteSelection(false, false, false);
|
|
|
|
|