Eric Everman wrote:
OK, so it looks like the FCKeditor creates invalid html when lists are
created along with text outside the lists (see below for example
html). A key portion of the problem is that the text itself is not
wrapped in P tags, and from the FCK site it looks like there is a
switch to toggle the 'enter = br vs enter = p tag' behavior. I looked
around in the configuration files for FCK and found this setting in
/author/admindocroot/fckeditor/fckconfig.js :
FCKConfig.UseBROnCarriageReturn = false ;
...which I would say the FCK editor is ignoring because when I press
enter in the editor I get BR tags, not P tags. I can't seem to find
this setting overridden in any of the custom settings files either,
located in /author/admindocroot/fckeditor/custom/config/. Is something
else going on in the FCK config (other files other places), or is FCK
for some reason ignoring these settings? And has anyone seen FCK
create valid html when text + lists are involved, using some
combination of config settings?
This is a known issue in FCKeditor, see
http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1203560
and a bunch of related bug entries. You can do a search on
UsePOnCcarriageReturn.
--
Cheers
Michael
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------