Hi,
we use the FCKEditor on a Content Management System.
We didn't want that the FCKEditor defaultr add <p> araund a text or simple elements!
Useful for line breaks, but not if we want simple Text or blank page
Any idea to change this.
I hope some can help me!
Cheers
Felix
we use the FCKEditor on a Content Management System.
We didn't want that the FCKEditor defaultr add <p> araund a text or simple elements!
Useful for line breaks, but not if we want simple Text or blank page
Any idea to change this.
I hope some can help me!
Cheers
Felix
Re: How can i prevent the fckeditor to use <p> around text
In lines 120 and 121 of fckconfig.js you'll find the following code:
change entermode from 'p' to 'br' or 'div' and that should solve your problem. if you are using a custom congif file then just copy these lines as is into that file and then modify it as necessary.
hope that helps,
Brandon
Re: How can i prevent the fckeditor to use <p> around text
Hi,
this changes the entermode, but i like the entermode
My problem is, if i start with a blank page and Enter
Hello
then the fckeditor saves
<p>Hello</p>
But in some situations i only want only
Hello
without anything.
If i press enter, then i want the <p> arround.
Any idea?
Thanks
Felix
Re: How can i prevent the fckeditor to use <p> around text
I also hope in future to have adjustment for this behavior.
Re: How can i prevent the fckeditor to use <p> around text
Hello
This Problem is the reason why we did not make an Update of FCK Editor in our cms. With the Firefox 3 problem http://www.fckeditor.net/forums/viewtopic.php?f=6&t=10171 we must make the update now. We have about 200 customers that we have teached how to use enter and shift-enter. So it is a big problem to teach them now to do it right the other way, like peter13 sugests. So if anyone knows a hak in the source i would be very glad. We also hope on adjustment for this behavior.