Ticket #4791: 4791.patch
File 4791.patch, 793 bytes (added by , 15 years ago) |
---|
-
_source/plugins/htmldataprocessor/plugin.js
41 41 function blockNeedsExtension( block ) 42 42 { 43 43 var lastChild = lastNoneSpaceChild( block ); 44 return !lastChild || lastChild.type == CKEDITOR.NODE_ELEMENT && lastChild.name == 'br'; 44 45 return !lastChild 46 || lastChild.type == CKEDITOR.NODE_ELEMENT && lastChild.name == 'br' 47 // Some of the controls in form needs extension too, 48 // to move cursor at the end of the form. (#4791) 49 || block.name == 'form' && lastChild.name == 'input'; 45 50 } 46 51 47 52 function extendBlockForDisplay( block )