fckeditor and <p> tags

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
jd

fckeditor and <p> tags

Post 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.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: fckeditor and <p> tags

Post 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
jd

Re: fckeditor and <p> tags

Post by jd »

Hi,

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

Re: fckeditor and <p> tags

Post 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.
Locked

Return to “CMSMS Core”