------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Changes in FCK.Plone 2.2 (Plone/CMF integration) 11/02/06 :
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1. FCK.Plone uses FCKeditor 2.2 : see _whatnew.html
2. By default Gecko browsers use span tags in place of font tags
   when choosing font family, color and background color (not available for MSIE)
   for better xhtml strict, and plone2.1.x VALID_TAGS compliance.
3. h1 removed from font format menu (you can personalize this menu through  fckconfigPlone.js.dtml)
4. ToolBar customization added to plone control panel 
5. fckAbsUrl and fckCreateValidZopeId in utils.py no more called as contextual methods
   just call modules/Products.FCKeditor.utils/... when necessary (thx to Marc Aurèle Darche)
6. Import from CMF don't use deprecated aliases (thx to MAD)
7. Editor width/height accept px, %, or 'no units'. 
   With standard plone ATCT, by default the width is set to 100%
8. You can force editor width/ height through plone control panel.
   This option is not recommanded when using your own AT content types.
   A better solution is to fix width and height through the visual or richtext widget (more flexibility when ATCT have multiple wysiwyg fields)
   When setting this option widget width and height are not active.
9. htc files renamed in htc.dtml for zope skin integration
10. compilation error moz-bindings.xml fixed (fckeditor original code source  bug fixed)
11. compilation error fckpaste.html.pt fixed (fckeditor original code source bug fixed) 
12. GetHTML replaced by GetXHTML in fck_plone.js.dtml to make function
   'makeLinksRelative' working with FCKeditor 2.2
13. You can set your specific Content Types based on PloneArticle through Control Panel:
    List of PloneArticle meta_types for browsing/uploading attachements and images.
14. Content Sizes are well formatted in browser

     


