Closed (duplicate)
Project:
Frequently Asked Questions
Version:
6.x-1.7
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2008 at 23:54 UTC
Updated:
5 Sep 2008 at 09:36 UTC
Jump to comment: Most recent
Comments
Comment #1
neofactor commentedBoy... 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.
Comment #2
neofactor commentedUpdate!
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.
Comment #3
stella commentedThis 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
Comment #4
neofactor commentedI agree...
the textfield in Drupal do NOT honor HTML markup so it CONVERTS the
<p></p> tag to make it: <p> </p>Textareas process the markup as expected.
This is a Drupal "feature" and something not module specific.
Comment #5
neofactor commentedCan you modify your module to look for Markup in the textfield and strip it out?
Comment #6
Anonymous (not verified) commentedI 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
Comment #7
stella commentedneofactor: no, that isn't the correct solution. The fix needs to happen on the tinyMCE configuration side.
Cheers,
Stella
Comment #8
neofactor commentedif that is the case... it will need to be fixed in ALL editors like FCKeditor as well.
Comment #9
stella commentedYes, that's true.