fredck's picture
Joined: 19/01/2007
Posts: 1087
FCKeditor 2.5 released
This is the most important release since FCKeditor 2.0. It introduces Safari and Opera compatibility, but also new features that leverage the quality of FCKeditor to an upper level. You will find no similar solution on other products.

The most exciting feature is the new Style System. Now you have full control over every single formatting and semantic command available in the editor interface. Why having a limited interface to achieve a XHTML 1.1 experience? Enjoy a full featured editor, while well controlling how things work on it. No more <font> tags? Well, the system is so flexible that it is up to you to decide (but don't worry... no <font> tags by default :).

Do you want more? What about blockquote support, the revamped Undo System, the Data Processor which makes it possible to handle non HTML data, and much more.

What's new?
http://www.fckeditor.net/whatsnew

Read first before upgrading:
http://wiki.fckeditor.net/Developer%27s_Guide/Upgrade

Online demo:
http://www.fckeditor.net/demo

Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn

aaronvg's picture
Joined: 14/01/2007
Posts: 4
Re: FCKeditor 2.5 released
Great work, developers! :) Congratulations!
richard_d's picture
Joined: 03/12/2007
Posts: 1
Re: FCKeditor 2.5 released
Great work, but the new style system really bloats the output. If you apply multiple formatting commands to the same selection, you get multiple "<span>...</span>" tags, whereas the previous system would produce a single "<font>...</font>" tag.

For example, select a single word, change the font, font size, colour and background colour.

In v2.4, the output from Firefox is:
<font size="5" face="Comic Sans MS" color="#ffffff" style="background-color: rgb(255, 0, 0);">Test</font>

(106 characters)

From IE7:
<font style="background-color: #ff0000" face="Comic Sans MS" color="#ffffff" size="5">Test</font>

(98 characters)


In v2.5, the output from Firefox is:
<span style="background-color: rgb(255, 0, 0);"><span style="color: rgb(255, 255, 255);"><span style="font-size: large;"><span style="font-family: Comic Sans MS;">Test</span></span></span></span>

(196 characters)

From IE7:
<span style="background-color: #ff0000"><span style="color: #ffffff"><span style="font-size: large"><span style="font-family: Comic Sans MS">Test</span></span></span></span>

(174 characters)
vaseem's picture
Joined: 04/12/2007
Posts: 1
Re: FCKeditor 2.5 released
I have integrated FCK Editor 2.5 released in my Asp.net 2.0 application , Its working fine for Mozilla firefox but when I checked this on Netscape browser 8.0 then its not allowing to enter any text, even i am not able to put cursor in its edit area. After this I checked the demo on fckeditor.net using Netscape browser 8.0 but same result.

Can anyone explain this whether its compatible for Netscape browser or not.


Thanks
Vaseem
beaker's picture
Joined: 06/12/2007
Posts: 1
Re: FCKeditor 2.5 released
Hi guys,

The new Styles editor is great, although I need to disable this and use the original <Font></Font> tags for a compatibility with some mail clients. The Blurb for v2.5 says:

"The most exciting feature is the new Style System. Now you have full control over every single formatting and semantic command available in the editor interface. Why having a limited interface to achieve a XHTML 1.1 experience? Enjoy a full featured editor, while well controlling how things work on it. No more <font> tags? Well, the system is so flexible that it is up to you to decide (but don't worry... no <font> tags by default ."

How do I decide? Is there a flag/option somewhere to disable this, or is the work more substantial? If someone has an answer to this, could they let me know ASAP?

Thanks,
BeakZ
dstalls's picture
Joined: 07/12/2007
Posts: 1
Re: FCKeditor 2.5 released
Hey 2.5 is awesome!! Any idea on when we can see a version integrated with Wikimedia? The best part about this new version is the ability to upload an image while you are editing the page. This is similar to what Jotspot has but seems much more feature rich.
robin78's picture
Joined: 06/10/2007
Posts: 23
Re: FCKeditor 2.5 released
Hi,

thanks for this new version. I'm very interested too by the answer of the question of Beaker.

