Ticket #6529: 6529.patch
File 6529.patch, 937 bytes (added by , 13 years ago) |
---|
-
_source/plugins/selection/plugin.js
885 885 node = node.getChild( range.startOffset ); 886 886 887 887 if ( !node || node.type != CKEDITOR.NODE_ELEMENT ) 888 node = range.startContainer; 889 890 var child = node.getFirst(); 891 while ( child && child.type == CKEDITOR.NODE_ELEMENT ) 892 { 893 node = child; 894 child = child.getFirst(); 895 } 896 } 888 node = range.startContainer.$; 889 else 890 { 891 var child = node.getFirst(); 892 while ( child && child.type == CKEDITOR.NODE_ELEMENT ) 893 { 894 node = child; 895 child = child.getFirst(); 896 } 897 } 898 } 897 899 else 898 900 { 899 901 node = range.startContainer;