Closed GoogleCodeExporter closed 9 years ago
This is happending because of "return false;" in the following function.
$(this.editorDoc).keydown(function( event )
{
if ( $.browser.msie && self.options.brIE && event.keyCode == 13 )
{
var rng = self.getRange();
rng.pasteHTML('<br />');
rng.collapse(false);
rng.select();
return false;
}
});
Remove "return false;" statement. Then every thing will work fine.
cheers,
Prajwala
Original comment by m.prajw...@gmail.com
on 1 Oct 2008 at 9:40
That function is for IE to put <br /> instated of <p>. If you remove the "return
false;", I suppose that it would create <p> element at the end.
Original comment by joksnet
on 1 Oct 2008 at 1:18
It is creating <p> element but why you want to put <br /> instead of <p>.
Original comment by m.prajw...@gmail.com
on 6 Oct 2008 at 5:26
To copy the behaviour of FF, who put <br /> when you press enter.
Original comment by joksnet
on 10 Nov 2008 at 6:07
IE6 is too old.
Original comment by akzhan.a...@gmail.com
on 27 Jun 2010 at 11:37
Original issue reported on code.google.com by
sheld...@gmail.com
on 8 Jul 2008 at 7:13