Ticket #3994: 3994.patch
File 3994.patch, 1.8 KB (added by , 14 years ago) |
---|
-
_source/plugins/wysiwygarea/plugin.js
177 177 && !( nextElement.getName() in nonExitableElementNames ) ) 178 178 enterBlock = nextElement; 179 179 180 // Not all blocks are editable, e.g. <hr />, further checking it.(#3994) 180 181 if( ( !count 181 182 || ( firstChild = children.getItem( 0 ) ) && firstChild.is && firstChild.is( 'br' ) ) 182 && enterBlock ) 183 && enterBlock 184 && range.moveToElementEditStart( enterBlock ) ) 183 185 { 184 186 fixedBlock.remove(); 185 range.moveToElementEditStart( enterBlock );186 187 range.select(); 187 188 } 188 189 } -
_source/core/dom/range.js
1602 1602 } 1603 1603 1604 1604 if ( editableElement ) 1605 this.moveToPosition( editableElement, CKEDITOR.POSITION_AFTER_START ); 1605 { 1606 this.moveToPosition(editableElement, CKEDITOR.POSITION_AFTER_START); 1607 return true; 1608 } 1609 else 1610 return false; 1606 1611 }, 1607 1612 1608 1613 getTouchedStartNode : function() -
CHANGES.html
159 159 left around.</li> 160 160 <li><a href="http://dev.fckeditor.net/ticket/3992">#3992</a> : Fixed the 161 161 ckeditor2.html test case.</li> 162 <li><a href="http://dev.fckeditor.net/ticket/3994">#3994</a> : Insert horizontal line at end of document cause error.</li> 162 163 </ul> 163 164 <h3> 164 165 CKEditor 3.0 RC</h3>