| Index: sky/engine/core/editing/ReplaceSelectionCommand.cpp
|
| diff --git a/sky/engine/core/editing/ReplaceSelectionCommand.cpp b/sky/engine/core/editing/ReplaceSelectionCommand.cpp
|
| index f3c2ddeede66c630ad0233a2963485482e1c0d1b..77ba9ad1bfcd5feffaa0c7b23fa6974f98b4b09d 100644
|
| --- a/sky/engine/core/editing/ReplaceSelectionCommand.cpp
|
| +++ b/sky/engine/core/editing/ReplaceSelectionCommand.cpp
|
| @@ -137,8 +137,7 @@ ReplacementFragment::ReplacementFragment(Document* document, DocumentFragment* f
|
| else
|
| shadowAncestorElement = editableRoot.get();
|
|
|
| - if (!editableRoot->getAttributeEventListener(EventTypeNames::webkitBeforeTextInserted)
|
| - && editableRoot->rendererIsRichlyEditable()) {
|
| + if (editableRoot->rendererIsRichlyEditable()) {
|
| removeInterchangeNodes(m_fragment.get());
|
| return;
|
| }
|
|
|