V 2.4:
[SF Feature-1329273] [SF Feature-1456005] [SF BUG-1315002] [SF BUG-1350180] [SF BUG-1450689] [SF BUG-1461033] [SF BUG-1510111] [SF BUG-1203560] [SF BUG-1564838] The advance Enter Key Handler is now being introduced. It gives you complete freedom to configure the editor to generate <p>, <div> or <br> when the user uses both the [Enter] and [Shift]+[Enter] keys. The new "EnterMode" and "ShiftEnterMode" settings can be use to control its behavior. It also guarantees that all browsers will generate the same output.
In fckconfig.js:
FCKConfig.EnterMode = 'p' ; // p | div | br
In fckeditor (Source view)
<div>abc</div>
after put cursor after 'b' and press "Enter" in FCKeditor view, I expect to get
<div>
<p>ab</p>
<p>c</p>
</div>
as version 2.3.2.
But it gives me:
<div>ab</div>
<div>c</div>
Is this a bug or different design result from v2.3.2?
How can I create p tag when text is under <div> tag?
Thanks
[SF Feature-1329273] [SF Feature-1456005] [SF BUG-1315002] [SF BUG-1350180] [SF BUG-1450689] [SF BUG-1461033] [SF BUG-1510111] [SF BUG-1203560] [SF BUG-1564838] The advance Enter Key Handler is now being introduced. It gives you complete freedom to configure the editor to generate <p>, <div> or <br> when the user uses both the [Enter] and [Shift]+[Enter] keys. The new "EnterMode" and "ShiftEnterMode" settings can be use to control its behavior. It also guarantees that all browsers will generate the same output.
In fckconfig.js:
FCKConfig.EnterMode = 'p' ; // p | div | br
In fckeditor (Source view)
<div>abc</div>
after put cursor after 'b' and press "Enter" in FCKeditor view, I expect to get
<div>
<p>ab</p>
<p>c</p>
</div>
as version 2.3.2.
But it gives me:
<div>ab</div>
<div>c</div>
Is this a bug or different design result from v2.3.2?
How can I create p tag when text is under <div> tag?
Thanks