I see you have had this question before but for me no outcome really
I have Drupal 6 - FCKeditor (newest) and FAQ module when i setup up a question and answer the question appears with

example question text

around it - i have turned filters off and on and still it appears - this seems as from the previous poster to suggest a fault with the FAQ module as it does it in both Tinymce and FCKeditor

any suggestions as this is a very annoying problem to what looks to be a cracking module

Comments

neofactor’s picture

Boy... you beat me to the punch!
I was just about to post the same bug with TinyMCE doing the same thing.

These editors all add a default

...

... which get converted to: <p> and </p>
Ideally we could turn of the editors for the FAQ area.. but since is is generally /node/* I do not know how to.

So.. the fix will most likely need to come on the FAQ module side.. filtering out the HTML.. or NOT converting it.

neofactor’s picture

Update!

I ended up switching from TinyMCE over to FCKEditor.
I then added the following pages under the Global Settings...
I added the entire faq page to the exclude... node/add/faq

That at least stops it from being used on the ADD of an FAQ.
But then... since I cannot control the FAQ title specifically basicaly because it is a generic node... "edit-title" field... I ended up turning OFF the editor by default and the USER will need to select Rich Editor link when they need it.

Fix should be on the FAQ side still.. just a work around I have in place.

stella’s picture

Assigned: hairyspuds » Unassigned
Status: Active » Closed (duplicate)

This is nothing the faq module can do to prevent this, not unless there's some new feature in the D6 version of TinyMCE / FCKEditor that adds a hook to do it. It's to do with the fact that the question / title field is a textarea rather than a textfield which allows longer question texts.

I'm marking this as a duplicate of the previous issue (#254336: Question is put between <p> and </P>). Perhaps open a feature request against the FCKEditor requesting a fix for this. We've already opened one against the TinyMCE module at #235598: How to disable TinyMCE on Title fields.

Cheers,
Stella

neofactor’s picture

I agree...

the textfield in Drupal do NOT honor HTML markup so it CONVERTS the <p></p> tag to make it: &lt;p&gt; &lt;/p&gt;

Textareas process the markup as expected.
This is a Drupal "feature" and something not module specific.

neofactor’s picture

Can you modify your module to look for Markup in the textfield and strip it out?

Anonymous’s picture

I think this is similar to the issue I had with the 5.x branch and used the solution found here, not sure if it will be of any help

http://drupal.org/node/294708

stella’s picture

neofactor: no, that isn't the correct solution. The fix needs to happen on the tinyMCE configuration side.

Cheers,
Stella

neofactor’s picture

if that is the case... it will need to be fixed in ALL editors like FCKeditor as well.

stella’s picture

Yes, that's true.