------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Changes in FCK.Plone 2.1.1PR3 (Plone/CMF integration) 22/01/06 :
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1. Many bugs fixed after FCKeditor.Plone 2.1.1 PR2 (see http://macadames.com/forum)
2. parsing url error with folderish fixed
3. ATCT text_format selector error fixed (the field is no more disabled)
4. Fixed : Path error when browsing new content created with portal_factory (standard plone 2.1)
5. Fixed : Plone Article basehref and makeLinksRelative problem
6. Fixed : utf-8 encoding problems in browser
7. Added sarissa.js in package for plone2.0 platforms 






------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Changes in FCK.Plone 2.1.1PR1 (Plone/CMF integration) 31/10/05 :
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1. FCKeditor.Plone 2.1.1  is based on FCKeditor 2.1.1 
   All editor changes are notified in _whatsnew.html
2. Added fck Plone control panel with many features
3. Added fck Plone member preferences
4. connectorCPS.py and popup_rte_form.pt (in _zope_help/CPS) for advanced CPS browsing implementation (many thanks to Youenn Boussard alias youyou on macadames.com)
5. popup_rte_form.pt moved from skin because new CPS version is using FCKeditor as default wysiwyg editor
   when the product is installed (http://svn.nuxeo.org/trac/pub/ticket/502 thx to Marc Aurèle Darche).
   If you want to use new browser capabilities you could write your own wysiwyg template (see CPS example)
6. Correction bug : http://macadames.com/forum/46734164462 (BASE0 replaced by SERVER_URL on many files)
7. Changed some "</" in "<\/" from fckeditor original code (fck_paste.html)
8. Added specific zope functions to rapid upload (fck_link.html.pt, fck_image.html.pt, fck_flash.html.pt)
9. All html editor files changed in pages templates (not tested with Zope < 2.7.2)
10. changed : status 301 for resolveUid redirection
11. added : makeLinksRelative before posting to server (you can desactivate it through plone control panel)
    this code is taken from kupu (thanks)



------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Changes in FCK.Plone 2.0.2 (Plone/CMF integration) 04/10/05 :
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1. Fast upload Plone implementation (you can upload without browsing in Folder choosed as Current Folder for edition - by default, the current folder)
   you can disable it in fckeditor_wysiwyg_support.
2. Plone Article V2 and V3  compatibility for browsing /uploading attachements and images. A very powerful feature.
3. Album presentation in browser when browsing for images. Very useful feature.
4. Correction bug SF[ 1288479 ] (FCKeditor.Plone 2.0.1 url problem + patch)
5. Correction bug fck_paste.html (many '</' in javascript strings)
6. When editing a folderish type or a Plone Article type, the path for browsing and fast upload is the folder (or PA) itself.
   (see bug SF[1215798] wich is not really a bug, just a feature request)
   The folder (or PA) need to be pre-published (test on here/Title),
   otherwise, the parent folder is choosed as path.
7. Correction bug : path for browsing/uploading when editing folderish types in Plone 2.1
8. More documentation
6. CMF Photo Album / CMF Photo compatibility for browsing/uploading photos (as we did it for ZPhotoSlides, the best Plone photo album product)
9. Correction bug when referencing an url by UID : when a content didn't have an UID but a parent container did it,
   the browser was referencing the first parent with UID (there is the same bug in Kupu 1.3rc3).
   We changed "if hasattr(objekt, UID)" in "if hasattr(objekt.aq_explicit, UID)"
   The best method in Plone2.1 could be  "if IReferenceable.isImplementedBy(objekt)", not yet implemented
10. Many javasript corrections in browser.
11. Charset and Unicode corrections when posting files and images through rapid upload or through the browser
    The browser and rapid upload function was fully tested with UTF-8 and ISO-8859 Plone sites, 
    but encoding is really complicated, so conflicts are always possible (submit bugs to FCKeditor tracker ... )
13. Correction bug when ATCT are using "width=100%" in richtext widgets
14. PloneArticle V3 attachements are referenced by UID
15. Many bug corrections in browser xml connector and upload script
16. Can preview files and images in browser before linking
17. Correction bug charset on create folders 
18. Correction bug when image titles were using quotes in browser view
19. Correction bug with plone article v2 attachements (problem with ids and url in utf-8 plone site)


Changes in FCK.Plone 2.0.1 (Plone/CMF integration) 05/09/05 :

1. FCKeditor.Plone 2.0.1  is based on FCKeditor 2.0
2. Added examples for Plone (in this directory) : ArcheTypes Widgets for browsing internal links, and richtext editing
   a link_edit_form template to import (it's just an example of Customization don't use it in Plone 2.1, neither in production environnement)
3. skin directory is renamed from "editor_fck" to "fckeditor" for cohabitation with others editors (Kupu, Epoz, ...)
4. Changed : intall.py :
   - site properties > available_editors attribute changed from 'FCK Editor' to 'FCKeditor' for multiple editors cohabitation
5. Added an extension to update members wysiwyg_editor property in portal_membership
   for users who were using a previous version (updateFckUsers.py)
6. Plone connector adapted for Flash and Media files browsing;
   Note : Today content type for Flash and Media is "File", and we cannot select between file extensions in Zope/Plone
   because extension is not significant. 
   So when browsing for Flash or Medias files, all files are shown ... Solution could be a specific Content Type for Flash content
7. Always some corrections for '</' bug in javascript fck source code.
8. Added fckAbsUrl method for editing because FCK editor need absolute url, now relative url are parsed and relative image urls are well shown in editor area.
   If you want to retrieve relative urls after the publication you need to install an EpozPostTidy external method provided in the package (more info on Epoz site)
9. Added in browser the possibility to reference ATCT url as UID (adapted from Kupu - many thx to everybody),
   if you want to disable it just change the parameter linkbyuid=1 to 0 in ploneConnector.py
10.wysiwyg_support.pt fckeditor_wysiwyg_support.pt and mini_wysiwyg_support.pt adapted for 
   new Url referencing system and kupu/Epoz cohabitation
11.when uploading files and images through the browser you can set a title - images titles are used to set the "alt" property when choosing them.
12.When browsing you can link a folder or another collection, by default url are referenced by UID
13 Fully tested with Plone 2.1, everything seems ok.
14.added : refresh.txt (it's not always a good idea to refresh the product, in production site it's better to restart Zope)



Others corrections before next release - June 2005
1. corrections spellerchecker.html - "</p>" changed in "<\/p>" line 54
   FCK original code need to be changed in valid XHTML for stopping that bug and changing all .html.html in .html.pt
2. some changes in fckconfig.js (SmallZopeCmf toolbar comes now with styles combo menu - ZopeCmf toolbar comes with "SpellCheck" button)
3. fckstyles.xml.pt customized for styles combo
   look at editor/css/fck_ploneArea.css, there are some css classes to  add in your plone.css (or ploneCustom.css)


Corrections FCKeditor.Plone 2.0.1 FC - patch p1 - thx to madduck
1. Corrections on connectorPlone.py for some XML 503 error (thx to madduck)
2. Corrections for some XML syntax errors
3. security tips : now browser don't show Zope folderish CT wich are not portal content types
4. wysywig templates honour Archetypes size widget argument :
   IMPORTANT : take care if you were using previous FCKeditor version with your Archetypes Content types 

Changes in FCKeditor.Plone 2.0.1 FC 19/05/05 :
changed : wysiwyg_support and mini_wysiwyg_support for better FCK http cache perfomance
          these new templates correct a small bogue with some plone sites .
 

Changes in FCK 2.0 FC for Plone/CMF integration 16/05/05 :

1. Plone.FCKeditor 2.0 FC  is based on FCKeditor 2.0 FC
2. added : specific Zope Browser based on FCK standard Browser with Zope Objects browsing
           Object attributes for xml nodes (title, description, image attributes for CMF Photo and Zphotoslides ...)

3. added : specific Plone connector (upload functions enabled - upload zphotoslides enabled ...)
           This connector is not CPS compatible but it's easy to transform
4. FCKConfig.Basepath is defined in wysiwyg_support for Plone, in rtepopup for CPS
5. New Browser Url is defined in wysiwyg_support templates for Plone
6. Rename fcktemplates.xml in fcktemplates.xml.pt for Zope compatibility
7. Rename all xml files in xml.pt
8. change all '/' in javascript strings for '\/' for xhtml and zpt compatibility - always the same problem ... Fred

Changes in Zope Package 03/04/05

1. added : CPS compatibility
2. added : FCK HHTP Cache for better compatibility with others Zope 2.xx based CMS
3. added : ZPT example for CPS integration (popup_rte_form.pt)


Changes in FCK 2.0 FC-Preview for Plone/CMF integration :


1. The folder skins is renamed fck_skins because 'skins' is reserved in Zope CMF

2. Change file fckconfig.js  (line 29 for skinPath)

3. Change fonts in fckconfig.js 

4. Change all files in ".html" as ".html.html" ".html.pt" would be better but the editor source code is not XHTML compatible (happily it produces XHTML) .

5. Added wysiwyg_support files (CMF template) for CMF integration

6. Added CMF/plone installation files at product root

7. Move all files in folder skins/editor_fck/ for CMF product integration

8. Added default basepath in fckconfig.js

9. Customization of toolbars in fckconfig.js

10. Added link to BrowseLink and BrowseImage in fckconfig.js

11. Added dtml and scripts python for browseLinks and BrowseImages

12. Rename fckstyles.xml in fckstyles.xml.pt for Zope compatibility

13. Added a .metadata file for each file (for Plone HttpCache) 

14. Since Zope 2.7.2 Zope doesn't accept anymore "</" in javascript strings inside html files, for example we must change '</div>' in '<\/div>' 
    > please Frederico can you change these files

Details : files and lines with corrections on </ bug in javascript strings
editor/fckdialog.html 40
editor/fckdebug.html 38 46 78
editor/dialog/fck_anchor.html  57
editor/dialog/fck_specialchar.html  76 81 85 86 89
editor/dialog/fck_smiley.html  70 76 77 80 81 84
editor/dialog/fck_about.html  119
editor/dialog/fck_spellerpages/spellchecker.html  many lines
editor/dialog/fck_template.html  many lines
editor/dialog/fck_paste.html many lines






jean-mat@macadames.com