Because of the problem which Richard_d talk about.

Thanks in advance.
fredck's picture
Joined: 19/01/2007
Posts: 1087
Re: FCKeditor 2.5 released
To have some overview of the new style system, sample14.html (actually sample14.config.js) in _samples/html is good starting point.

For example, to use the <font> tag for the font "face", you may change the editor configuration like this:

FCKConfig.CoreStyles.FontFace =
   {
      Element      : 'font',
      Attributes   : { 'face' : '#("Font")' }
   } ;


This is the way to do that in a custom configuration file. In the original fckconfig.js file, you may change the FontFace entry in the FCKConfig.CoreStyles = {} block.

I haven't tested it, but it should give you some help to work on your customizations.

Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn

kemmotar's picture
Joined: 13/12/2007
Posts: 1
Re: FCKeditor 2.5 released
Ok, I've tested it and now it's creating multiples font tags if I do the same for Size and color

How can I revert it to the original <font> functionallity???
nevdev's picture
Joined: 23/09/2007
Posts: 11
Re: FCKeditor 2.5 released
The PHP developer's guide at http://wiki.fckeditor.net/ just takes me to an advert for drugs.. :cry:

Is there anything essential I need to know for the new 2.5 version?
fredck's picture
Joined: 19/01/2007
Posts: 1087
Re: FCKeditor 2.5 released
nevdev wrote:The PHP developer's guide at http://wiki.fckeditor.net/ just takes me to an advert for drugs.. :cry:


Unfortunately, we are constantly fighting against spam at our Wiki. We are working to make it more protected now. You should have the documentation fixes now. I apologize for any inconvenience.

Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn

nevdev's picture
Joined: 23/09/2007
Posts: 11
Re: FCKeditor 2.5 released
I installed 2.5 on my web app, and everything works great - after a bit of squirreling into the code!

But I got the impression (from somewhere, can't remember where!) that now with this new version you don't have to use the subfolders/directories "file", "flash", "image" and "media".. Yet my configuration doesn't work if I don't set up those folders. Have I got that wrong?

Also can you direct me to the documentation concerning uploading files that aren't images (eg mp3s, flash, etc)?

Thank you for this great resource!
stonedeft's picture
Joined: 07/01/2008
Posts: 1
Re: FCKeditor 2.5 released
kemmotar wrote:Ok, I've tested it and now it's creating multiples font tags if I do the same for Size and color

How can I revert it to the original <font> functionallity???


I'm doing a CMS for a flash application and I have problems with FCK creating multiple font tags as flash's dynamic text box can't parse multiple html tags. I know it can be done using PHP preg_replace but has anyone have a solution to this without using PHP? Or is there a download somewhere for the old version of FCK editor? TNX
letssurf's picture
Joined: 29/04/2008
Posts: 11
Re: FCKeditor 2.5 released
I'm having terrible problems with span span span span span any small change that happends a new span tag appers. Is there any way to stop this?
fredck's picture
Joined: 19/01/2007
Posts: 1087
Re: FCKeditor 2.5 released
I would ask all you guys to please use our dev site to report issues and suggestions.

Thanks in advance.

Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn

letssurf's picture
Joined: 29/04/2008
Posts: 11
Re: FCKeditor 2.5 released
I went over to the dev site and it said
Forums : get (and give) support, socialize and exchange your ideas with our community.


So I thought I'd try here first.

I've now reported it as a bug.
Thanks for you advice ;)
letssurf's picture
Joined: 29/04/2008
Posts: 11
Re: FCKeditor 2.5 released
kemmotar wrote:Ok, I've tested it and now it's creating multiples font tags if I do the same for Size and color

How can I revert it to the original <font> functionallity???


Did you ever find a fix for this? I'm really fed up of the multiple span / multiple font tag problem. It's just being ignored.

Can anyone provide any help on this? I don't want so many tags for such small changes. It's a regression.

/Thanks
ale123's picture
Joined: 17/03/2008
Posts: 2
Re: FCKeditor 2.5 released
Any updates about this issue?
I'm having trouble in our E-Commerce system with multiple span.