Using
But: When content is an empty string, FCKeditor changes the empty string to
here, when I check that in sourcecode-mode.
I found corresponding code:
in fckeditor_gecko.js. If I remove that line it _seems_ to work for me.
This looks for me like a bug, however, before reporting it I´d like to see that behaviour confirmed by other people.
Bye,
Jörg
editor.SetHTML( content );works for me as expected.
But: When content is an empty string, FCKeditor changes the empty string to
<br type="_moz">
here, when I check that in sourcecode-mode.
I found corresponding code:
if (FCKBrowserInfo.IsGecko&&(I.length==0||FCKRegexLib.EmptyParagraph.test(I))) I='<br type="_moz">';
in fckeditor_gecko.js. If I remove that line it _seems_ to work for me.
This looks for me like a bug, however, before reporting it I´d like to see that behaviour confirmed by other people.
Bye,
Jörg
Re: Can someone confirm: Firefox empty editor contains <br>
ARGH. Forget about that, someone wrote a report already:
http://dev.fckeditor.net/ticket/1660