fckeditorx paragraph autoformat question

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.
Post Reply
qzy
Forum Members
Forum Members
Posts: 48
Joined: Sun Feb 05, 2006 8:27 am

fckeditorx paragraph autoformat question

Post by qzy »

Hi there,


I'm on cmsms 1.1 and have 1.0.3 of fckeditorx. When I type anything to the fckeditor htmlarea I expreience, that content gets rounded by and tags automatically. Is there a way to make fckeditorx _not_ to do this?


Thanks,
Balint
chrisl
Forum Members
Forum Members
Posts: 57
Joined: Fri Dec 30, 2005 10:08 am

Re: fckeditorx paragraph autoformat question

Post by chrisl »

You could try putting

Code: Select all

FCKConfig.EnterMode = 'br' ;		
FCKConfig.ShiftEnterMode = 'br' ;	
into

FCKeditorXcfg.js.php

in the modules/fckeditorX folder

at about line 33 after the ?> php end tag

You will have to clear cache and reload editing page if it is open.
qzy
Forum Members
Forum Members
Posts: 48
Joined: Sun Feb 05, 2006 8:27 am

Re: fckeditorx paragraph autoformat question

Post by qzy »

Thanks for the idea, I'll try that.
However fckeditor puts surrounding paragraph tags even if the content is only one line long, without Enters either with or without shift.
chrisl
Forum Members
Forum Members
Posts: 57
Joined: Fri Dec 30, 2005 10:08 am

Re: fckeditorx paragraph autoformat question

Post by chrisl »

Yes WYSIWYG editors demand that you put in a P, BR, or DIV  tag.

However if you start a pristine page and have BR as the 'enter' default there should be no paragraph tags just line-break tags.

Changing the default will not retrospectively clear all P tags.
Last edited by chrisl on Thu Aug 30, 2007 7:37 pm, edited 1 time in total.
Post Reply

Return to “CMSMS Core”