I've been at it all day and can't figure this one out.
Whenever I enter the fck editor box and hit the enter key, two paragraph tags are added to the source code:
The strange thing is that after I have switched to the source code view and return to the wysiwyg view, hitting the enter key adds only one paragraph tag (as it should in the first place)...
Anyone an idea about what could be causing this? and (of course) how to fix this?
Further details: I'm using version 2.6.3 which is used in a website development platform, with the following enter configs:
The config option UseBROnCarriageReturn (either false or true) didn't make a difference.
Whenever I enter the fck editor box and hit the enter key, two paragraph tags are added to the source code:
<p></p> <p></p>
The strange thing is that after I have switched to the source code view and return to the wysiwyg view, hitting the enter key adds only one paragraph tag (as it should in the first place)...
Anyone an idea about what could be causing this? and (of course) how to fix this?
Further details: I'm using version 2.6.3 which is used in a website development platform, with the following enter configs:
FCKConfig.EnterMode = 'p' ; // p | div | br FCKConfig.ShiftEnterMode = 'br' ; // p | div | br
The config option UseBROnCarriageReturn (either false or true) didn't make a difference.
Kick: hitting enter key once adds "<p></p><p
Anyone? I really need to solve this as soon as possible...
Kick: hitting enter key only once adds "<p></p>
I really need this fixed...
Re: hitting enter key once adds "<p></p><p&g
FCKConfig.StartupShowBlocks = true ;
seemed to fix it. Otherwise it started with
<p></p>
<p> </p>
Hope that helped.
Re: hitting enter key once adds "<p></p><p&g
I'll try this first thing Monday morning!
Patrick
Re: hitting enter key once adds "<p></p><p&g
Sadly it didn't work...
Whether I edit existing text or enter new text, whenever I start to edit and hit 'enter', two paragraph tags are added.
And still, after taking one look at the html using the 'code' button and returning to the wysiwyg mode, hitting 'enter' adds just one paragraph tag (as intended).
I just can't get my head around the problem here....
Re: hitting enter key once adds "<p></p><p&g
Re: hitting enter key once adds "<p></p><p&g
I managed to fix this for our own situation. The problem was that the key event listener was added twice (due to our own framework in which it is embedded). So the people who built FCK are not to blame..
Funny thing was that the cause of the problem was a fix/hack for an issue in an earlier version of FCK!
@role: Sorry if this is no help to you..