Ticket #2028: 2028.patch
File 2028.patch, 1.3 KB (added by , 16 years ago) |
---|
-
_whatsnew.html
92 92 opened.</li> 93 93 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2024">#2024</a>] Fixed 94 94 JavaScript error in IE when the user tries to open dialogs in Source mode.</li> 95 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2028">#2028</a>] Fixed 96 JavaScript error when EnterMode=br and user tries to insert a page break.</li> 95 97 </ul> 96 98 <h3> 97 99 Version 2.6 Beta 1</h3> -
editor/_source/commandclasses/fck_othercommands.js
257 257 var oRange = new FCKDomRange( FCK.EditorWindow ) ; 258 258 oRange.MoveToSelection() ; 259 259 var oSplitInfo = oRange.SplitBlock() ; 260 if ( oSplitInfo.NextBlock ) 261 oSplitInfo.NextBlock.parentNode.insertBefore( oFakeImage, oSplitInfo.NextBlock ) ; 262 else 263 oSplitInfo.PreviousBlock.parentNode.insertBefore( oFakeImage, oSplitInfo.PreviousBlock.nextSibling ) ; 260 oRange.InsertNode( oFakeImage ) ; 264 261 265 262 FCK.Events.FireEvent( 'OnSelectionChange' ) ; 266 263 }