Firefox adds a line break when space key has pressed (http://screencast.com/t/mexAfzImIVHU
) and editor.value() returns the HTML along with the BR. The editor does not have custom logic for space key and leave it to the browser.
To resolve the issue, you can strip the line break before changing the editor content using regular expression. Another approach is to handle keydown/up events and remove the BR if it is not added by the user or implement adding of a space on keydown and cancel the event.
Telerik by Progress