cpfavre
Posts: 14
|
| Posted: 08/11/2006, 1:56 PM |
|
Hello,
I have install FCKeditor and it works great. The only problem I have it that it put a <p> tag at the begining of the text and after all new sentences.
As a result, I always end up with the first line starting at 1 line to low when I output in in a td cell and I have double space between sentences.
Does anyone knows how to have FCKeditor put <BR> tag instead of <P>.
Thank you,
Claude
|
 |
 |
E43509
Posts: 283
|
| Posted: 08/11/2006, 2:06 PM |
|
I was using www.siteobjects.com soEditor and had the same problem. When I asked them about <p>, they said it was due to the way MS implements some library they use. No workaround. If you find one, let me know.
Also soEditor seems to be no longer in production. Can you send me a sample for how you incorporated fck editor into your code? What language are you using?
Thanks
|
 |
 |
WKempees
|
| Posted: 08/11/2006, 3:55 PM |
|
If FCKeditor does not gie solution (and the others) then you could always
use your programming language or SQL to do the replace on the resulting
field.
But replacing the first <P> with a <BR> leaves you with an </P> (apparently
not in FCK), and after that the next <P> will be the first and so on.
So look carefully at how you do it.
You could also do the replace on the retreival part, where you get it to go
in your TD
Walter
"cpfavre" <cpfavre@forum.codecharge> schreef in bericht
news:244dcef1bd3dd1@news.codecharge.com...
> Hello,
>
> I have install FCKeditor and it works great. The only problem I have it
> that it
> put a <p> tag at the begining of the text and after all new sentences.
> As a result, I always end up with the first line starting at 1 line to low
> when
> I output in in a td cell and I have double space between sentences.
>
> Does anyone knows how to have FCKeditor put <BR> tag instead of <P>.
>
> Thank you,
>
> Claude
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
Benjamin Krajmalnik
|
| Posted: 08/14/2006, 11:44 PM |
|
for <br> you need t use shift-Enter, which is a soft carriage return (new
sentence) as opposed to a hard carriage returm which signifies a new
paragraph.
"cpfavre" <cpfavre@forum.codecharge> wrote in message
news:244dcef1bd3dd1@news.codecharge.com...
> Hello,
>
> I have install FCKeditor and it works great. The only problem I have it
> that it
> put a <p> tag at the begining of the text and after all new sentences.
> As a result, I always end up with the first line starting at 1 line to low
> when
> I output in in a td cell and I have double space between sentences.
>
> Does anyone knows how to have FCKeditor put <BR> tag instead of <P>.
>
> Thank you,
>
> Claude
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
wouter
Posts: 3
|
| Posted: 08/22/2006, 6:51 AM |
|
In the file fckconfig.js you can set the option 'UseBROnCarriageReturn'. The drawback is that it only works for IE..
|
 |
 |
|