Ticket #27378: fix-tinymce-more-tag-bug-plugin.js.patch
| File fix-tinymce-more-tag-bug-plugin.js.patch, 636 bytes (added by , 12 years ago) |
|---|
-
wp-includes/js/tinymce/plugins/wordpress/plugin.js
143 143 144 144 if ( parent.nodeName === 'P' && parent.childNodes.length > 1 ) { 145 145 p = editor.dom.create('p'); 146 parent.parentNode.insertBefore( p, parent ); 146 // insert new <p> tag before current node 147 parent.insertBefore( p, node ); 148 // move node into <p> node 147 149 p.appendChild( node ); 148 150 } 151 149 152 }); 150 153 } 151 154 }