I am embedding CKEditor within a swing browse so that I can have HTML editing in a Swing based application. I've tried FCKeditor in DJNative/JHTMLEditor and CKEditor in Webrenderer (based on mozilla).
In both cases I am seeing unusual behaviour on ENTER where it seems that each ENTER key press is interpreted as 2. This only happens in wysiwyg mode, if I switch to "source" mode then ENTER behaves normally (each press gives a single line).
For example: hitting return adds an additional blank line (<p>) or if editing a bullet list ENTER will cancel editing the list a revert to normal para (e.g same behaviour as if hitting ENTER twice).
Has anybody else tried this and seen this behaviour. Any idea how to fix it?
Incidentally the HTML I'm using is little more than the basic example of CKEditor.replace('editor') on a div and it works fine if loaded into firefox.
Thanks,
Rob.
In both cases I am seeing unusual behaviour on ENTER where it seems that each ENTER key press is interpreted as 2. This only happens in wysiwyg mode, if I switch to "source" mode then ENTER behaves normally (each press gives a single line).
For example: hitting return adds an additional blank line (<p>) or if editing a bullet list ENTER will cancel editing the list a revert to normal para (e.g same behaviour as if hitting ENTER twice).
Has anybody else tried this and seen this behaviour. Any idea how to fix it?
Incidentally the HTML I'm using is little more than the basic example of CKEditor.replace('editor') on a div and it works fine if loaded into firefox.
Thanks,
Rob.