Index: trunk/extensions/VisualEditor/modules/es/views/es.SurfaceView.js |
— | — | @@ -366,7 +366,7 @@ |
367 | 367 | sourceSplitableNode = es.DocumentViewNode.getSplitableNode( sourceNode ), |
368 | 368 | targetSplitableNode = es.DocumentViewNode.getSplitableNode( targetNode ); |
369 | 369 | |
370 | | - if ( sourceNode === targetNode || ( sourceNode.model.getElementType() === targetNode.model.getElementType() && sourceSplitableNode.getParent() === targetSplitableNode.getParent() ) ) { |
| 370 | + if ( sourceNode === targetNode /*|| ( sourceNode.model.getElementType() === targetNode.model.getElementType() && sourceSplitableNode.getParent() === targetSplitableNode.getParent() ) */) { |
371 | 371 | var tx = this.documentView.model.prepareRemoval( |
372 | 372 | new es.Range( targetOffset, sourceOffset ) |
373 | 373 | ); |