Ticket #4274: 4274.patch

File 4274.patch, 503 bytes (added by Garry Yao, 11 years ago)
  • _samples/divreplace.html

     
    4747        // Find out the div that holds this element.
    4848        element = element.parentNode;
    4949
    50         if ( element.nodeName.toLowerCase() == 'div' )
     50        if ( element.nodeName.toLowerCase() == 'div'
     51                 && ( element.className.indexOf( 'editable' ) != -1 ) )
    5152                replaceDiv( element );
    5253}
    5354
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy