Page 1 of 1

fckeditor and <p> tags

Posted: Fri Apr 13, 2007 8:07 am
by jd
Hi,

I have the following issue/problem with the fckeditor.
In my template I have put a {content block="nav"} tag, for which for every page I define the navigation (subnavs, etc.) with global_content blocks.

The problem is that the fckeditor wraps a tags around my global content blocks.

Any advise on how I can remove that? I'm using the latests version of CMSMS and fckeditor that goes with it.

Re: fckeditor and <p> tags

Posted: Fri Apr 13, 2007 9:04 am
by RonnyK
jd,

I don't know if you can change the setting with FCK that entering means inserting a paragraph. You might check TinyMCE as an editor. That one has the option for "New line style" to be set to "" or .

A quick fix is to press the "Source" button, to see the code and delete the extra tags there, pressing "Source" again brings you back in the WYSIWYG-mode.

Ronny

Re: fckeditor and <p> tags

Posted: Fri Apr 13, 2007 10:43 am
by jd
Hi,

I tried with the source button, but the result is the same :(

Re: fckeditor and <p> tags

Posted: Fri Apr 13, 2007 1:23 pm
by heatherfeuer
You might try inserting the global content blocks into the template itself wherever you want it to go.  I suspect that's the only (best) way to make sure it works the way you want.  The only thing you really want to use the wysiwyg editor for is actual content rather than navigation elements.