Ticket #3300: 3300.patch

File 3300.patch, 628 bytes (added by Frederico Caldeira Knabben, 16 years ago)
  • _source/plugins/styles/plugin.js

     
    279279                // processing.
    280280                var boundaryNodes = range.getBoundaryNodes();
    281281                var firstNode = boundaryNodes.startNode;
    282                 var lastNode = boundaryNodes.endNode;
     282                var lastNode = boundaryNodes.endNode.getNextSourceNode( true );
    283283
    284284                // The detection algorithm below skips the contents inside bookmark nodes, so
    285285                // we'll need to make sure lastNode isn't the   inside a bookmark node.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy