200 | | return node.type == CKEDITOR.NODE_ELEMENT |
201 | | && node.getName() in guardElements |
202 | | && !( node.getName() == ( enterMode == CKEDITOR.ENTER_P ) ? 'p' : 'div' |
203 | | && node.getParent().type == CKEDITOR.NODE_ELEMENT |
204 | | && node.getParent().getName() == 'blockquote' |
205 | | ); |
| 203 | return !! ( node.type == CKEDITOR.NODE_ELEMENT |
| 204 | && node.getName() in guardElements |
| 205 | && !( node.getName() == ( enterMode == CKEDITOR.ENTER_P ) ? 'p' : 'div' |
| 206 | && node.getParent().type == CKEDITOR.NODE_ELEMENT |
| 207 | && node.getParent().getName() == 'blockquote' ) |
| 208 | // Element must be fully included in the range as well. (#6485). |
| 209 | && node.getPosition( start ) & CKEDITOR.POSITION_FOLLOWING |
| 210 | && ( ( node.getPosition( end ) & CKEDITOR.POSITION_PRECEDING + CKEDITOR.POSITION_CONTAINS ) == CKEDITOR.POSITION_PRECEDING ) ); |