I like using div as my FCKConfig.EnterMode.
This works great for typing in new text from scrach. When I hit enter it create a new div.
But when I edit old data (that was created using the old fckeditor) that has <p> in it already then it doesn't work.
Seems like if the html has <p> in it when you first load it into fckeditor, then it ignores FCKConfig.EnterMode and uses <p> on enter key.
I want it to use <div> in all situations.
This works great for typing in new text from scrach. When I hit enter it create a new div.
But when I edit old data (that was created using the old fckeditor) that has <p> in it already then it doesn't work.
Seems like if the html has <p> in it when you first load it into fckeditor, then it ignores FCKConfig.EnterMode and uses <p> on enter key.
I want it to use <div> in all situations.
RE: FCKConfig.EnterMode doesn't work sometime
<div>abc</div> always get <div> when press Enter, doesn't matter EnterMode;
<p>abc</p> always get <p> when press Enter, doesn't matter EnterMode;
I just wonder it is a bug or a "new design".
How to create <p> in all cases and how to create <div> in all cases?