Hi,
I have a strange behaviour with CKEditor 3.6 : when i hit the enter key on the editor, two paragraphs <p> are inserted instead of one (two lines with a space : <p> </p>) .
html code before hitting the enter key :
after the enter key :
The second line should not be inserted.
This behaviour happens when i'm running the page through the html component of my dev tools (PCSoft Windev). When running wiht IE7, IE8, and Firefox, everything works (just one line is inserted).
The user-agent of the html component is "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC"; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
CKEditor env variables are :
gecko=false, ie=true, ie6Compat=true, ie7Compat=false, ie8=true, ie8Compat=false, ie9Compat=false, isCompatible=true, opera=false, quirks=true, version=7, webkit=false
And when using bullets or lists, CKEditor have a really strange behaviour, putting the bullet on another line than the one with the cursor.
I know that the issue is probably due to the Windev html Component, but is there a workaround in CKEditor ?
Anybody else with a strange behaviour with the Enter key ?
Thanks for your answers !
Patrick
I have a strange behaviour with CKEditor 3.6 : when i hit the enter key on the editor, two paragraphs <p> are inserted instead of one (two lines with a space : <p> </p>) .
html code before hitting the enter key :
<p> line 1</p>
after the enter key :
<p> line 1</p> <p> </p> <p> </p>
The second line should not be inserted.
This behaviour happens when i'm running the page through the html component of my dev tools (PCSoft Windev). When running wiht IE7, IE8, and Firefox, everything works (just one line is inserted).
The user-agent of the html component is "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC"; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
CKEditor env variables are :
gecko=false, ie=true, ie6Compat=true, ie7Compat=false, ie8=true, ie8Compat=false, ie9Compat=false, isCompatible=true, opera=false, quirks=true, version=7, webkit=false
And when using bullets or lists, CKEditor have a really strange behaviour, putting the bullet on another line than the one with the cursor.
I know that the issue is probably due to the Windev html Component, but is there a workaround in CKEditor ?
Anybody else with a strange behaviour with the Enter key ?
Thanks for your answers !
Patrick

Re: two lines instead of one with enter key
Finally, i tried another solution in my developpement environnement (Windev 16). Instead of using the html component of Windev, i put in the window an ActiveX Object "Microsoft Web Browser", an everything works fine.
The funny thing is that the html component of Windev also rely on the MS Web Browser ActiveX, but something must be wrong with their implementation.
Maybe this will help someone trying to use CKEditor in the Windev Environnement.
Patrick