| Index: sky/engine/core/editing/DeleteSelectionCommand.cpp
|
| diff --git a/sky/engine/core/editing/DeleteSelectionCommand.cpp b/sky/engine/core/editing/DeleteSelectionCommand.cpp
|
| index ffea090f7eb32a5e017e65ab4de036af71c439b9..1c6925ae645cef658e0e9c733e5c11054a6e5974 100644
|
| --- a/sky/engine/core/editing/DeleteSelectionCommand.cpp
|
| +++ b/sky/engine/core/editing/DeleteSelectionCommand.cpp
|
| @@ -358,7 +358,7 @@ void DeleteSelectionCommand::handleGeneralDelete()
|
| makeStylingElementsDirectChildrenOfEditableRootToPreventStyleLoss();
|
|
|
| // Never remove the start block unless it's a table, in which case we won't merge content in.
|
| - if (startNode->isSameNode(m_startBlock.get()) && !startOffset && canHaveChildrenForEditing(startNode)) {
|
| + if (startNode == m_startBlock && !startOffset && canHaveChildrenForEditing(startNode)) {
|
| startOffset = 0;
|
| startNode = NodeTraversal::next(*startNode);
|
| if (!startNode)
|
|
|