diff --git a/wp-includes/js/tinymce/plugins/wordpress/plugin.js b/wp-includes/js/tinymce/plugins/wordpress/plugin.js
index b79146a..3a3347a 100644
--- a/wp-includes/js/tinymce/plugins/wordpress/plugin.js
+++ b/wp-includes/js/tinymce/plugins/wordpress/plugin.js
@@ -150,24 +150,8 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) {
 			return;
 		}
 
-		// Get the top level parent node
-		parent = dom.getParent( node, function( found ) {
-			if ( found.parentNode && found.parentNode.nodeName === 'BODY' ) {
-				return true;
-			}
-
-			return false;
-		}, editor.getBody() );
-
-		if ( parent ) {
-			if ( parent.nodeName === 'P' ) {
-				parent.appendChild( dom.create( 'p', null, html ).firstChild );
-			} else {
-				dom.insertAfter( dom.create( 'p', null, html ), parent );
-			}
-
-			editor.nodeChanged();
-		}
+		var el = tinyMCE.activeEditor.dom.create('p', {}, html);
+		editor.selection.setNode(el);
 	});
 
 	editor.addCommand( 'WP_Code', function() {
