Changes between Version 1 and Version 2 of Ticket #8419, comment 11
- Timestamp:
- Sep 27, 2012, 7:55:35 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8419, comment 11
v1 v2 6 6 p : function( element ) { 7 7 var child = element.children[0]; 8 if (!(element.previous && element.next) && child 8 if (!(element.previous && element.next) && child && !child.children 9 9 && (!child.value || CKEDITOR.tools.trim( child.value ).match( /^(?: |\xa0|<br \/>)$/ ))) { 10 10 return false; … … 23 23 p : function( element ) { 24 24 var child = element.children[0]; 25 if (!(element.previous && element.next) && child 25 if (!(element.previous && element.next) && child && !child.children 26 26 && (!child.value || CKEDITOR.tools.trim( child.value ).match( /^(?: |\xa0|<br \/>)$/ ))) { 27 27 return false;