﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1232	Delete Bug in SVN (likely caused by FCKDomTools.GetNextSourceElement)	Scott McNaught		"I tried testing the SVN version, and found this bug.  It occurs the delete key is pressed.

To replicate, set the source to:

<p><strong>strong tag</strong> PRESS DELETE AT THE END OF THIS LINE</p>
<p>Another paragraph</p>

Press delete at the end of the first line.

The result is:

<p>PRESS DELETE AT THE END OF THIS LINEstrong tag</p>
<p>Another paragraph</p>


I beleive that the first line of problematic code is in fckenterkey.js, FCKEnterKey.prototype.DoDelete at the line:

var eNext = FCKDomTools.GetNextSourceElement( oCurrentBlock, true, [ oRange.StartBlockLimit.nodeName ], ['UL','OL'] ) ;

eNext is the <strong> element in this test.  So it makes me think that FCKDomTools.GetNextSourceElement is producing the wrong result.

Thanks.

Scott"	Bug	closed	Normal	FCKeditor 2.5 Beta	UI : Enter Key	SVN (FCKeditor) - Retired	fixed		
