WordPress.org

Make WordPress Core

Ticket #28268: 28268.patch

File 28268.patch, 614 bytes (added by iseulde, 6 years ago)
  • src/wp-includes/js/tinymce/plugins/wpview/plugin.js

     
    280280                        node.innerHTML = wp.mce.views.toViews( node.innerHTML );
    281281                });
    282282
    283                 editor.dom.bind( editor.getBody(), 'mousedown mouseup click', function( event ) {
     283                editor.dom.bind( editor.getBody().parentNode, 'mousedown mouseup click', function( event ) {
    284284                        var view = getParentView( event.target ),
    285285                                deselectEventType;
    286286