You are not logged in.

#1 2006-01-20 16:07:45

Joep
Member
Registered: 2006-01-20
Posts: 2

remove <P>

Hi, thanks for creating such a great product, I am lovin' it! smile



However, I would like to remove the <P></P> tags in which textarea text is placed. Is that possible and where to modify the code?

Thanks in advance!

Offline

 

#2 2006-02-15 16:48:05

vpapula
Member
Registered: 2006-02-15
Posts: 19

Re: remove <P>

Hello!

When pressing the enter in the tinymce-textarea it'll generate <p>-tags to all paragraphs...so I wan't change this a bit.
How can I disable this <p>-tag-generate-function and replace it with the function that adds only <br/>-tag to the place where enter is pressed.

Offline

 

#3 2006-02-22 16:35:30

joao
Member
Registered: 2006-01-26
Posts: 3

Re: remove <P>

up! I wanna know how to do it too.

Offline

 

#4 2006-02-22 16:50:33

vpapula
Member
Registered: 2006-02-15
Posts: 19

Re: remove <P>

Ok! There is already a ready definition in the tinymce configuration reference to disable this, I just missed it....
...just look for "force_p_newlines" and/or "force_br_newlines" methods.

your welcome

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB