From tchemit@users.labs.libre-entreprise.org Sun May 18 13:52:08 2008 From: tchemit@users.labs.libre-entreprise.org To: nuiton-rss-commits@list.nuiton.org Subject: [Lutinweb-commits] r46 - in trunk/lutinrss/src/main/webapp: . fckeditor fckeditor/editor fckeditor/editor/plugins Date: Sun, 18 May 2008 13:52:05 +0200 Message-ID: <20080518115205.F0636461AF8@labs.libre-entreprise.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1068706669478155571==" --===============1068706669478155571== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: tchemit Date: 2008-05-18 11:52:05 +0000 (Sun, 18 May 2008) New Revision: 46 Added: trunk/lutinrss/src/main/webapp/fckeditor/ trunk/lutinrss/src/main/webapp/fckeditor/_documentation.html trunk/lutinrss/src/main/webapp/fckeditor/_upgrade.html trunk/lutinrss/src/main/webapp/fckeditor/_whatsnew.html trunk/lutinrss/src/main/webapp/fckeditor/_whatsnew_history.html trunk/lutinrss/src/main/webapp/fckeditor/editor/ trunk/lutinrss/src/main/webapp/fckeditor/editor/_source/ trunk/lutinrss/src/main/webapp/fckeditor/editor/css/ trunk/lutinrss/src/main/webapp/fckeditor/editor/dialog/ trunk/lutinrss/src/main/webapp/fckeditor/editor/dtd/ trunk/lutinrss/src/main/webapp/fckeditor/editor/fckdebug.html trunk/lutinrss/src/main/webapp/fckeditor/editor/fckdialog.html trunk/lutinrss/src/main/webapp/fckeditor/editor/fckeditor.html trunk/lutinrss/src/main/webapp/fckeditor/editor/fckeditor.original.html trunk/lutinrss/src/main/webapp/fckeditor/editor/filemanager/ trunk/lutinrss/src/main/webapp/fckeditor/editor/images/ trunk/lutinrss/src/main/webapp/fckeditor/editor/js/ trunk/lutinrss/src/main/webapp/fckeditor/editor/lang/ trunk/lutinrss/src/main/webapp/fckeditor/editor/plugins/ trunk/lutinrss/src/main/webapp/fckeditor/editor/plugins/autogrow/ trunk/lutinrss/src/main/webapp/fckeditor/editor/plugins/bbcode/ trunk/lutinrss/src/main/webapp/fckeditor/editor/plugins/dragresizetable/ trunk/lutinrss/src/main/webapp/fckeditor/editor/plugins/placeholder/ trunk/lutinrss/src/main/webapp/fckeditor/editor/plugins/simplecommands/ trunk/lutinrss/src/main/webapp/fckeditor/editor/plugins/tablecommands/ trunk/lutinrss/src/main/webapp/fckeditor/editor/skins/ trunk/lutinrss/src/main/webapp/fckeditor/fckconfig.js trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.afp trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.asp trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.cfc trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.cfm trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.js trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.lasso trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.php trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.pl trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.py trunk/lutinrss/src/main/webapp/fckeditor/fckeditor_php4.php trunk/lutinrss/src/main/webapp/fckeditor/fckeditor_php5.php trunk/lutinrss/src/main/webapp/fckeditor/fckpackager.xml trunk/lutinrss/src/main/webapp/fckeditor/fckstyles.xml trunk/lutinrss/src/main/webapp/fckeditor/fcktemplates.xml trunk/lutinrss/src/main/webapp/fckeditor/fckutils.cfm trunk/lutinrss/src/main/webapp/fckeditor/license.txt Log: import fckeditor 2.6 for test Added: trunk/lutinrss/src/main/webapp/fckeditor/_documentation.html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lutinrss/src/main/webapp/fckeditor/_documentation.html = (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/_documentation.html 2008-05-18 1= 1:52:05 UTC (rev 46) @@ -0,0 +1,38 @@ + + + + + FCKeditor - Documentation + + + + +

+ FCKeditor Documentation

+

+ You can find the official documentation for FCKeditor online, at + http://docs.fckeditor.net/.

+ + Added: trunk/lutinrss/src/main/webapp/fckeditor/_upgrade.html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lutinrss/src/main/webapp/fckeditor/_upgrade.html = (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/_upgrade.html 2008-05-18 11:52:0= 5 UTC (rev 46) @@ -0,0 +1,39 @@ + + + + + FCKeditor - Upgrade + + + + +

+ FCKeditor Upgrade

+

+ Please check the following URL for notes regarding upgrade:
+ + http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Installation/Upg= rading

+ + Added: trunk/lutinrss/src/main/webapp/fckeditor/_whatsnew.html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lutinrss/src/main/webapp/fckeditor/_whatsnew.html = (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/_whatsnew.html 2008-05-18 11:52:= 05 UTC (rev 46) @@ -0,0 +1,293 @@ + + + + + FCKeditor ChangeLog - What's New? + + + + +

+ FCKeditor ChangeLog - What's New?

+

+ Version 2.6

+

+ No changes. The stabilization of the 2.6 RC was completed successfully, as= expected.

+

+ Version 2.6 RC

+

+ New Features and Improvements:

+ +

+ Fixed Bugs:

+ +

+ Version 2.6 Beta 1

+

+ New Features and Improvements:

+ +

+ Fixed Bugs:

+ +

+ See previous versions history +

+ + Added: trunk/lutinrss/src/main/webapp/fckeditor/_whatsnew_history.html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lutinrss/src/main/webapp/fckeditor/_whatsnew_history.html = (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/_whatsnew_history.html 2008-05-1= 8 11:52:05 UTC (rev 46) @@ -0,0 +1,3373 @@ + + + + + FCKeditor ChangeLog - What's New? + + + + +

+ FCKeditor ChangeLog - What's New?

+

+ Version 2.5.1

+

+ New Features and Improvements:

+ +

+ Fixed Bugs:

+ +

+ Version 2.5

+

+ New Features and Improvements:

+ +

+ Fixed Bugs:

+ +

+ Version 2.5 Beta

+

+ New Features and Improvements:

+ +

+ Fixed Bugs:

+ +

+ # This version has been p= artially sponsored + by the Council of Europe. +

+

+ Version 2.4.3

+

+ New Features and Improvements:

+ +

+ Fixed Bugs:

+ +

+ Version 2.4.2

+

+ Fixed Bugs:

+ +

+ Version 2.4.1

+

+ New Features and Improvements:

+ +

+ Fixed Bugs:

+ +

+ Version 2.4

+

+ New Features and Improvements:

+ +

+ Fixed Bugs:

+ +

+ * This version has been partially sponsored by Medical + Media Lab.

+

+ Version 2.3.3

+

+ New Features and Improvements:

+ +

+ Version 2.3.2

+

+ New Features and Improvements:

+ +

+ Fixed Bugs:

+ +

+ Version 2.3.1

+

+ Fixed Bugs:

+ +

+ Version 2.3

+

+ New Features and Improvements:

+ +

+ Fixed Bugs:

+ +

+ * This version has been partially sponsored by Footsteps + and Kentico.

+

+ Version 2.3 Beta

+

+ New Features and Improvements:

+ +

+ Fixed Bugs:

+ +

+ * This version has been partially sponsored by Footsteps + and Kentico. +
+ ** This version has been partially sponsored by Nextide.

+

+ Version 2.2

+

+ New Features and Improvements:

+ +

+ Fixed Bugs:

+ +

+ Special thanks to + Alfonso Martinez, who have provided many patches and suggestions for = the + following features / fixes present in this version. I encourage all you to= + donate to Alfonso, as a way to say thanks for his nice open source ap= proach. + Thanks Alfonso!. Check out his contributions:

+
    +
  • [SF + BUG-1352539] [SF + BUG-1208348] With Firefox, no more "fake" selections are a= ppearing + when inserting images, tables, special chars or when using the "inse= rtHtml" + function.
  • +
  • [SF + Patch-1382588] The "FCKConfig.DisableImageHandles" configur= ation option + is not working on Firefox 1.5.
  • +
  • [SF + Patch-1368586] Some fixes have been applied to the Flash dialog box a= nd the + Flash pre-processor.
  • +
  • [SF + Patch-1360253] [SF + BUG-1378782] [SF + BUG-1305899] [SF + BUG-1344738] [SF + BUG-1347808] On dialogs, some fields became impossible + to select or change when using Firefox. It has been fixed.
  • +
  • [SF + Patch-1357445] Add support for DIV in the Format drop-down combo for = Firefox. +
  • +
  • [SF + BUG-1350465] [SF + BUG-1376175] The "Cell Properties" dialog now works correc= tly + when right-clicking in an object (image, for example) placed inside the c= ell itself. +
  • +
  • [SF + Patch-1349166] On IE, there is now support for namespaces on tags nam= es.
  • +
  • [SF + Patch-1350552] Fix the display issue when applying styles on tables. =
  • +
  • [SF + Patch-1352320 ] Fixed a wrong usage of the "parentElem= ent" + property on Gecko.
  • +
  • [SF + Patch-1355007] The new "FCKDebug.OutputObject" function is = available + to dump all object information in the debug window.
  • +
  • [SF + Patch-1329500] It is now possible to delete table columns when clicki= ng on a + TH cell of the column.
  • +
  • [SF + Patch-1315351] It is now possible to pass the image width and height = to the + "SetUrl" function of the Flash dialog box.
  • +
  • [SF + Patch-1327384] TH tags are now correctly handled by the source code f= ormatter + and the "FillEmptyBlocks" configuration option.
  • +
  • [SF + Patch-1327406] Fake borders are now displayed for TH elements on tabl= es with + border set to 0. Also, on Firefox, it will now work even if the border at= tribute + is not defined and the borders are not dotted.
  • +
  • Hidden fields now get rendered on Firefox.
  • +
  • The BasePath is now included in the debugger URL to avoid problems whe= n calling + it from plugins.
  • +
+

+ * This version has been partially sponsored by + Alkacon Software.

+

+ Version 2.1.1

+

+ New Features and Improvements:

+
    +
  • The new "Insert Page Break" command (f= or printing) has + been introduced.*
  • +
  • The editor package now has a root directory called "FCKeditor&quo= t;.
  • +
+

+ Fixed Bugs:

+
    +
  • [SF + BUG-1326285] [SF + BUG-1316430] [SF + BUG-1323662] [SF + BUG-1326223] We are doing a little step back with this version. + The ENTER and BACKSPACE behavior changes for Firefox have been remove. It= is a nice + feature, but we need much more testing on it. It introduced some bug= s and so + its preferable to not have that feature, avoiding problems (even if that = feature + was intended to solve some issues).
  • +
  • [SF + BUG-1275714] Comments in the beginning of the source are now preserve= d when + using the "undo" and "redo" commands.
  • +
  • The "undo" and "redo" commands now work for the St= yle command. +
  • +
  • An error in the execution of the pasting commands on Firefox has been = fixed.
  • +
  • [SF + BUG-1326184] No strange (invalid) entities are created when using Fir= efox. Also, + the &nbsp; used by the FillEmptyBlocks setting is maintained even if = you disable + the ProcessHTMLEntities setting.
  • +
+

+ * This version has been partially sponsored by + Acctive Software S.A..

+

+ Version 2.1

+

+ New Features and Improvements:

+
    +
  • [SF + BUG-1200328] The editor now offers a way to "protect" part = of the + source to remain untouched while editing or changing views. Just use= the "FCKConfig.ProtectedSource" + object to configure it and customize to your needs. It is based on regula= r expressions. + See fckconfig.js for some samples.
  • +
  • The editor now offers native support for Lasso. Thank= s and welcome to + our new developer Jason Huck.
  • +
  • New language files are available: +
      +
    • Faraose (by Símin Lassaberg and Helgi A= rnthorsson) +
    • +
    • Malay (by Fairul Izham Mohd Mokhlas)
    • +
    • Mongolian (by Lkamtseren Odonbaatar)
    • +
    • Vietnamese (by Phan Binh Giang)
    • +
    +
  • +
  • A new configurable ColdFusion connector is available. Thanks to M= ark Woods. + Many enhancements has been introduced with it.
  • +
  • The PHP connector for the default File Browser now sorts the folders a= nd files names. +
  • +
  • [SF + BUG-1289372] [SF + BUG-1282758] In the PHP connector it is now possible to set the abso= lute + (server) path to the User Files directory, avoiding problems with Virtual= Directories, + Symbolic Links or Aliases. Take a look at the config.php file.
  • +
  • The ASP.Net uploader (for Quick Uploads) has been added to the package= .
  • +
  • A new way to define simple "combo" toolbar items , like + Style and Font, has been introduced. Thanks to Steve Lineberry.=  See + sample06.html and the "simplecommands" plugin to fully und= erstand + it.
  • +
  • A new test case has been added that shows how to set the editor backgr= ound dynamically + without using a CSS.
  • +
  • [SF + BUG-1155906] [SF + BUG-1110116] [SF + BUG-1216332] The "AutoDetectPasteFromWord" configuration = option + is back (IE only feature).
  • +
  • The new "OnAfterLinkedFieldUpdate" event has been intro= duced. If + is fired when the editor updates its hidden associated field.
  • +
  • Attention: The color of the right border of the toolbar (left on RTL i= nterfaces) + has been moved from code to the CSS (TB_SideBorder class). Update your cu= stom skins. +
  • +
  • A sample "htaccess.txt" file has been added to the edit= or's package + to show how to configure some Linux sites that could present problems on = Firefox + with "Illegal characters" errors. Respectively the "ï= »¿" + chars.
  • +
  • With the JavaScript, ASP and PHP integration files, you can set the Qu= eryString + value "fcksource=3Dtrue" to load the editor using the source fi= les (located + in the _source directory) instead of the compressed ones. Thanks to Kae V= erens for + the suggestion.
  • +
  • [SF + Feature-1246623] The new configuration option "ForceStrongEm&quo= t; has + been introduced so you can force the editor to convert all <B> and = <I> + tags to <STRONG> and <EM> respectively.
  • +
  • A nice contribution has been done by Goss Interactive Ltd: +
      +
    • [SF + BUG-1246949] Implemented ENTER key and BACKSPACE key handlers for G= ecko so that + P tags (or an appropriate block element) get inserted instead of BR tag= s when not + in the UseBROnCarriageReturn config mode. +
      + The ENTER key handling has been written to function much the same as th= e ENTER key + handling on IE : as soon as the ENTER key is pressed, existing content = will be wrapped + with a suitable block element (P tag) as appropriate and a new block el= ement (P + tag) will be started. +
      + The ENTER key handler also caters for pressing ENTER within empty list = items - ENTER + in an empty item at the top of a list will remove that list item and st= art a new + P tag above the list; ENTER in an empty item at the bottom of a list wi= ll remove + that list item and start a new P tag below the list; ENTER in an empty = item in the + middle of a list will remove that list item, split the list into two, a= nd start + a new P tag between the two lists.
    • +
    • Any tables that are found to be incorrectly nested within a block el= ement (P tag) + will be moved out of the block element when loaded into the editor. Thi= s is required + for the new ENTER/BACKSPACE key handlers and it also avoids non-complia= nt HTML.  +
    • +
    • The InsertOrderedList and InsertUnorderedList commands have been ove= rridden on Gecko + to ensure that block elements (P tags) are placed around a list item's = content when + it is moved out of the list due to clicking on the editor's list toolba= r buttons + (when not in the UseBROnCarriageReturn config mode).
    • +
    +
  • +
+

+ Fixed Bugs:

+
    +
  • [SF + BUG-1253255] [SF + BUG-1265520] Due to changes on version 2.0, the anchor list was not = anymore + visible in the link dialog window. It has been fixed.
  • +
  • [SF + BUG-1242979] [SF + BUG-1251354] [SF + BUG-1256178] [SF + BUG-1274841] [SF + BUG-1303949] Due to a bug on Firefox, some keys stopped working + on startup over Firefox. It has been fixed.
  • +
  • [SF + BUG-1251373 ] The above fix also has corrected some strange beha= viors on + Firefox.
  • +
  • [SF + BUG-1144258] [SF + BUG-1092081] The File Browsers now run on the same server sessi= on used + in the page where the editor is placed in (IE issue). Thanks to Simone Ch= iaretta. +
  • +
  • [SF + BUG-1305619 ] No more repeated login dialogs when running the editor = with Windows + Integrated Security with IIS.
  • +
  • [SF + Patch-1245304] The Test Case 004 is now working correctly. It has bee= n changed + to set the editor hidden at startup.
  • +
  • [SF + BUG-1290610 ] Over HTTPS, there were some warnings when loading the I= mages, + Flash and Link dialogs. Fixed.
  • +
  • Due to Gecko bugs, two errors were thrown when loading the editor in a= hidden div. + Workarounds have been introduced. In any case, the testcase 004 hack is n= eeded when + showing the editor (as in a tabbed interface).
  • +
  • An invalid path in the dialogs CSS file has been corrected.
  • +
  • On IE, the Undo/Redo can now be controlled using the Ctrl+Z and Ctrl+Y= shortcut + keys.
  • +
  • [SF + BUG-1295538 ] A few Undo/Redo fixes for IE have been done.
  • +
  • [SF + BUG-1247070] On Gecko, it is now possible to use the shortcut keys fo= r Bold + (CTRL+B), Italic (CTRL+I) and Underline (CTRL+U), like in IE.
  • +
  • [SF + BUG-1274303] The "Insert Column" command is now working cor= rectly + on TH cells. It also copies any attribute applied to the source cells. +
  • [SF + Patch-1287070 ] In the Universal Keyboard, the Arabic keystrokes tran= slator + is now working with Firefox. Thanks again to Abdul-Aziz Al-Oraij.
  • +
  • The editor now handles AJAX requests with HTTP status 304.
  • +
  • [SF + BUG-1157780] [SF + BUG-1229077] Weird comments are now handled correctly (ignored on so= me cases). +
  • +
  • [SF + BUG-1155774] A spelling error in the Bulleted List Properties dialog = has been + corrected.
  • +
  • [SF + BUG-1272018] The ampersand character can now be added from the Specia= l Chars + dialog.
  • +
  • [SF + BUG-1263161] A small fix has been applied to the sampleposteddata.php= file. + Thanks to Mike Wallace.
  • +
  • [SF + BUG-1241504] The editor now looks also for the ID of the hidden linke= d field. +
  • +
  • The caption property on tables is now working on Gecko. Thanks to Hele= n Somers (Goss + Interactive Ltd).
  • +
  • [SF + BUG-1297431] With IE, the editor now works locally when its files are= placed + in a directory path that contains spaces.
  • +
  • [SF + BUG-1279551] [SF + BUG-1242105] On IE, some features are dependant of ActiveX component= s (secure... + distributed with IE itself). Some security setting could avoid the u= sage of + those components and the editor would stop working. Now a message is show= n, indicating + the use the minimum necessary settings need by the editor to run. +
  • [SF + BUG-1298880] Firefox can't handle the STRONG and EM tags. Those tags = are now + converted to B and I so it works accordingly.
  • +
  • [SF + BUG-1271723] On IE, it is now possible to select the text and work co= rrectly + in the contents of absolute positioned/dimensioned divs.
  • +
  • On IE, there is no need to click twice in the editor to activate = the cursor + in the editing area.
  • +
  • [SF + BUG-1221621] Many "warnings" in the Firefox console are not= thrown + anymore.
  • +
  • [SF + BUG-1295526] While editing on "FullPage" mode the base= href is + now active for CSS "link" tags.
  • +
  • [SF + Patch-1222584] A small fix to the PHP connector has been applied. +
  • [SF + Patch-1281313] A few small changes to avoid problems with Plone. Than= ks to Jean-mat. +
  • +
  • [SF + BUG-1275911] A check for double dots sequences on directory names on = creation + has been introduced to the PHP and ASP connectors.
  • +
+

+ Version 2.0

+

+ New Features and Improvements:

+
    +
  • The new "Flash" command is available. = Now you can + easily handle Flash content, over IE and Gecko, including server browser = integration + and context menu support. Due to limitations of the browsers, it is not p= ossible + to see the preview of the movie while editing, so a nice "placeholde= r" + is used instead. *
  • +
  • A "Quick Upload " option is now availa= ble in the + link, image and flash dialog windows, so the user don't need to go (or ha= ve) the + File Browser for this operations. The ASP and PHP uploader are inclu= ded. Take + a look at the configuration file.***
  • +
  • Added support for Active FoxPro Pages . Thanks to our= new developer, + Sönke Freitag.
  • +
  • It is now possible to disable the size handles for im= ages and tables + (IE only feature). Take a look at the DisableImageHandles and DisableTabl= eHandles + configuration options.
  • +
  • The handles on form fields (small squares around them) and the in= line editing + of its contents have been disabled. This makes it easier to use= rs to use + the controls.
  • +
  • A much better support for Word pasting operations has been introduced.= Now it uses + a dialog box, in this way we have better results and more control.**
  • +
  • [SF + Patch-1225372] A small change has been done to the PHP integration fi= le. The + generic __construct constructor has been added for better PHP 5 sub-class= ing compatibility + (backward compatible). Thanks to Marcus Bointon.
  • +
+

+ Fixed Bugs:

+
    +
  • ATTENTION: Some security changes have been made to the connectors. Now= you must + explicitly enable the connector you want to use. Please test your applica= tion before + deploying this update.
  • +
  • [SF + BUG-1211591] [SF + BUG-1204273] The connectors have been changed so it is not possible = to use + ".." on directory names.
  • +
  • [SF + Patch-1219734] [SF + BUG-1219728] [SF + BUG-1208654] [SF + BUG-1205442] There was an error in the page unload on some cases + that has been fixed.
  • +
  • [SF + BUG-1209708] [SF + BUG-1214125] The undo on IE is now working correctly when the user s= tarts + typing.
  • +
  • The preview now loads "Full Page" editing correctly. It also= uses the + same XHTML code produced by the final output.
  • +
  • The "Templates" dialog was not working on some very specific= (and strange) + occasions over IE.
  • +
  • [SF + BUG-1199631] [SF + BUG-1171944] A new option is available to avoid a bad IE behavior th= at shows + the horizontal scrollbar even when not needed. You can now force the vert= ical scrollbar + to be always visible. Just set the "IEForceVScroll" configurati= on option + to "true". Thanks to Grant Bartlett.
  • +
  • [SF + Patch-1212026] [SF + BUG-1228860] [SF + BUG-1211775] [SF + BUG-1199824] An error in the Packager has been corrected.
  • +
  • [SF + BUG-1163669] The XHTML processor now adds a space before the closing = slash of + tags that don't have a closing tag, like <br />.
  • +
  • [SF + BUG-1213733] [SF + BUG-1216866] [SF + BUG-1209673] [SF + BUG-1155454] [SF + BUG-1187936 ] Now, on Gecko, the source is opened in a + dialog window to avoid fatal errors (Gecko bugs).
  • +
  • Some pages have been changed to avoid importing errors on Plone. Thank= s to Arthur + Kalmenson.
  • +
  • [SF + BUG-1171606] There is a bug on IE that makes the editor to not w= ork if + the instance name matches a meta tag name. Fixed.
  • +
  • On Firefox, the source code is now opened in a dialog box, to avoid er= ror on pages + with more than one editor.
  • +
  • [SF + Patch-1225703] [SF + BUG-1214941] The "ForcePasteAsPlainText" configuration opt= ion + is now working correctly on Gecko browsers. Thanks to Manuel Polo.
  • +
  • [SF + BUG-1228836] The "Show Table Borders" feature is now workin= g on Gecko + browsers.
  • +
  • [SF + Patch-1212529] [SF + BUG-1212517] The default File Browser now accepts connectors with qu= erystring + parameters (with "?"). Thanks to Tomas Jucius.
  • +
  • [SF + BUG-1233318] A JavaScript error thrown when using the Print command h= as been + fixed.
  • +
  • [SF + BUG-1229696] A regular expression has been escaped to avoid problems = when opening + the code in some editors. It has been moved to a dialog window.
  • +
  • [SF + BUG-1231978] [SF + BUG-1228939] The Preview window is now using the Content Type and Ba= se href. +
  • +
  • [SF + BUG-1232056] The anchor icon is now working correctly on IE. +
  • [SF + BUG-1202468] The anchor icon is now available on Gecko too.
  • +
  • [SF + BUG-1236279] A security warning has been corrected when using the Fil= e Browser + over HTTPS.
  • +
  • The ASP implementation now avoid errors when setting the editor value = to null values. +
  • +
  • [SF + BUG-1237359] The trailing <BR> added by Gecko at the end of the= source + is now removed.
  • +
  • [SF + BUG-1170828] No more &nbsp; is added to the source when using the= "New + Page" button.
  • +
  • [SF + BUG-1165264] A new configuration option has been included to for= ce the + editor to ignore empty paragraph values (<p>&nbsp;</p&g= t;), returning + empty ("").
  • +
  • No more &nbsp; is added when creating a table or adding columns, r= ows or cells. +
  • +
  • The <TD> tags are now included in the FillEmptyBlocks configurat= ion handling. +
  • +
  • [SF + BUG-1224829] A small bug in the "Find" dialog has been fixe= d.
  • +
  • [SF + BUG-1221307] A small bug in the "Image" dialog has been fix= ed.
  • +
  • [SF + BUG-1219981] [SF + BUG-1155726] [SF + BUG-1178473] It is handling the <FORM>, <TEXTAREA> and = <SELECT> + tags "name" attribute correctly. Thanks to thc33.
  • +
  • [SF + BUG-1205403] The checkbox and radio button values are now handled cor= rectly + in their dialog windows. Thanks to thc33.
  • +
  • [SF + BUG-1236626] The toolbar now doesn't need to collapse when unloading = the page + (IE only).
  • +
  • [SF + BUG-1212559] [SF + BUG-1017231] The "Save" button now calls the "onsubmi= t" + event before posting the form. The submit can be cancelled if the onsubmi= t returns + "false".
  • +
  • [SF + BUG-1215823] The editor now works correctly on Firefox if it values i= s set to + "<p></p>".
  • +
  • [SF + BUG-1217546] No error is thrown when "pasting as plain text"= ; and no + text is available for pasting (as an image for example).
  • +
  • [SF + BUG-1207031] [SF + BUG-1223978] The context menu is now available in the source view. <= /li> +
  • [SF + BUG-1213871] Undo has been added to table creation and table operatio= n commands. +
  • +
  • [SF + BUG-1205211] [SF + BUG-1229941] Small bug in the mcpuk file browser have been corr= ected.
  • +
+

+ * This version has been partially sponsored by + Infineon Technologies AG.
+ ** This version has been partially sponsored by + Visualsoft = Web Solutions.
+ *** This version has been partially sponsored by + Web Crossing, Inc.

+

+ Version 2.0 FC (Final Candidate)

+

+ New Features and Improvements:

+
    +
  • A new tab called "Link" is available in the= Image + Dialog window. In this way you can insert or modify the image li= nk directly + from that dialog.*
  • +
  • The new "Templates" command is now availabl= e. Now the + user can select from a list of pre-build HTML and fill the editor with it= . Take + a look at the "_docs" for more info.**
  • +
  • The mcpuk's F= ile Browser for + PHP has been included in the package. He became the official developer of= the File + Manager for FCKeditor, so we can expect good news in the future.
  • +
  • New configuration options are available to hide tabs = from the + Image Dialog and Link Dialog windows: Link= DlgHideTarget, + LinkDlgHideAdvanced, ImageDlgHideLink and ImageDlgHideAdvanced.
  • +
  • [SF + BUG-1189442] [SF + BUG-1187164] [SF + BUG-1185905] It is now possible to configure the editor to = not convert Greek + or special Latin letters to ther specific HTML enti= ties. You + can also configure it to not convert any character at all. Take a look at= the "ProcessHTMLEntities", + "IncludeLatinEntities" and "IncludeGreekEntities" con= figuration + options.
  • +
  • New language files are available: +
      +
    • Basque (by Ibon Igartua)
    • +
    • English (Australia / United Kingdom) (by Christophe= r Dawes)
    • +
    • Ukrainian (by Alexander Pervak)
    • +
    +
  • +
  • The version and date information have been removed from the files head= ers to avoid + unecessary diffs in source control systems when new versions are released= (from + now on).
  • +
  • [SF + Patch-1159854] Ther HTML output rendered by the server side integrati= on files + are now XHTML compatible.
  • +
  • [SF + BUG-1181823] It is now possible to set the desired DOCTYPE to use whe= n edit + HTML fragments (not in Full Page mode).
  • +
  • There is now an optional way to implement different "mouse over&q= uot; effects + to the buttons when they are "on" of "off".
  • +
+

+ Fixed Bugs:

+ +

+ * This version has been partially sponsored by the + Hamilton College.
+ ** This version has been partially sponsored by + Infineon Technologies AG.

+

+ Version 2.0 RC3 (Release Candidate 3)

+

+ New Features and Improvements:

+
    +
  • The editor now offers native Perl integration! Thanks= and welcome + to Takashi Yamaguchi, our official Perl developer.
  • +
  • [SF + Feature-1026584] [SF + Feature-1112692] Formatting has been introduced to = the + Source View. The output HTML can also be formatted. You = can choose + to use spaces or tab for indentation. See the configuration file.
  • +
  • [SF + Feature-1031492] [SF + Feature-1004293] [SF + Feature-784281] It is now possible to edit full HTML pages<= /strong> + with the editor. Use the "FullPage" configuration setting to ac= tivate + it.
  • +
  • The new toolbar command, "Document Properties" is + available to edit document header info, title, colors, background, etc...= Full page + editing must be enabled.
  • +
  • [SF + Feature-1151448] Spell Check is now available. You c= an use + ieSpell or Speller Pages right from FCK= editor. + More info about configuration can be found in the _docs folder.
  • +
  • [SF + Feature-1041686] [SF + Feature-1086386] [SF + Feature-1124602] New "Insert Anchor" com= mand + has been introduced. (The anchor icon is visible only over IE for no= w).
  • +
  • [SF + Feature-1123816] It is now possible to configure the editor to show "fake" + table borders when the border size is set to zero. (It is worki= ng only + on IE for now).
  • +
  • Numbered and Bulleted lists can now = be + configured . Just right click on then.
  • +
  • [SF + Feature-1088608] [SF + Feature-1144047] [SF + Feature-1149808] A new configuration setting is available, "BaseHref + ", to set the URL used to resolve relative links.
  • +
  • It is now possible to set the content language direction<= /strong> . + See the "FCKConfig.ContentLangDirection" configurations setting= .
  • +
  • All Field Commands available on version 1.6 have been= upgraded + and included in this version: form, checkbo= x, + radio button, text field, text = area, + select field, button, image but= ton + and hidden field .
  • +
  • Context menu options (right-click) has been added for= : + anchors, select field, textarea, + checkbox, radio button, text field, + hidden field, textarea, button<= /strong>, + image button, form, bulleted li= st + and numbered list .
  • +
  • The "Universal Keyboard" has been converted= from version + 1.6 to this one and it's now available.
  • +
  • It is now possible to configure the items to be shown= in the + context menu . Just use the FCKConfig.ContextMenu option at= fckconfig.js. +
  • +
  • A new configuration (FillEmptyBlocks) is available to force the e= ditor to + automatically insert a &nbsp; on empty block elements (p, di= v, pre, + h1, etc...) to avoid differences from the editing and the final result. (= Actually, + the editor automatically "grows" empty elements to make the use= r able + to enter text on it). Attention: the extra &nbsp; will be added when = switching + from WYSIWYG to Source View, so the user may see an additional space on e= mpty blocks. + (XHTML support must be enabled).
  • +
  • It is now possible to configure the toolbar to "= break + " between two toolbar strips. Just insert a "/" between th= en. Take + a look at fckconfig.js for a sample.
  • +
  • New Language files are available: +
      +
    • Brazilian Portuguese (by Carlos Alberto Tomatis Lot= h)
    • +
    • Bulgarian (by Miroslav Ivanov)
    • +
    • Esperanto (by Tim Morley)
    • +
    • Galician (by Fernando Riveiro Lopez)
    • +
    • Japanese ( by Takashi Yamaguchi)
    • +
    • Persian (by Hamed Taj-Abadi)
    • +
    • Romanian (by Adrian Nicoara)
    • +
    • Slovak (by Gabriel Kiss)
    • +
    • Thai (by Audy Charin Arsakit)
    • +
    • Turkish (by Reha Biçer)
    • +
    • The Chinese Traditional has been set as the default (zn) instead of = zn-tw.
    • +
    +
  • +
  • Warning: All toolbar image images have been changed. The "button.= " prefix + has been removed. If you have your custom skin, please rename your files.=
  • +
  • A new plugin is available in the package: "Placeholders". + In this way you can insert non editable tags in your document to be proce= ssed on + server side (very specific usage).
  • +
  • The ASPX files are no longer available in this package. They have been= moved to + the FCKeditor.Net package. In this way the ASP.Net integration is much be= tter organized. +
  • +
  • The FCKeditor.Packager program is now part of the main package. It is = not anymore distributed + separately.
  • +
  • The PHP connector now sets the uploaded file permissions (chmod) = to 0777.
  • +
  • [SF + Patch-1090215] It's now possible to give back more info from your cus= tom image + browser calling the SetUrl( url [, width] [, height] [, alt] ). Thanks to= Ben Noblet. +
  • +
  • The package files now maintain their original "Last Modified"= ; date, so + incremental FTP uploads can be used to update to new versions of the= editor + (from now on).
  • +
  • The "Source" view now forces its contents to be written in &= quot;Left + to Right" direction even when the editor interface language is runni= ng a RTL + language (like Arabic, Hebrew or Persian).
  • +
+

+ Fixed Bugs:

+
    +
  • [SF + BUG-1124220] [SF + BUG-1119894] [SF + BUG-1090986] [SF + BUG-1100408] The editor now works correctly when starting with an + empty value and switching to the Source mode.
  • +
  • [SF + BUG-1119380] [SF + BUG-1115750] [SF + BUG-1101808] The problem with the scrollbar and the toolbar combos = (Style, + Font, etc...) over Mac has been fixed.
  • +
  • [SF + BUG-1098460] [SF + BUG-1076544] [SF + BUG-1077845] [SF + BUG-1092395] A new upload class has been included for the ASP File + Manager Connector. It uses the "ADODB.Stream" object. Many than= ks to "NetRube". +
  • +
  • I small correction has been made to the ColdFusion integration files. = Thanks to + Hendrik Kramer.
  • +
  • There was a very specific problem when the editor was running over a F= RAME executed + on another domain.
  • +
  • The performance problem on Gecko while typing quickly has been so= lved.
  • +
  • The <br type=3D "_moz">is not anymore shown on XHTML s= ource.
  • +
  • It has been introduced a mechanism to avoid automatic contents duplica= tion on very + specific occasions (bad formatted HTML).
  • +
  • [SF + BUG-1146407] [SF + BUG-1145800] [SF + BUG-1118803 ] Other issues in the XHTML processor have been so= lved. +
  • +
  • [SF + BUG-1143969] The editor now accepts the "accept-charset" at= tribute + in the FORM tag (IE specific bug).
  • +
  • [SF + BUG-1122742] [SF + BUG-1089548 ] Now, the contents of the SCRIPT and STYLE tags remain = untouched. +
  • +
  • [SF + BUG-1114748] The PHP File Manager Connector now sets the new folders = permissions + (chmod) to 0777 correctly.
  • +
  • The PHP File Manager Connector now has a configuration file (editor/fi= lemanager/browser/default/connectors/php/config.php) + to set some security preferences.
  • +
  • The ASP File Manager Connector now has a configuration file (edit= or/filemanager/browser/default/connectors/asp/config.asp) + to set some security preferences.
  • +
  • A small bug in the toolbar rendering (strips auto position) has been c= orrected. +
  • +
  • [SF + BUG-1093732] [SF + BUG-1091377] [SF + BUG-1083044] [SF + BUG-1096307] The configurations are now encoded so a user can use + values that has special chars (&=3D/).
  • +
  • [SF + BUG-1103688] [SF + BUG-1092331] [SF + BUG-1088220] PHP samples now use PHP_SELF to automatically discover + the editor's base path.
  • +
  • Some small wrapping problems with some labels in the Image and Table d= ialog windows + have been fixed.
  • +
  • All .js files are now encoded in UTF-8 format with the BOM (byte order= mask) to + avoid some errors on specific Linux installations.
  • +
  • [SF + BUG-1114449] The editor packager program has been modified so now it = is possible + to use the source files to run the editor as described in the documentati= on. The + new packager must be downloaded.
  • +
  • A small problem with the editor focus while in source mode h= as been corrected. + Thanks to Eric (ric1607).
  • +
  • [SF + BUG-1108167] [SF + BUG-1085149] [SF + BUG-1151296] [SF + BUG-1082433] No more IFRAMEs without src attribute. Now it points + to a blank page located in the editor's package. In this way we avoid sec= urity warnings + when using the editor over HTTPS. Thanks to Guillermo Bozovich.
  • +
  • [SF + BUG-1117779] The editor now works well if you have more than one elem= ent named + "submit" on its form (even if it is not correct to have th= is situation). +
  • +
  • The XHTML processor was duplicating the text on some specific situatio= n. It has + been fixed.
  • +
  • [SF + Patch-1090213] [SF + Patch-1098929] With ASP, the editor now works correctly on pages usi= ng "Option + Explicit". Thanks to Ben Noblet.
  • +
  • [SF + BUG-1100759] [SF + BUG-1029125] [SF + BUG-966130] The editor was not working with old IE 5.5 browsers. Th= ere + was a problem with the XML parser. It has been fixed.
  • +
  • The localization engine is now working correctly over IE 5.5 browsers.=
  • +
  • Some commands where not working well over IE 5.5 (emoticons, image,...= ). It has + been fixed.
  • +
  • [SF + BUG-1146441] [SF + BUG-1149777] The editor now uses the TEXTAREA id in the Replace= Textarea + function. If the id is now found, it uses the "name". The docs = have been + updated.
  • +
  • [SF + BUG-1144297] Some corrections have been made to the Dutch language fi= le. Thanks + to Erwin Dondorp.
  • +
  • [SF + BUG-1121365] [SF + BUG-1090102] [SF + BUG-1152171] [SF + BUG-1102907] There is no problem now to start the editor with valu= es + like "<div></div>" or "<p></p>&quo= t;.
  • +
  • [SF + BUG-1114059] [SF + BUG-1041861] The click on the disabled options in the Context Menu h= as no + effects now.
  • +
  • [SF + BUG-1152617] [SF + BUG-1102441] [SF + BUG-1095312] Some problems when setting the editor source to very s= pecific + values has been fixed.
  • +
  • [SF + BUG-1093514] [SF + BUG-1089204] [SF + BUG-1077609] The editor now runs correctly if called directly (loca= lly) without + a server installation (just opening the HTML sample files).
  • +
  • [SF + BUG-1088248] The editor now uses a different method to load its conte= nts. In + this way the URLs remain untouched.
  • +
  • The PHP integration file now detects Internet Explorer 5.5 correctly.<= /li> +
+

+ Version 2.0 RC2 (Release Candidate 2)

+
    +
  • [SF + Feature-1042034] [SF + Feature-1075961] [SF + Feature-1083200] A new dialog window for the table cell pro= perties + is now available (right-click).
  • +
  • [SF + Feature-1042034] The new "Split Cell ", to= split + a table cell in two columns, has been introduced (right-click).
  • +
  • [SF + Feature-1042034] The new "Merge Cells", to= merge + table cells (in the same row), has been introduced (right-click).
  • +
  • The "fake" TAB key support (available by de= fault over + Gecko browsers is now available over IE too. You can set the number of sp= aces to + add setting the FCKConfig.TabSpaces configuration setting. Set it to 0 (z= ero) to + disable this feature (IE).
  • +
  • It now possible to tell IE to send a <BR> when = the user presses + the Enter key. Take a look at the FCKConfig.UseBROnCarri= ageReturn + configuration setting.
  • +
  • [SF + Feature-1085422] ColdFusion: The File Manage= r connector + is now available! (Thanks to Hendrik Kramer).
  • +
  • The editor is now available in 29 languages! The new = language files + available are:  +
      +
    • [SF + Feature-1067775] Chinese Simplified and Traditional (Taiwan + and Hong Kong) (by NetRube).
    • +
    • Czech (by David Horák).
    • +
    • Danish (by Jesper Michelsen).
    • +
    • Dutch (by Bram Crins).
    • +
    • German (by Maik Unruh).
    • +
    • Portuguese (Portugal) (by Francisco Pereira).
    • +
    • Russian (by Andrey Grebnev).
    • +
    • Slovenian (by Boris Volaric).
    • +
    +
  • +
  • Updates to the French language files (by Hubert Garri= do).
  • +
  • [SF + BUG-1085816] [SF + BUG-1083743] [SF + BUG-1078783] [SF + BUG-1077861] [SF + BUG-1037404] Many small bugs in the XHTML processor + has been corrected (workarounds to browser specific bugs). These are some= things + to consider regarding the changes: +
      +
    • [SF + BUG-1083744] On Gecko browsers, any element attribute that the name= starts with + "_moz" will be ignored.
    • +
    • [SF + BUG-1060073] The <STYLE> and <SCRIPT> elements contents= will be + handled as is, without CDATA tag surrounding. This may break XHTML vali= dation. In + any case the use of external files for scripts and styles is recommende= d (W3C recommendation).
    • +
    +
  • +
  • [SF + BUG-1088310] [SF + BUG-1078837] [SF + BUG-999792] URLs now remain untouched when initializing the editor = or + switching from WYSYWYG to Source and vice versa.
  • +
  • [SF + BUG-1082323] The problem in the ASP and PHP connectors when hand= ling non + "strange" chars in file names has been corrected.
  • +
  • [SF + BUG-1085034] [SF + BUG-1076796] Some bugs in the PHP connector have been corrected. +
  • A problem with the "Format" command on IE browsers on l= anguages different + of English has been solved. The negative side of this correction is that = due to + a IE bad design it is not possible to update the "Format" combo= while + moving throw the text (context sensitive).
  • +
  • On Gecko browsers, when selecting an image and executing the "New= Page" + command, the image handles still appear, even if the image is not availab= le anymore + (this is a Gecko bug). When clicking in a "phanton" randle= , the browser + crashes. It doesn't happen (the crash) anymore.
  • +
  • [SF + BUG-1082197] On ASP, the bug in the browser detection system for Geck= o browsers + has been corrected. Thanks to Alex Varga.
  • +
  • Again on ASP, the browser detection for IE had some problems on server= s that use + comma for decimal separators on numbers. It has been corrected. Thanks to= Agrotic. +
  • +
  • No error is thrown now when non existing language is configu= red in the + editor. The English language file is loaded in that case.
  • +
  • [SF + BUG-1077747] The missing images on the Office2003 and Silver skins ar= e now included + in the package.
  • +
  • On some Gecko browsers, the dialog window was not loading correctly. I= couldn't + reproduce the problem, but a fix has been applied based on users tests. <= /li> +
  • [SF + BUG-1004078] ColdFusion: The "config" structure/hash table = with keys + and values is in ColdFusion not(!) case sensitive. All keys returned by C= oldFusion + are in upper case format. Because the FCKeditor configuration keys must b= e case + sensitive, we had to match all structure/hash keys with a list of the cor= rect configuration + names in mixed case. This has been added to the fckeditor.cfc and fckedit= or.cfm. +
  • +
  • [SF + BUG-1075166] ColdFusion: The "fallback" variant of the text= editor + (<textarea>) has a bug in the fckeditor.cfm. This has been fixed. <= /li> +
  • A typo in the Polish language file has been corrected. Thanks to Pawel= Tomicki. +
  • +
  • [SF + BUG-1086370] A small coding type in the Link dialog window has been c= orrected. +
  • +
+

+ Version 2.0 RC1 (Release Candidate 1)

+
    +
  • ASP support is now available (including the File= Manager connector). +
  • +
  • PHP support is now available (including the File Mana= ger connector). +
  • +
  • [SF + Feature-1063217] The new advanced Style command= is available + in the toolbar: full preview, context sensitive, style definitions are lo= aded from + a XML file (see documentation for more instructions).
  • +
  • The Font Format, Font Name and Font Size + toolbar command now show a preview of the available opti= ons.
  • +
  • The new Find and Replace features ha= s been introduced. +
  • +
  • A new Plug-in system has been developed. Now it is qu= ite easy to + customize the editor to your needs. (Take a look at the html/sample06.htm= l file). +
  • +
  • The editor now handles HTML entities in the right way= (XHTML support + must be set to "true"). It handles all entities defined in the = W3C XHTML + DTD file.
  • +
  • A new "_docs" folder has been introduced for the doc= umentation. + It is not yet complete, but I hope the community will help us to fill it = better. +
  • +
  • It is now possible (even if it is not recommended by the W3C) to force= the use of + simple ampersands (&) on attributes (like the links href) instead of = its entity + &amp;. Just set FCKConfig.ForceSimpleAmpersand =3D true in the c= onfiguration + file.
  • +
  • [SF + Feature-1026866] The "EditorAreaCSS" confi= guration + option has been introduced. In this way you can set the CSS to use in the= editor + (editable area).
  • +
  • The editing area is not anymore clipped if the toolbar is too large an= d exceeds + the window width.
  • +
  • [SF + BUG-1064902] [SF + BUG-1033933] The editor interface is now completely= localizable. + The version ships with 19 languages including: Arabic, Bosnian<= /b>, Catalan, + English, Spanish, Estonian, Finnish, Frenc= h, + Greek, Hebrew, Croatian, Italian, Korean, Lithuanian, + Norwegian, Polish, Serbian (Cyrillic), + Serbian (Latin) and Swedish.
  • +
  • [SF + BUG-1027858] Firefox 1.0 PR introduced a bug that made the = editor + stop working on it. A workaround has been developed to fix the problem. <= /li> +
  • There was a positioning problem over IE with the color panel. It = has been corrected. +
  • +
  • [SF + BUG-1049842] [SF + BUG-1033832] [SF + BUG-1028623] [SF + BUG-1026610] [SF + BUG-1064498] The combo commands in the toolbar were not opening + in the right way. It has been fixed.
  • +
  • [SF + BUG-1053399] [SF + BUG-965318] [SF + BUG-1018296] The toolbar buttons icons were not showing on some IE = and + Firefox/Mac installations. It has been fixed.
  • +
  • [SF + BUG-1054621] Color pickers are now working with the "office2003&= quot; and + "silver" skins.
  • +
  • [SF + BUG-1054108] IE doesn’t recognize the "&apos;" en= tity for + apostrophes, so a workaround has been developed to replace it with "= &#39;" + (its numeric entity representation).
  • +
  • [SF + BUG-983434] [SF + BUG-983398] [SF + BUG-1028103] [SF + BUG-1072496] The problem with elements with name "submit" + inside the editor's form has been solved.
  • +
  • [SF + BUG-1018743] The problem with Gecko when collapsing the toolbar while= in source + mode has been fixed.
  • +
  • [SF + BUG-1065268] [SF + BUG-1034354] The XHTML processor now doesn’t use the minimized= tag + syntax (like <br/>) for empty elements that are not marked as EMPTY= in the + W3C XHTML DTD specifications.
  • +
  • [SF + BUG-1029654] [SF + BUG-1046500] Due to a bug on Gecko there was a problem when creating= links. + It has been fixed.
  • +
  • [SF + BUG-1065973] [SF + BUG-999792] The editor now handles relative URLs in IE. In effect IE= transform + all relative URLs to absolute links, pointing to the site the editor is r= unning. + So now the editor removes the protocol and host part of the link if it ma= tches the + running server.
  • +
  • [SF + BUG-1071824] The color dialog box bug has been fixed.
  • +
  • [SF + BUG-1052856] [SF + BUG-1046493] [SF + BUG-1023530] [SF + BUG-1025978] The editor now doesn’t throw an error if no sel= ection + was made and the create link command is used.
  • +
  • [SF + BUG-1036756] The XHTML processor has been reviewed.
  • +
  • [SF + BUG-1029101] The Paste from Word feature is working correctly.
  • +
  • [SF + BUG-1034623] There is an IE bug when setting the editor value to &quo= t;<p><hr></p>". + A workaround has been developed.
  • +
  • [SF + BUG-1052695] There are some rendering differences between Netscape an= d Mozilla. + (Actually that is a bug on both browsers). A workaround has been develope= d to solve + it.
  • +
  • [SF + BUG-1073053] [SF + BUG-1050394] The editor doesn’t throw errors when hidden.
  • +
  • [SF + BUG-1066321] Scrollbars should not appear on dialog boxes (at least f= or the + Image and Link ones).
  • +
  • [SF + BUG-1046490] Dialogs now are forced to show on foreground over Mac. <= /li> +
  • [SF + BUG-1073955] A small bug in the image dialog window has been correcte= d.
  • +
  • [SF + BUG-1049534] The Resources Browser window is now working well over Ge= cko browsers. +
  • +
  • [SF + BUG-1036675] The Resources Browser window now displays the server err= or on bad + installations.
  • +
+

+ Version 2.0 Beta 2

+
    +
  • There is a new configuration - "GeckoUseSPAN&quo= t; - that + can be used to tell Gecko browsers to use <SPAN style...> or <B&= gt;, <I> + and <U> for the bold, italic and underline commands.
  • +
  • [SF + Feature-1002622] New Text Color and Bac= kground Color +  commands have been added to the editor.
  • +
  • On Gecko browsers, a message is shown when, because of secur= ity settings, the + user is not able to cut, copy or paste data from the clipboard = using the + toolbar buttons or the context menu.
  • +
  • The new "Paste as Plain Text " command has = been introduced. +
  • +
  • The new "Paste from Word " command has been= introduced. +
  • +
  • A new configuration named "StartupFocus" can be used to= tell the + editor to get the focus when the page is loaded.
  • +
  • All Java integration files has been moved to a new se= parated package. +
  • +
  • [SF + BUG-1016781] Table operations are now working when r= ight click + inside a table. The following commands has been introduced: Inser= t Row, + Delete Row, Insert Column, Dele= te Column, + Insert Cell and Delete Cells .
  • +
  • [SF + BUG-965067] [SF + BUG-1010379] [SF + BUG-977713] XHTML support was not working with FireFox, blocking the + editor when submitting data. It has been fixed.
  • +
  • [SF + BUG-1007547 ] [SF + BUG-974595 ] The "FCKLang not defined" error when loa= ding + has been fixed.
  • +
  • [SF + BUG-1021028] If the editor doesn't have the focus, some commands were= been executed + outside the editor in the place where the focus is. It has been fixed. +
  • [SF + BUG-981191] We are now using <!--- ---> for ColdFusion comments= .
  • +
+

+ Version 2.0 Beta 1

+

+ This is the first beta of the 2.x series. It brings a lot of new and impor= tant things. + Beta versions will be released until all features available on version 1.x= will + be introduced in the 2.0.
+
+ Note: As it is a beta, it is not yet completely developed= . Future + versions can bring new features that can break backward compatibility with= this + version. +

+
    +
  • Gecko browsers (Mozilla and Netscape= ) support. +
  • +
  • Quick startup response times.
  • +
  • Complete XHTML 1.0 support.
  • +
  • Advanced link dialog box: +
      +
    • Target selection.
    • +
    • Popup configurator.
    • +
    • E-Mail link.
    • +
    • Anchor selector.
    • +
    +
  • +
  • New File Manager.
  • +
  • New dialog box system, with tabbed dialogs support. <= /li> +
  • New context menus with icons.
  • +
  • New toolbar with "expand/collapse" feature.
  • +
  • Skins support.
  • +
  • Right to left languages support.
  • +
+

+ Version 1.6.1

+
    +
  • [SF + BUG-862364] [SF + BUG-812733] There was a problem when the user tried to delete the la= st row, + collumn or cell in a table. It has been corrected.*
  • +
  • New Estonian language file. Thanks to Kristjan Kivikangur
  • +
  • New Croatian language file. Thanks to Alex Varga.
  • +
  • Updated language file for Czech. Thanks to Plachow.
  • +
  • Updated language file for Chineze (zh-cn). Thanks to Yanglin.
  • +
  • Updated language file for Catalan. Thanks to Jordi Cerdan.
  • +
+

+ * This version has been partially sponsored by Genuitec, + LLC.

+

+ Version 1.6

+
    +
  • Context Menu support for form elemen= ts.*
  • +
  • New "Selection Field" command with advanced= dialog box + for options definitions.*
  • +
  • New "Image Button" command is available.* <= /li> +
  • [SF + Feature-936196] Many form elements bugs has been fixed and + many improvements has been done.*
  • +
  • New Java Integration Module. There is a complete Java= API and Tag + Library implementations. Take a look at the _jsp directory. Thanks to Sim= one Chiaretta + and Hao Jiang.
  • +
  • The Word Spell Checker can be used. To be able to run= it, your + browser security configuration "Initialize and script ActiveX contro= ls not + marked as safe" must be set to "Enable" or "Prompt&qu= ot;. And + easier and more secure way to do that is to add your site in the list of = trusted + sites. IeSpell can still be used. Take a look at the fck_config.js file f= or some + configuration options. Thanks to EdwardRF.
  • +
  • [SF + Feature-748807] [SF + Feature-801030] [SF + Feature-880684] New "Anchor" command, in= cluding + context menu support. Thanks to G.Meijer.
  • +
  • Special characters are replaced with their decimal HTML entities when = the XHMTL + support is enabled (only over IE5.5+).
  • +
  • New Office 2003 Style toolbar icons are available. Ju= st uncomment + the config.ToolbarImagesPath key in the fck_config.js file. Thanks to Abd= ul-Aziz + A. Al-Oraij. Attention: the default toolbar items have b= een moved + to the "images/toolbar/default" directory.
  • +
  • [SF + Patch-934566] Double click support for Images, Table= s, Links, + Anchors and all Form elements. Thanks to Top Man.
  • +
  • New "New Page" command to start a typing fr= om scratch. + Thanks to Abdul-Aziz A. Al-Oraij.
  • +
  • New "Replace" command. Thanks to Abdul-Aziz= A. Al-Oraij. +
  • +
  • New "Advanced Font Style" command. Thanks t= o Abdul-Aziz + A. Al-Oraij.
  • +
  • [SF + Feature-738193] New "Save" command. It can= be used + to simulate a save action, but in fact it just submits the form where the= editor + is placed in. Thanks to Abdul-Aziz A. Al-Oraij.
  • +
  • New "Universal Keyboard" command. This 22 c= harsets are + available: Arabic, Belarusian, Bulgarian, Croatian, Czech, Danish, Finnis= h, French, + Greek, Hebrew, Hungarian, Diacritical, Macedonian, Norwegian, Polish, Rus= sian, Serbian + (Cyrillic), Serbian (Latin), Slovak, Spanish, Ukrainian and Vietnamese. I= ncludes + a keystroke listener to type Arabic on none Arabic OS or machine. Thanks = to Abdul-Aziz + A. Al-Oraij.
  • +
  • [SF + Patch-935358] New "Preview" command. Conte= xt menu + option is included and can be deactivated throw the config.ShowPreviewCon= textMenu + configuration. Thanks to Ben Ramsey.
  • +
  • New "Table Auto Format" context menu comman= d. Hack a + little the fck_config.js and the fck_editorarea.css files. Thanks to Alex= andros + Lezos.
  • +
  • New "Bulleted List Properties " context men= u to define + its type and class. Thanks to Alexandros Lezos.
  • +
  • The image dialog box has been a redesigned . Thanks + to Mark Fierling.
  • +
  • Images now always have the "alt" attribute = set, even + when it's value is empty. Thanks to Andreas Barnet.
  • +
  • [SF + Patch-942250] You can set on fck_config.js to automatically c= lean Word + pasting operations without a user confirmation.
  • +
  • Forms element dialogs and other localization pending labels has been u= pdated.
  • +
  • A new Lithuanian language file is available. Thanks t= o Tauras Paliulis. +
  • +
  • A new Hebrew language file is available. Thanks to Op= hir Radnitz. +
  • +
  • A new Serbian language file is available. Thanks to Z= oran Subic. +
  • +
  • Danish language file updates. Thanks to Flemming Jens= en.
  • +
  • Catalan language file updates. Thanks to Jordi Cerdan= .
  • +
  • [SF + Patch-936514] [SF + BUG-918716] [SF + BUG-931037] [SF + BUG-865864] [SF + BUG-915410] [SF + BUG-918716] Some languages files were not + saved on UTF-8 format causing some javascript errors on = loading + the editor or making "undefined" to show on editor labels. This= problem + was solved.
  • +
  • Updates on the testsubmit.php file. Thanks to Geat and Gabriel Schilla= ci
  • +
  • [SF + BUG-924620] There was a problem when setting a name to an editor inst= ance when + the name is used by another tag. For example when using "description= " + as the name in a page with the <META name=3D"description">= ; tag.
  • +
  • [SF + BUG-935018] The "buletted" typo has been corrected.
  • +
  • [SF + BUG-902122] Wrong css and js file references have been corrected. +
  • [SF + BUG-918942] All dialog boxes now accept Enter and Escape keys as Ok a= nd Cancel + buttons.
  • +
+

+ * This version has been partially sponsored by Genuitec, + LLC.

+

+ Version 1.5

+
    +
  • [SF + Feature-913777] New Form Commands are now available!= Special + thanks to G.Meijer.
  • +
  • [SF + Feature-861149] Print Command is now available!
  • +
  • [SF + BUG-743546] The XHTML content duplication problem ha= s been + solved . Thanks to Paul Hutchison.
  • +
  • [SF + BUG-875853] The image dialog box now gives precedenc= e for width + and height values set as styles. In this way a user can change the size o= f the image + directly inside the editor and the changes will be reflected in the dialo= g box. +
  • +
  • [SF + Feature-788368] The sample file upload manager for A= SPX now + uses guids for the file name generation. In this way a s= upport + XML file is not needed anymore.
  • +
  • It's possible now to programmatically change the Base Path of the + editor if it's installed in a directory different of "/FCKeditor/&qu= ot;. Something + like this:
    + oFCKeditor.BasePath =3D '/FCKeditor/' ;
    + Take a look at the _test directory for samples.
  • +
  • There was a little bug in the TAB feature that moved the insertion poi= nt if there + were any object (images, tables) in the content. It has been fixed.
  • +
  • The problem with accented and international characters on the PHP + test page was solved.
  • +
  • A new Chinese (Taiwan) language file is available. Th= anks to Nil. +
  • +
  • A new Slovenian language file is available. Thanks to= Pavel Rotar. +
  • +
  • A new Catalan language file is available. Thanks to J= ordi Cerdan. +
  • +
  • A new Arabic language file is available. Thanks to Ab= dul-Aziz A. + Al-Oraij.
  • +
  • Small corrections on the Norwegian language file. +
  • A Java version for the test results (testsubmit.jsp) is now available.= Thanks to + Pritpal Dhaliwal.
  • +
  • When using JavaScript to create a editor instance it's possible now to= easily get + the editor's value calling oFCKeditor.GetValue() (eg.). Better JavaScript= API interfaces + will be available on version 2.0.
  • +
  • If XHTML is enabled the editor cleans the HTML before= showing it + on the Source View, so the exact result can be viewed by the user. This o= ption can + be activated setting config.EnableSourceXHTML =3D true in the fck_config.= js file. +
  • +
  • The JS integration object now escapes all configurati= on settings, + in this way a user can use reserved chars on it. For exa= mple: +
    + oFCKeditor.Config["ImageBrowserURL"] =3D '/imgs/browse.asp?filt= er=3Dabc*.jpg&userid=3D1'; +
  • +
  • A minimal browse server sample is now available in ASP. Thanks to Andr= eas Barnet. +
  • +
+

+ Version 1.4

+
    +
  • ATTENTION: For PHP users: The editor was changed and = now uses + htmlspecialchars instead of htmlentities when h= andling + the initial value. It should works well, but please make some tests befor= e upgrading + definitively. If there is any problem just uncomment the line in the fcke= ditor.php + file (and send me a message!).
  • +
  • The editor is now integrated with ieSpell (http://www.iespell.com) + for Spell Checking. You can configure the download URL i= n then + fck_config.js file. Thanks to Sanjay Sharma. (ieSpell is free for persona= l use but + must be paid for commercial use)
  • +
  • Table and table cell dialogs has bee= n changed. + Now you can select the class you want to be applied. Tha= nks to + Alexander Lezos.
  • +
  • [SF + Feature-865378]A new upload support is available for ASP. It + uses the /UserImages/ folder in the root of the web site as the files con= tainer + and a counter controlled by the upload.cnt file. Both must have write per= missions + set to the IUSR_xxx user. Thanks to Trax and Juanjo.
  • +
  • [SF + Patch-798128] The user (programmer) can now define a custom s= eparator + for the list items of a combo in the toolbar. Thanks to Wulff D. Heiss. <= /li> +
  • [SF + Feature-741963][SF + Feature-878941][SF + Patch-869389] A minimal support for a “fake” TA= B is now available, + even if HTML has no support for TAB. Now when the user presses the TAB ke= y a configurable + number of spaces (&nbsp;) is added. Take a look at config.TabSpaces o= n the fck_config.js + file. No action is performed if it is set to zero. The default value is 4= . Thanks + to Phil Hassey.
  • +
  • [SF + BUG-782779][SF + BUG-790939] The problem with big images has been corrected. Thanks t= o Raver. +
  • +
  • [SF + BUG-862975] Now the editor does nothing if no image is selected in th= e image + dialog box and the OK button is hit.
  • +
  • [SF + BUG-851609] The problem with ASP and null values has been solved. +
  • Norwegean language pack. Thanks to Martin Kronstad. <= /li> +
  • Hungarian language pack. Thanks to Balázs Szab= ó. +
  • +
  • Bosnian language pack. Thanks to Trax.
  • +
  • Japanese language pack. Thanks to Kato Yuichiro.
  • +
  • Updates on the Polish language pack. Thanks to Norber= t Neubauer. +
  • +
  • The Chinese (Taiwan) (zh-tw) has been removed from th= e package + because it's corrupt. I'm sorry. I hope someone could send me a good vers= ion soon. +
  • +
+

+ Version 1.3.1

+
    +
  • It's now possible to configure the editor the insert a <BR&= gt; tag instead + of <P> when the user presses the <Enter> key. + Take a look at the fck_config.js configuration file for the "UseBROnCarriageReturn" + key. This option is disabled by default.
  • +
  • Icelandic language pack. Thanks to Andri Óskar= sson.
  • +
  • [SF + BUG-853374] On IE 5.0 there was a little error introduced with versio= n 1.3 on + initialization. It was corrected.
  • +
  • [SF + BUG-853372] On IE 5.0 there was a little error introduced with versio= n 1.3 when + setting the focus in the editor. It was corrected.
  • +
  • Minor errors on the language file for english has bee= n corrected. + Thanks to Anders Madsen.
  • +
  • Minor errors on the language file for danish has been= corrected. + Thanks to Martin Johansen.
  • +
+

+ Version 1.3

+
    +
  • Language support for Danish, Polish, Simple Chinese, Slovak, S= wedish and + Turkish.
  • +
  • Language updates for Romanian.
  • +
  • It's now possible to override any of the edit= or's configurations + (for now it's implemented just for JavaScript, ASPX and HTC modules). See= _test/test.html + for a sample. I'm now waiting for the Community for the ASP, CFM and PHP = versions. +
  • +
  • A new method is available for PHP users. It's called = ReturnFCKeditor. + It works exactly like CreateFCKeditor, but it returns a string wi= th the HTML + for the editor instead of output it (echo). This feature is useful for pe= ople who + are working with Smarty Templates or something like that. Thanks to Timot= hy J. Finucane. +
  • +
  • Many people have had problems with international characters over + PHP. I had also the same problem. PHP have strange probl= ems with + character encoding. The code hasn't been changed but just saved again wit= h Western + European encoding. Now it works well in my system.
    + Take a look also at the "default_charset" configuration option = at the + php.ini file. It doesn't seem to be an editor's problem but a PHP issue. =
  • +
  • The "testsubmit.php" file now strips the &q= uot;Magic + Quotes " that are automatically added by PHP on form posts.=
  • +
  • A new language integration module is available for ASP/Jscript. + Thanks to Dimiter Naydenov.
  • +
  • New configuration options are available to cu= stomize the + Target combo box in the Insert/Modify Link dial= og box. + Now you can hide it, or set which options are available in the combo box.= Take a + look at the fck_config.js file.
  • +
  • The Text as Plain Text toolbar icon = has been changed + to avoid confusion with the Normal Paste or. Thanks to K= aupo Kalda. +
  • +
  • The file dhtmled.cab has been removed from the packag= e. It's not + needed to the editor to work and caused some confusion for a few users. <= /li> +
  • The editor's content now doesn't loose the fo= cus + when the user clicks with the mouse in a toolbar button.
  • +
  • On drag-and-drop operations the data to be inserted i= n the editor + is now converted to plain text when the "Fo= rcePasteAsPlainText" + configuration is set to true.
  • +
  • The image browser sample in PHP now sorts the= files + by name. Thanks to Sergey Lupashko.
  • +
  • Two new configuration options are available to turn on/off + by default the "Show Borders" and &qu= ot;Show + Details" commands.
  • +
  • Some characters have been removed from the "Insert + Special Chars" dialog box because they were causing encodin= g problems + in some languages. Thanks to Abomb Hua.
  • +
  • JSP versions of the image and file upload and= browsing + features. Thanks to Simone Chiaretta.
  • +
+

+ Version 1.2.4

+
    +
  • Language support for Spanish, Finnish, Romanian and Korean.
  • +
  • Language updates for German.
  • +
  • New Zoom toolbar option. (Thanks + to "mtn_roadie")
  • +
+

+ Version 1.2.2

+
    +
  • Language support for French.
  • +
  • [SF + BUG-782779] Version 1.2 introduced a bug on the image dialog window: = when changing + the image, no update was done. This bug is now fixed.
  • +
+

+ Version 1.2

+
    +
  • Enhancements to the Word cleaning feature (Thanks to = Karl von Randow). +
  • +
  • The Table dialog box now handles the Style width and = height set + in the table (Thanks to Roberto Arruda). There where many problems on pri= or version + when people changed manually the table's size, dragging the size handles,= and then + it was not possible to set a new size using the table dialog box.
  • +
  • For the Image dialog box: +
      +
    • No image is shown in the preview pane if no image has been set.
    • +
    • If no HSpace is set in the image a "-1" value was shown in= the dialog + box. Now, nothing is shown if the value is negative.
    • +
    +
  • +
  • [SF + BUG-739630] Image with link lost the link when changing its propertie= s. The + problem is solved.
  • +
  • Due to some problems in the XHTML cleaning (content duplication when t= he source + HTML is dirty and malformed), the XHTML support is turned off by = default + from this version. You can still change this behavior and turn it on in t= he configuration + file.
  • +
  • Some little updates on the English language file. +
  • A few addition of missing entries on all languages files (translations= for these + changes are pending).
  • +
  • Language files has been added for the following languages: +
      +
    • Brazilian Portuguese (pt-br)
    • +
    • Czech (cz)
    • +
    • Dutch (nl)
    • +
    • Russian (ru)
    • +
    • Chinese (Taiwan) (zh-tw)
    • +
    • Greek (gr)
    • +
    • German (de)
    • +
    +
  • +
+

+ Version 1.1

+
    +
  • The "Multi Language" system is now availabl= e. This version + ships with English and Italian versions completed. Other languages will b= e available + soon. The editor automatically detects the client language and sets all l= abels, + tooltips and dialog boxes to it, if available. The auto detection and the= default + language can be set in the fck_config.file.
  • +
  • Two files can now be created to isolate customizations code from the o= riginal source + code of the editor: fckeditor.config.js and fcke= ditor.custom.js. + Create these files in the root folder of your web site, if needed. The fi= rst one + can be used to add or override configurations set on fck_config.js. The s= econd one + is used for custom actions and behaviors.
  • +
  • A problem with relative links and images like "/test/test.doc&quo= t; has been + solved. In prior versions, only with XHTML support enabled, the URL was c= hanged + to something like "http://www.mysite.xxx/test/test.doc" (The do= main was + automatically added). Now the XHTML cleaning procedure gets the URLs exac= tly how + they are defined in the editor’s HTML.
  • +
  • [SF + BUG-742168] Mouse drag and drop from toolbar buttons has been disable= d.
  • +
  • [SF + BUG-768210] HTML entities, like &lt;, were not l= oad correctly. + The problem is solved.
  • +
  • [SF + BUG-748812] The link dialog window doesn't open when the link button = is grayed. +
  • +
+

+ Version 1.0

+
    +
  • Three new options are available in the configuration file to set what = file types + are allowed / denied to be uploaded from the "Insert Link" and = "Insert + Image" dialog boxes.
  • +
  • Upload options, for links and images, are automatically hidden on IE 5= .0 browsers + (it's not compatible).
  • +
  • [SF BUG-734894] Fixed a problem on XHTML cleaning: the value on INPUT = fields were + lost.
  • +
  • [SF BUG-713797] Fixed some image dialog errors when trying to set imag= e properties + when no image is available.
  • +
  • [SF BUG-736414] Developed a workaround for a DHTML control bug when lo= ading in the + editor some HTML started with <p><hr></p>.
  • +
  • [SF BUG-737143] Paste from Word cleaning changed to solve some IE 5.0 = errors. This + feature is still not available over IE 5.0.
  • +
  • [SF BUG-737233] CSS mappings are now OK on the PHP image browser modul= e.
  • +
  • [SF BUG-737495] The image preview in the image dialog box is now worki= ng correctly. +
  • +
  • [SF BUG-737532] The editor automatically switches to WYSIWYG mode when= the form + is posted.
  • +
  • [SF BUG-739571] The editor is now working well over Opera (as for Nets= cape, a TEXTAREA + is shown).
  • +
+

+ Version 1.0 Final Candidate

+
    +
  • A new dialog box for the "Link" command is available. Now yo= u can upload + and browse the server exactly like the image dialog box. It's also possib= le to define + the link title and target window (_blank, _self, _parent and _top). As wi= th the + image dialog box, a sample (and simple) file server browser is available.=
  • +
  • A new configuration option is available to force every paste action to= be handled + as plain text. See "config.ForcePasteAsPlainText" in fck_config= .js.
  • +
  • A new Toolbar button is available: "Paste from Word". It aut= omatically + cleans the clipboard content before pasting (removesWord styles, classes,= xml stuff, + etc...). This command is available for IE 5.5 and more. For IE 5.0 users,= a message + is displayed advising that the text will not be cleaned before pasting. <= /li> +
  • The editor automatically detects Word clipboard data on pasting operat= ions and asks + the user to clean it before pasting. This option is turned on by default = but it + can be configured. See "config.AutoDetectPasteFromWord" in fck_= config.js. +
  • +
  • Table properties are now available in cells' right click context menu.=
  • +
  • It's now possible to edit cells advanced properties from it's right cl= ick context + menu.
  • +
+

+ Version 1.0 Release Candidate 1 (RC1)

+
    +
  • Some performance improvements.
  • +
  • The file dhtmled.cab has been added to the package for clients ho need= s to install + the Microsoft DHTML Editor component.
  • +
  • [SF BUG-713952] The format command options are localized, so it depend= s on the IE + language to work. Until version 0.9.5 it was working only over English IE= browsers. + Now the options are load dynamically on the client using the client's lan= guage. +
  • +
  • [SF BUG-712103] The style command is localized, so it depends on the I= E language + to work. Until version 0.9.5 it was working only over English IE browsers= . Now it + configures itself using the client's language.
  • +
  • [SF BUG-726137] On version 0.9.5, some commands (special chars, image,= emoticons, + ...) remove the next available character before inserting the required co= ntent even + if no selection was made in the editor. Now the editor replaces only the = selected + content (if available).
  • +
+

+ Version 0.9.5 beta

+
    +
  • XHTML support is now available! It can be enabled/disabled in the fck_= config.js + file.
  • +
  • "Show Table Borders" option: show borders for tables with bo= rders size + set to zero.
  • +
  • "Show Details" option: show hidden elements (comments, scrip= ts, paragraphs, + line breaks)
  • +
  • IE behavior integration module. Thanks to Daniel Shryock.
  • +
  • "Find" option: to find text in the document.
  • +
  • More performance enhancements.
  • +
  • New testsubmit.php file. Thansk to Jim Michaels.
  • +
  • Two initial PHP upload manager implementations (not working yet). Than= ks to Frederic + Tyndiuk and Christian Liljedahl.
  • +
  • Initial PHP image browser implementation (not working yet). Thanks to = Frederic Tyndiuk. +
  • +
  • Initial CFM upload manager implementation. Thanks to John Watson.
  • +
+

+ Version 0.9.4 beta

+
    +
  • ColdFusion module integration is now available! Thanks to John Watson.=
  • +
  • "Insert Smiley" toolbar option! Thanks to Fredox. Take a loo= k at fck_config.js + for configuration options.
  • +
  • "Paste as plain text" toolbar option!
  • +
  • Right click support for links (edit / remove).
  • +
  • Buttons now are shown in gray when disabled.
  • +
  • Buttons are shown just when the image is downloaded (no more "red= x" while + waiting for it).
  • +
  • The toolbar background color can be set with a CSS style (see fck_edit= or.css).
  • +
  • Toolbar images have been reviewed: +
      +
    • Now they are transparent.
    • +
    • No more over...gif for every button (so the editor loads quicker). <= /li> +
    • Buttons states are controlled with CSS styles. (see fck_editor.css).=
    • +
    +
  • +
  • Internet Explorer 5.0 compatibility, except for the image uploading po= pup.
  • +
  • Optimizations when loading the editor.
  • +
  • [SF BUG-709544] - Toolbar buttons wait for the images to be downloaded= to start + watching and responding the user actions (turn buttons on/off when the us= er changes + position inside the editor).
  • +
  • JavaScript integration is now Object Oriented. CreateFCKeditor functio= n is not available + anymore. Take a look in test.html.
  • +
  • Two new configuration options, ImageBrowser and ImageUpload, are avail= able to turn + on and off the image upload and image browsing options in the Image dialo= g box. + This options can be hidden for a specific editor instance throw specific = URL parameter + in the editor’s IFRAME (upload=3Dtrue/false&browse=3Dtrue/false= ). All specific + language integration modules handle this option. For sample see the _test= directory. +
  • +
+ + Added: trunk/lutinrss/src/main/webapp/fckeditor/editor/fckdebug.html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lutinrss/src/main/webapp/fckeditor/editor/fckdebug.html = (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/editor/fckdebug.html 2008-05-18 = 11:52:05 UTC (rev 46) @@ -0,0 +1,153 @@ + + + + + FCKeditor Debug Window + + + + + + + + + + + +
+ + + + + +
+ FCKeditor Debug Window +
+
+ +
+ + Added: trunk/lutinrss/src/main/webapp/fckeditor/editor/fckdialog.html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lutinrss/src/main/webapp/fckeditor/editor/fckdialog.html = (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/editor/fckdialog.html 2008-05-18= 11:52:05 UTC (rev 46) @@ -0,0 +1,783 @@ + + + + + + + + + + +
+
+
+ +
+
+
+ + + + + +
  
+
+
+
+
+ + + + + +
  + +   + +
+
+
+
+
+
+
+
+
+
+
+
+
+ + + Added: trunk/lutinrss/src/main/webapp/fckeditor/editor/fckeditor.html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lutinrss/src/main/webapp/fckeditor/editor/fckeditor.html = (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/editor/fckeditor.html 2008-05-18= 11:52:05 UTC (rev 46) @@ -0,0 +1,278 @@ + + + + + FCKeditor + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + +
+ 3D""
+ 3D""
+
+ + Added: trunk/lutinrss/src/main/webapp/fckeditor/editor/fckeditor.original.html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lutinrss/src/main/webapp/fckeditor/editor/fckeditor.original.html = (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/editor/fckeditor.original.html 2= 008-05-18 11:52:05 UTC (rev 46) @@ -0,0 +1,385 @@ +=EF=BB=BF + + + + FCKeditor + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + +
+ 3D""
+ 3D""
+
+ + Added: trunk/lutinrss/src/main/webapp/fckeditor/fckconfig.js =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lutinrss/src/main/webapp/fckeditor/fckconfig.js = (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/fckconfig.js 2008-05-18 11:52:05= UTC (rev 46) @@ -0,0 +1,316 @@ +=EF=BB=BF/* + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * =3D=3D BEGIN LICENSE =3D=3D + * + * Licensed under the terms of any of the following licenses at your + * choice: + * + * - GNU General Public License Version 2 or later (the "GPL") + * http://www.gnu.org/licenses/gpl.html + * + * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") + * http://www.gnu.org/licenses/lgpl.html + * + * - Mozilla Public License Version 1.1 or later (the "MPL") + * http://www.mozilla.org/MPL/MPL-1.1.html + * + * =3D=3D END LICENSE =3D=3D + * + * Editor configuration settings. + * + * Follow this link for more information: + * http://wiki.fckeditor.net/Developer%27s_Guide/Configuration/Configuration= s_Settings + */ + +FCKConfig.CustomConfigurationsPath =3D '' ; + +FCKConfig.EditorAreaCSS =3D FCKConfig.BasePath + 'css/fck_editorarea.css' ; +FCKConfig.EditorAreaStyles =3D '' ; +FCKConfig.ToolbarComboPreviewCSS =3D '' ; + +FCKConfig.DocType =3D '' ; + +FCKConfig.BaseHref =3D '' ; + +FCKConfig.FullPage =3D false ; + +// The following option determines whether the "Show Blocks" feature is enab= led or not at startup. +FCKConfig.StartupShowBlocks =3D false ; + +FCKConfig.Debug =3D false ; +FCKConfig.AllowQueryStringDebug =3D true ; + +FCKConfig.SkinPath =3D FCKConfig.BasePath + 'skins/default/' ; +FCKConfig.SkinEditorCSS =3D '' ; // FCKConfig.SkinPath + "|" ; +FCKConfig.SkinDialogCSS =3D '' ; // FCKConfig.SkinPath + "|" ; + +FCKConfig.PreloadImages =3D [ FCKConfig.SkinPath + 'images/toolbar.start.gif= ', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ; + +FCKConfig.PluginsPath =3D FCKConfig.BasePath + 'plugins/' ; + +// FCKConfig.Plugins.Add( 'autogrow' ) ; +// FCKConfig.Plugins.Add( 'dragresizetable' ); +FCKConfig.AutoGrowMax =3D 400 ; + +// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ; // ASP style server si= de code <%...%> +// FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ; // PHP style server = side code +// FCKConfig.ProtectedSource.Add( /(]+>[\s|\S]*?<\/asp:[^\>]+>)|(]+\/>)/gi ) ; // ASP.Net style tags + +FCKConfig.AutoDetectLanguage =3D true ; +FCKConfig.DefaultLanguage =3D 'en' ; +FCKConfig.ContentLangDirection =3D 'ltr' ; + +FCKConfig.ProcessHTMLEntities =3D true ; +FCKConfig.IncludeLatinEntities =3D true ; +FCKConfig.IncludeGreekEntities =3D true ; + +FCKConfig.ProcessNumericEntities =3D false ; + +FCKConfig.AdditionalNumericEntities =3D '' ; // Single Quote: "'" + +FCKConfig.FillEmptyBlocks =3D true ; + +FCKConfig.FormatSource =3D true ; +FCKConfig.FormatOutput =3D true ; +FCKConfig.FormatIndentator =3D ' ' ; + +FCKConfig.StartupFocus =3D false ; +FCKConfig.ForcePasteAsPlainText =3D false ; +FCKConfig.AutoDetectPasteFromWord =3D true ; // IE only. +FCKConfig.ShowDropDialog =3D true ; +FCKConfig.ForceSimpleAmpersand =3D false ; +FCKConfig.TabSpaces =3D 0 ; +FCKConfig.ShowBorders =3D true ; +FCKConfig.SourcePopup =3D false ; +FCKConfig.ToolbarStartExpanded =3D true ; +FCKConfig.ToolbarCanCollapse =3D true ; +FCKConfig.IgnoreEmptyParagraphValue =3D true ; +FCKConfig.PreserveSessionOnFileBrowser =3D false ; +FCKConfig.FloatingPanelsZIndex =3D 10000 ; +FCKConfig.HtmlEncodeOutput =3D false ; + +FCKConfig.TemplateReplaceAll =3D true ; +FCKConfig.TemplateReplaceCheckbox =3D true ; + +FCKConfig.ToolbarLocation =3D 'In' ; + +FCKConfig.ToolbarSets["Default"] =3D [ + ['Source','DocProps','-','Save','NewPage','Preview','-','Templates'], + ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'], + ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], + ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageB= utton','HiddenField'], + '/', + ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], + ['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote'], + ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], + ['Link','Unlink','Anchor'], + ['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'], + '/', + ['Style','FontFormat','FontName','FontSize'], + ['TextColor','BGColor'], + ['FitWindow','ShowBlocks','-','About'] // No comma for the last row. +] ; + +FCKConfig.ToolbarSets["Basic"] =3D [ + ['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-',= 'About'] +] ; + +FCKConfig.EnterMode =3D 'p' ; // p | div | br +FCKConfig.ShiftEnterMode =3D 'br' ; // p | div | br + +FCKConfig.Keystrokes =3D [ + [ CTRL + 65 /*A*/, true ], + [ CTRL + 67 /*C*/, true ], + [ CTRL + 70 /*F*/, true ], + [ CTRL + 83 /*S*/, true ], + [ CTRL + 84 /*T*/, true ], + [ CTRL + 88 /*X*/, true ], + [ CTRL + 86 /*V*/, 'Paste' ], + [ SHIFT + 45 /*INS*/, 'Paste' ], + [ CTRL + 88 /*X*/, 'Cut' ], + [ SHIFT + 46 /*DEL*/, 'Cut' ], + [ CTRL + 90 /*Z*/, 'Undo' ], + [ CTRL + 89 /*Y*/, 'Redo' ], + [ CTRL + SHIFT + 90 /*Z*/, 'Redo' ], + [ CTRL + 76 /*L*/, 'Link' ], + [ CTRL + 66 /*B*/, 'Bold' ], + [ CTRL + 73 /*I*/, 'Italic' ], + [ CTRL + 85 /*U*/, 'Underline' ], + [ CTRL + SHIFT + 83 /*S*/, 'Save' ], + [ CTRL + ALT + 13 /*ENTER*/, 'FitWindow' ] +] ; + +FCKConfig.ContextMenu =3D ['Generic','Link','Anchor','Image','Flash','Select= ','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Butt= on','BulletedList','NumberedList','Table','Form'] ; +FCKConfig.BrowserContextMenuOnCtrl =3D false ; + +FCKConfig.EnableMoreFontColors =3D true ; +FCKConfig.FontColors =3D '000000,993300,333300,003300,003366,000080,333399,3= 33333,800000,FF6600,808000,808080,008080,0000FF,666699,808080,FF0000,FF9900,9= 9CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,0= 0CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF' ; + +FCKConfig.FontFormats =3D 'p;h1;h2;h3;h4;h5;h6;pre;address;div' ; +FCKConfig.FontNames =3D 'Arial;Comic Sans MS;Courier New;Tahoma;Times New R= oman;Verdana' ; +FCKConfig.FontSizes =3D 'smaller;larger;xx-small;x-small;small;medium;large= ;x-large;xx-large' ; + +FCKConfig.StylesXmlPath =3D FCKConfig.EditorPath + 'fckstyles.xml' ; +FCKConfig.TemplatesXmlPath =3D FCKConfig.EditorPath + 'fcktemplates.xml' ; + +FCKConfig.SpellChecker =3D 'ieSpell' ; // 'ieSpell' | 'SpellerPages' +FCKConfig.IeSpellDownloadUrl =3D 'http://www.iespell.com/download.php' ; +FCKConfig.SpellerPagesServerScript =3D 'server-scripts/spellchecker.php' ; /= / Available extension: .php .cfm .pl +FCKConfig.FirefoxSpellChecker =3D false ; + +FCKConfig.MaxUndoLevels =3D 15 ; + +FCKConfig.DisableObjectResizing =3D false ; +FCKConfig.DisableFFTableHandles =3D true ; + +FCKConfig.LinkDlgHideTarget =3D false ; +FCKConfig.LinkDlgHideAdvanced =3D false ; + +FCKConfig.ImageDlgHideLink =3D false ; +FCKConfig.ImageDlgHideAdvanced =3D false ; + +FCKConfig.FlashDlgHideAdvanced =3D false ; + +FCKConfig.ProtectedTags =3D '' ; + +// This will be applied to the body element of the editor +FCKConfig.BodyId =3D '' ; +FCKConfig.BodyClass =3D '' ; + +FCKConfig.DefaultStyleLabel =3D '' ; +FCKConfig.DefaultFontFormatLabel =3D '' ; +FCKConfig.DefaultFontLabel =3D '' ; +FCKConfig.DefaultFontSizeLabel =3D '' ; + +FCKConfig.DefaultLinkTarget =3D '' ; + +// The option switches between trying to keep the html structure or do the c= hanges so the content looks like it was in Word +FCKConfig.CleanWordKeepsStructure =3D false ; + +// Only inline elements are valid. +FCKConfig.RemoveFormatTags =3D 'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,= small,span,strike,strong,sub,sup,tt,u,var' ; + +// Attributes that will be removed +FCKConfig.RemoveAttributes =3D 'class,style,lang,width,height,align,hspace,v= align' ; + +FCKConfig.CustomStyles =3D +{ + 'Red Title' : { Element : 'h3', Styles : { 'color' : 'Red' } } +}; + +// Do not add, rename or remove styles here. Only apply definition changes. +FCKConfig.CoreStyles =3D +{ + // Basic Inline Styles. + 'Bold' : { Element : 'strong', Overrides : 'b' }, + 'Italic' : { Element : 'em', Overrides : 'i' }, + 'Underline' : { Element : 'u' }, + 'StrikeThrough' : { Element : 'strike' }, + 'Subscript' : { Element : 'sub' }, + 'Superscript' : { Element : 'sup' }, + + // Basic Block Styles (Font Format Combo). + 'p' : { Element : 'p' }, + 'div' : { Element : 'div' }, + 'pre' : { Element : 'pre' }, + 'address' : { Element : 'address' }, + 'h1' : { Element : 'h1' }, + 'h2' : { Element : 'h2' }, + 'h3' : { Element : 'h3' }, + 'h4' : { Element : 'h4' }, + 'h5' : { Element : 'h5' }, + 'h6' : { Element : 'h6' }, + + // Other formatting features. + 'FontFace' : + { + Element : 'span', + Styles : { 'font-family' : '#("Font")' }, + Overrides : [ { Element : 'font', Attributes : { 'face' : null } } ] + }, + + 'Size' : + { + Element : 'span', + Styles : { 'font-size' : '#("Size","fontSize")' }, + Overrides : [ { Element : 'font', Attributes : { 'size' : null } } ] + }, + + 'Color' : + { + Element : 'span', + Styles : { 'color' : '#("Color","color")' }, + Overrides : [ { Element : 'font', Attributes : { 'color' : null } } ] + }, + + 'BackColor' : { Element : 'span', Styles : { 'background-color' : '#("Colo= r","color")' } }, + + 'SelectionHighlight' : { Element : 'span', Styles : { 'background-color' : = 'navy', 'color' : 'white' } } +}; + +// The distance of an indentation step. +FCKConfig.IndentLength =3D 40 ; +FCKConfig.IndentUnit =3D 'px' ; + +// Alternatively, FCKeditor allows the use of CSS classes for block indentat= ion. +// This overrides the IndentLength/IndentUnit settings. +FCKConfig.IndentClasses =3D [] ; + +// [ Left, Center, Right, Justified ] +FCKConfig.JustifyClasses =3D [] ; + +// The following value defines which File Browser connector and Quick Upload +// "uploader" to use. It is valid for the default implementaion and it is he= re +// just to make this configuration file cleaner. +// It is not possible to change this value using an external file or even +// inline when creating the editor instance. In that cases you must set the +// values of LinkBrowserURL, ImageBrowserURL and so on. +// Custom implementations should just ignore it. +var _FileBrowserLanguage =3D 'php' ; // asp | aspx | cfm | lasso | perl | ph= p | py +var _QuickUploadLanguage =3D 'php' ; // asp | aspx | cfm | lasso | perl | ph= p | py + +// Don't care about the following two lines. It just calculates the correct = connector +// extension to use for the default File Browser (Perl uses "cgi"). +var _FileBrowserExtension =3D _FileBrowserLanguage =3D=3D 'perl' ? 'cgi' : _= FileBrowserLanguage ; +var _QuickUploadExtension =3D _QuickUploadLanguage =3D=3D 'perl' ? 'cgi' : _= QuickUploadLanguage ; + +FCKConfig.LinkBrowser =3D true ; +FCKConfig.LinkBrowserURL =3D FCKConfig.BasePath + 'filemanager/browser/defau= lt/browser.html?Connector=3D' + encodeURIComponent( FCKConfig.BasePath + 'fil= emanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserEx= tension ) ; +FCKConfig.LinkBrowserWindowWidth =3D FCKConfig.ScreenWidth * 0.7 ; // 70% +FCKConfig.LinkBrowserWindowHeight =3D FCKConfig.ScreenHeight * 0.7 ; // 70% + +FCKConfig.ImageBrowser =3D true ; +FCKConfig.ImageBrowserURL =3D FCKConfig.BasePath + 'filemanager/browser/defa= ult/browser.html?Type=3DImage&Connector=3D' + encodeURIComponent( FCKConfig.B= asePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + = _FileBrowserExtension ) ; +FCKConfig.ImageBrowserWindowWidth =3D FCKConfig.ScreenWidth * 0.7 ; // 70% ; +FCKConfig.ImageBrowserWindowHeight =3D FCKConfig.ScreenHeight * 0.7 ; // 70%= ; + +FCKConfig.FlashBrowser =3D true ; +FCKConfig.FlashBrowserURL =3D FCKConfig.BasePath + 'filemanager/browser/defa= ult/browser.html?Type=3DFlash&Connector=3D' + encodeURIComponent( FCKConfig.B= asePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + = _FileBrowserExtension ) ; +FCKConfig.FlashBrowserWindowWidth =3D FCKConfig.ScreenWidth * 0.7 ; //70% ; +FCKConfig.FlashBrowserWindowHeight =3D FCKConfig.ScreenHeight * 0.7 ; //70% ; + +FCKConfig.LinkUpload =3D true ; +FCKConfig.LinkUploadURL =3D FCKConfig.BasePath + 'filemanager/connectors/' += _QuickUploadLanguage + '/upload.' + _QuickUploadExtension ; +FCKConfig.LinkUploadAllowedExtensions =3D ".(7z|aiff|asf|avi|bmp|csv|doc|fla= |flv|gif|gz|gzip|jpeg|jpg|mid|mov|mp3|mp4|mpc|mpeg|mpg|ods|odt|pdf|png|ppt|px= d|qt|ram|rar|rm|rmi|rmvb|rtf|sdc|sitd|swf|sxc|sxw|tar|tgz|tif|tiff|txt|vsd|wa= v|wma|wmv|xls|xml|zip)$" ; // empty for all +FCKConfig.LinkUploadDeniedExtensions =3D "" ; // empty for no one + +FCKConfig.ImageUpload =3D true ; +FCKConfig.ImageUploadURL =3D FCKConfig.BasePath + 'filemanager/connectors/' = + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=3DImage'= ; +FCKConfig.ImageUploadAllowedExtensions =3D ".(jpg|gif|jpeg|png|bmp)$" ; // = empty for all +FCKConfig.ImageUploadDeniedExtensions =3D "" ; // empty for no one + +FCKConfig.FlashUpload =3D true ; +FCKConfig.FlashUploadURL =3D FCKConfig.BasePath + 'filemanager/connectors/' = + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=3DFlash'= ; +FCKConfig.FlashUploadAllowedExtensions =3D ".(swf|flv)$" ; // empty for all +FCKConfig.FlashUploadDeniedExtensions =3D "" ; // empty for no one + +FCKConfig.SmileyPath =3D FCKConfig.BasePath + 'images/smiley/msn/' ; +FCKConfig.SmileyImages =3D ['regular_smile.gif','sad_smile.gif','wink_smile.= gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_sm= ile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','a= ngel_smile.gif','shades_smile.gif','devil_smile.gif','cry_smile.gif','lightbu= lb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif','broken_heart.gif','kis= s.gif','envelope.gif'] ; +FCKConfig.SmileyColumns =3D 8 ; +FCKConfig.SmileyWindowWidth =3D 320 ; +FCKConfig.SmileyWindowHeight =3D 210 ; + +FCKConfig.BackgroundBlockerColor =3D '#ffffff' ; +FCKConfig.BackgroundBlockerOpacity =3D 0.50 ; Added: trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.afp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.afp = (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.afp 2008-05-18 11:52:0= 5 UTC (rev 46) @@ -0,0 +1,159 @@ +<% + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * =3D=3D BEGIN LICENSE =3D=3D + * + * Licensed under the terms of any of the following licenses at your + * choice: + * + * - GNU General Public License Version 2 or later (the "GPL") + * http://www.gnu.org/licenses/gpl.html + * + * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") + * http://www.gnu.org/licenses/lgpl.html + * + * - Mozilla Public License Version 1.1 or later (the "MPL") + * http://www.mozilla.org/MPL/MPL-1.1.html + * + * =3D=3D END LICENSE =3D=3D + * + * This is the integration file for Active FoxPro Pages. + * + +DEFINE CLASS goFckeditor AS CONTAINER OLEPUBLIC + + cInstanceName =3D"" + BasePath =3D"" + cWIDTH =3D"" + cHEIGHT =3D"" + ToolbarSet =3D"" + cValue=3D"" + DIMENSION aConfig(10,2) + +&& ----------------------------------------------------------------------- + FUNCTION fckeditor( tcInstanceName ) + LOCAL lnLoop,lnLoop2 + THIS.cInstanceName =3D tcInstanceName + THIS.BasePath =3D '/fckeditor/' + THIS.cWIDTH =3D '100%' + THIS.cHEIGHT =3D '200' + THIS.ToolbarSet =3D 'Default' + THIS.cValue =3D '' + FOR lnLoop=3D1 TO 10 + FOR lnLoop2=3D1 TO 2 + THIS.aConfig(lnLoop,lnLoop2) =3D "" + NEXT + NEXT + RETURN + ENDFUNC + + +&& ----------------------------------------------------------------------- + FUNCTION CREATE() + ? THIS.CreateHtml() + RETURN + ENDFUNC + +&& ----------------------------------------------------------------------- + FUNCTION CreateHtml() + LOCAL html + LOCAL lcLink + + HtmlValue =3D THIS.cValue && HTMLSPECIALCHARS() + + html =3D [] + IF THIS.IsCompatible() + lcLink =3D THIS.BasePath+[editor/fckeditor.html?InstanceName=3D]+THIS.cIn= stanceName + + IF ( !THIS.ToolbarSet =3D=3D '' ) + lcLink =3D lcLink + [&Toolbar=3D]+THIS.ToolbarSet + ENDIF + + && Render the LINKED HIDDEN FIELD. + html =3D html + [] + + && Render the configurations HIDDEN FIELD. + html =3D html + []= +CHR(13)+CHR(10) + + && Render the EDITOR IFRAME. + html =3D html + [] + ELSE + IF ( AT("%", THIS.cWIDTH)=3D0 ) + WidthCSS =3D THIS.cWIDTH + 'px' + ELSE + WidthCSS =3D THIS.cWIDTH + ENDIF + + IF ( AT("%",THIS.cHEIGHT)=3D0 ) + HeightCSS =3D THIS.cHEIGHT + 'px' + ELSE + HeightCSS =3D THIS.cHEIGHT + ENDIF + + html =3D html + [" + + End If + + CreateHtml =3D html + + End Function + + Private Function IsCompatible() + + IsCompatible =3D FCKeditor_IsCompatibleBrowser() + + End Function + + Private Function GetConfigFieldString() + + Dim sParams + + Dim bFirst + bFirst =3D True + + Dim sKey + For Each sKey in oConfig + + If bFirst =3D False Then + sParams =3D sParams & "&" + Else + bFirst =3D False + End If + + sParams =3D sParams & EncodeConfig( sKey ) & "=3D" & EncodeConfig( oConfi= g(sKey) ) + + Next + + GetConfigFieldString =3D sParams + + End Function + + Private Function EncodeConfig( valueToEncode ) + ' The locale of the asp server makes the conversion of a boolean to string= different to "true" or "false" + ' so we must do it manually + If vartype(valueToEncode) =3D vbBoolean then + If valueToEncode=3DTrue Then + EncodeConfig=3D"True" + Else + EncodeConfig=3D"False" + End If + Else + EncodeConfig =3D Replace( valueToEncode, "&", "%26" ) + EncodeConfig =3D Replace( EncodeConfig , "=3D", "%3D" ) + EncodeConfig =3D Replace( EncodeConfig , """", "%22" ) + End if + + End Function + +End Class + + +' A function that can be used to check if the current browser is compatible = with FCKeditor +' without the need to create an instance of the class. +Function FCKeditor_IsCompatibleBrowser() + + + Dim sAgent + sAgent =3D Request.ServerVariables("HTTP_USER_AGENT") + + Dim iVersion + Dim re, Matches + + If InStr(sAgent, "MSIE") > 0 AND InStr(sAgent, "mac") <=3D 0 AND InStr(sAg= ent, "Opera") <=3D 0 Then + iVersion =3D CInt( FCKeditor_ToNumericFormat( Mid(sAgent, InStr(sAgent, "M= SIE") + 5, 3) ) ) + FCKeditor_IsCompatibleBrowser =3D ( iVersion >=3D 5.5 ) + ElseIf InStr(sAgent, "Gecko/") > 0 Then + iVersion =3D CLng( Mid( sAgent, InStr( sAgent, "Gecko/" ) + 6, 8 ) ) + FCKeditor_IsCompatibleBrowser =3D ( iVersion >=3D 20030210 ) + ElseIf InStr(sAgent, "Opera/") > 0 Then + iVersion =3D CSng( FCKeditor_ToNumericFormat( Mid( sAgent, InStr( sAgent, = "Opera/" ) + 6, 4 ) ) ) + FCKeditor_IsCompatibleBrowser =3D ( iVersion >=3D 9.5 ) + ElseIf InStr(sAgent, "AppleWebKit/") > 0 Then + Set re =3D new RegExp + re.IgnoreCase =3D true + re.global =3D false + re.Pattern =3D "AppleWebKit/(\d+)" + Set Matches =3D re.Execute(sAgent) + FCKeditor_IsCompatibleBrowser =3D ( re.Replace(Matches.Item(0).Value, "$1"= ) >=3D 522 ) + Else + FCKeditor_IsCompatibleBrowser =3D False + End If + +End Function + + +' By Agrotic +' On ASP, when converting string to numbers, the number decimal separator is= localized +' so 5.5 will not work on systems were the separator is "," and vice versa. +Private Function FCKeditor_ToNumericFormat( numberStr ) + + If IsNumeric( "5.5" ) Then + FCKeditor_ToNumericFormat =3D Replace( numberStr, ",", ".") + Else + FCKeditor_ToNumericFormat =3D Replace( numberStr, ".", ",") + End If + +End Function + +%> Added: trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.cfc =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.cfc = (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.cfc 2008-05-18 11:52:0= 5 UTC (rev 46) @@ -0,0 +1,232 @@ + + + + + + + + #CreateHtml()# + + + + + + + + + + + + + + + // display the html editor or a plain textarea? + if( isCompatible() ) + return getHtmlEditor(); + else + return getTextArea(); + + + + + + + + var sAgent =3D lCase( cgi.HTTP_USER_AGENT ); + var stResult =3D ""; + var sBrowserVersion =3D ""; + + // do not check if argument "checkBrowser" is false + if( not this.checkBrowser ) + return true; + + return FCKeditor_IsCompatibleBrowser(); + + + + + + + + + + if( Find( "%", this.width ) gt 0) + sWidthCSS =3D this.width; + else + sWidthCSS =3D this.width & "px"; + + if( Find( "%", this.width ) gt 0) + sHeightCSS =3D this.height; + else + sHeightCSS =3D this.height & "px"; + + result =3D "" & chr(13) & chr(10); + + + + + + + + + + // try to fix the basePath, if ending slash is missing + if( len( this.basePath) and right( this.basePath, 1 ) is not "/" ) + this.basePath =3D this.basePath & "/"; + + // construct the url + sURL =3D this.basePath & "editor/fckeditor.html?InstanceName=3D" & this.ins= tanceName; + + // append toolbarset name to the url + if( len( this.toolbarSet ) ) + sURL =3D sURL & "&Toolbar=3D" & this.toolbarSet; + + + + result =3D result & "" & chr(13) & chr(10); + result =3D result & "" & = chr(13) & chr(10); + result =3D result & "" & chr(13) & chr(10); + + + + + + + + + + + + + + /** + * CFML doesn't store casesensitive names for structure keys, but the confi= guration names must be casesensitive for js. + * So we need to find out the correct case for the configuration keys. + * We "fix" this by comparing the caseless configuration keys to a list of = all available configuration options in the correct case. + * changed 20041206 hk@lwd.de (improvements are welcome!) + */ + lConfigKeys =3D lConfigKeys & "CustomConfigurationsPath,EditorAreaCSS,Toolb= arComboPreviewCSS,DocType"; + lConfigKeys =3D lConfigKeys & ",BaseHref,FullPage,Debug,AllowQueryStringDeb= ug,SkinPath"; + lConfigKeys =3D lConfigKeys & ",PreloadImages,PluginsPath,AutoDetectLanguag= e,DefaultLanguage,ContentLangDirection"; + lConfigKeys =3D lConfigKeys & ",ProcessHTMLEntities,IncludeLatinEntities,In= cludeGreekEntities,ProcessNumericEntities,AdditionalNumericEntities"; + lConfigKeys =3D lConfigKeys & ",FillEmptyBlocks,FormatSource,FormatOutput,F= ormatIndentator"; + lConfigKeys =3D lConfigKeys & ",StartupFocus,ForcePasteAsPlainText,AutoDete= ctPasteFromWord,ForceSimpleAmpersand"; + lConfigKeys =3D lConfigKeys & ",TabSpaces,ShowBorders,SourcePopup,ToolbarSt= artExpanded,ToolbarCanCollapse"; + lConfigKeys =3D lConfigKeys & ",IgnoreEmptyParagraphValue,PreserveSessionOn= FileBrowser,FloatingPanelsZIndex,TemplateReplaceAll,TemplateReplaceCheckbox"; + lConfigKeys =3D lConfigKeys & ",ToolbarLocation,ToolbarSets,EnterMode,Shift= EnterMode,Keystrokes"; + lConfigKeys =3D lConfigKeys & ",ContextMenu,BrowserContextMenuOnCtrl,FontCo= lors,FontNames,FontSizes"; + lConfigKeys =3D lConfigKeys & ",FontFormats,StylesXmlPath,TemplatesXmlPath,= SpellChecker,IeSpellDownloadUrl"; + lConfigKeys =3D lConfigKeys & ",SpellerPagesServerScript,FirefoxSpellChecke= r,MaxUndoLevels,DisableObjectResizing,DisableFFTableHandles"; + lConfigKeys =3D lConfigKeys & ",LinkDlgHideTarget,LinkDlgHideAdvanced,Image= DlgHideLink,ImageDlgHideAdvanced,FlashDlgHideAdvanced"; + lConfigKeys =3D lConfigKeys & ",ProtectedTags,BodyId,BodyClass,DefaultLinkT= arget,CleanWordKeepsStructure"; + lConfigKeys =3D lConfigKeys & ",LinkBrowser,LinkBrowserURL,LinkBrowserWindo= wWidth,LinkBrowserWindowHeight,ImageBrowser"; + lConfigKeys =3D lConfigKeys & ",ImageBrowserURL,ImageBrowserWindowWidth,Ima= geBrowserWindowHeight,FlashBrowser,FlashBrowserURL"; + lConfigKeys =3D lConfigKeys & ",FlashBrowserWindowWidth,FlashBrowserWindowH= eight,LinkUpload,LinkUploadURL,LinkUploadWindowWidth"; + lConfigKeys =3D lConfigKeys & ",LinkUploadWindowHeight,LinkUploadAllowedExt= ensions,LinkUploadDeniedExtensions,ImageUpload,ImageUploadURL"; + lConfigKeys =3D lConfigKeys & ",ImageUploadAllowedExtensions,ImageUploadDen= iedExtensions,FlashUpload,FlashUploadURL,FlashUploadAllowedExtensions"; + lConfigKeys =3D lConfigKeys & ",FlashUploadDeniedExtensions,SmileyPath,Smil= eyImages,SmileyColumns,SmileyWindowWidth,SmileyWindowHeight"; + + for( key in this.config ) + { + iPos =3D listFindNoCase( lConfigKeys, key ); + if( iPos GT 0 ) + { + if( len( sParams ) ) + sParams =3D sParams & "&"; + + fieldValue =3D this.config[key]; + fieldName =3D listGetAt( lConfigKeys, iPos ); + + // set all boolean possibilities in CFML to true/false values + if( isBoolean( fieldValue) and fieldValue ) + fieldValue =3D "true"; + else if( isBoolean( fieldValue) ) + fieldValue =3D "false"; + + sParams =3D sParams & HTMLEditFormat( fieldName ) & '=3D' & HTMLEditForma= t( fieldValue ); + } + } + return sParams; + + + + + Added: trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.cfm =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.cfm = (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.cfm 2008-05-18 11:52:0= 5 UTC (rev 46) @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + +if( attributes.checkBrowser ) +{ + isCompatibleBrowser =3D FCKeditor_IsCompatibleBrowser(); +} +else +{ + // If we should not check browser compatibility, assume true + isCompatibleBrowser =3D true; +} + + + + + + + + // try to fix the basePath, if ending slash is missing + if( len( attributes.basePath) and right( attributes.basePath, 1 ) is not "= /" ) + attributes.basePath =3D attributes.basePath & "/"; + + // construct the url + sURL =3D attributes.basePath & "editor/fckeditor.html?InstanceName=3D" & a= ttributes.instanceName; + + // append toolbarset name to the url + if( len( attributes.toolbarSet ) ) + sURL =3D sURL & "&Toolbar=3D" & attributes.toolbarSet; + + // create configuration string: Key1=3DValue1&Key2=3DValue2&... (Key/Value= :HTML encoded) + + /** + * CFML doesn't store casesensitive names for structure keys, but the conf= iguration names must be casesensitive for js. + * So we need to find out the correct case for the configuration keys. + * We "fix" this by comparing the caseless configuration keys to a list of= all available configuration options in the correct case. + * changed 20041206 hk@lwd.de (improvements are welcome!) + */ + lConfigKeys =3D ""; + lConfigKeys =3D lConfigKeys & "CustomConfigurationsPath,EditorAreaCSS,Tool= barComboPreviewCSS,DocType"; + lConfigKeys =3D lConfigKeys & ",BaseHref,FullPage,Debug,AllowQueryStringDe= bug,SkinPath"; + lConfigKeys =3D lConfigKeys & ",PreloadImages,PluginsPath,AutoDetectLangua= ge,DefaultLanguage,ContentLangDirection"; + lConfigKeys =3D lConfigKeys & ",ProcessHTMLEntities,IncludeLatinEntities,I= ncludeGreekEntities,ProcessNumericEntities,AdditionalNumericEntities"; + lConfigKeys =3D lConfigKeys & ",FillEmptyBlocks,FormatSource,FormatOutput,= FormatIndentator"; + lConfigKeys =3D lConfigKeys & ",StartupFocus,ForcePasteAsPlainText,AutoDet= ectPasteFromWord,ForceSimpleAmpersand"; + lConfigKeys =3D lConfigKeys & ",TabSpaces,ShowBorders,SourcePopup,ToolbarS= tartExpanded,ToolbarCanCollapse"; + lConfigKeys =3D lConfigKeys & ",IgnoreEmptyParagraphValue,PreserveSessionO= nFileBrowser,FloatingPanelsZIndex,TemplateReplaceAll,TemplateReplaceCheckbox"; + lConfigKeys =3D lConfigKeys & ",ToolbarLocation,ToolbarSets,EnterMode,Shif= tEnterMode,Keystrokes"; + lConfigKeys =3D lConfigKeys & ",ContextMenu,BrowserContextMenuOnCtrl,FontC= olors,FontNames,FontSizes"; + lConfigKeys =3D lConfigKeys & ",FontFormats,StylesXmlPath,TemplatesXmlPath= ,SpellChecker,IeSpellDownloadUrl"; + lConfigKeys =3D lConfigKeys & ",SpellerPagesServerScript,FirefoxSpellCheck= er,MaxUndoLevels,DisableObjectResizing,DisableFFTableHandles"; + lConfigKeys =3D lConfigKeys & ",LinkDlgHideTarget ,LinkDlgHideAdvanced,Ima= geDlgHideLink ,ImageDlgHideAdvanced,FlashDlgHideAdvanced"; + lConfigKeys =3D lConfigKeys & ",ProtectedTags,BodyId,BodyClass,DefaultLink= Target,CleanWordKeepsStructure"; + lConfigKeys =3D lConfigKeys & ",LinkBrowser,LinkBrowserURL,LinkBrowserWind= owWidth,LinkBrowserWindowHeight,ImageBrowser"; + lConfigKeys =3D lConfigKeys & ",ImageBrowserURL,ImageBrowserWindowWidth,Im= ageBrowserWindowHeight,FlashBrowser,FlashBrowserURL"; + lConfigKeys =3D lConfigKeys & ",FlashBrowserWindowWidth ,FlashBrowserWindo= wHeight,LinkUpload,LinkUploadURL,LinkUploadWindowWidth"; + lConfigKeys =3D lConfigKeys & ",LinkUploadWindowHeight,LinkUploadAllowedEx= tensions,LinkUploadDeniedExtensions,ImageUpload,ImageUploadURL"; + lConfigKeys =3D lConfigKeys & ",ImageUploadAllowedExtensions,ImageUploadDe= niedExtensions,FlashUpload,FlashUploadURL,FlashUploadAllowedExtensions"; + lConfigKeys =3D lConfigKeys & ",FlashUploadDeniedExtensions,SmileyPath,Smi= leyImages,SmileyColumns,SmileyWindowWidth,SmileyWindowHeight"; + + sConfig =3D ""; + + for( key in attributes.config ) + { + iPos =3D listFindNoCase( lConfigKeys, key ); + if( iPos GT 0 ) + { + if( len( sConfig ) ) + sConfig =3D sConfig & "&"; + + fieldValue =3D attributes.config[key]; + fieldName =3D listGetAt( lConfigKeys, iPos ); + + sConfig =3D sConfig & urlEncodedFormat( fieldName ) & '=3D' & urlEncoded= Format( fieldValue ); + } + } + + + + + + + + + + + + + + // append unit "px" for numeric width and/or height values + if( isNumeric( attributes.width ) ) + attributes.width =3D attributes.width & "px"; + if( isNumeric( attributes.height ) ) + attributes.height =3D attributes.height & "px"; + + + + + + + + + + Added: trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.js =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.js = (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.js 2008-05-18 11:52:05= UTC (rev 46) @@ -0,0 +1,303 @@ +/* + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * =3D=3D BEGIN LICENSE =3D=3D + * + * Licensed under the terms of any of the following licenses at your + * choice: + * + * - GNU General Public License Version 2 or later (the "GPL") + * http://www.gnu.org/licenses/gpl.html + * + * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") + * http://www.gnu.org/licenses/lgpl.html + * + * - Mozilla Public License Version 1.1 or later (the "MPL") + * http://www.mozilla.org/MPL/MPL-1.1.html + * + * =3D=3D END LICENSE =3D=3D + * + * This is the integration file for JavaScript. + * + * It defines the FCKeditor class that can be used to create editor + * instances in a HTML page in the client side. For server side + * operations, use the specific integration system. + */ + +// FCKeditor Class +var FCKeditor =3D function( instanceName, width, height, toolbarSet, value ) +{ + // Properties + this.InstanceName =3D instanceName ; + this.Width =3D width || '100%' ; + this.Height =3D height || '200' ; + this.ToolbarSet =3D toolbarSet || 'Default' ; + this.Value =3D value || '' ; + this.BasePath =3D FCKeditor.BasePath ; + this.CheckBrowser =3D true ; + this.DisplayErrors =3D true ; + + this.Config =3D new Object() ; + + // Events + this.OnError =3D null ; // function( source, errorNumber, errorDescription= ) +} + +/** + * This is the default BasePath used by all editor instances. + */ +FCKeditor.BasePath =3D '/fckeditor/' ; + +/** + * The minimum height used when replacing textareas. + */ +FCKeditor.MinHeight =3D 200 ; + +/** + * The minimum width used when replacing textareas. + */ +FCKeditor.MinWidth =3D 750 ; + +FCKeditor.prototype.Version =3D '2.6' ; +FCKeditor.prototype.VersionBuild =3D '18638' ; + +FCKeditor.prototype.Create =3D function() +{ + document.write( this.CreateHtml() ) ; +} + +FCKeditor.prototype.CreateHtml =3D function() +{ + // Check for errors + if ( !this.InstanceName || this.InstanceName.length =3D=3D 0 ) + { + this._ThrowError( 701, 'You must specify an instance name.' ) ; + return '' ; + } + + var sHtml =3D '' ; + + if ( !this.CheckBrowser || this._IsCompatibleBrowser() ) + { + sHtml +=3D ' 0 ? this.Width : th= is.Width + 'px' ; + var sHeight =3D this.Height.toString().indexOf('%') > 0 ? this.Height : th= is.Height + 'px' ; + sHtml +=3D ' + '); + /if; + return(@#out); + /define_tag; + + define_tag('isCompatibleBrowser'); + local('result' =3D false); + if (client_browser->Find("MSIE") && !client_browser->Find("mac") && !clie= nt_browser->Find("Opera")); + #result =3D client_browser->Substring(client_browser->Find("MSIE")+5,3)>= =3D5.5; + /if; + if (client_browser->Find("Gecko/")); + #result =3D client_browser->Substring(client_browser->Find("Gecko/")+6,8= )>=3D20030210; + /if; + if (client_browser->Find("Opera/")); + #result =3D client_browser->Substring(client_browser->Find("Opera/")+6,4= )>=3D9.5; + /if; + if (client_browser->Find("AppleWebKit/")); + #result =3D client_browser->Substring(client_browser->Find("AppleWebKit/= ")+12,3)>=3D522; + /if; + return(#result); + /define_tag; + + define_tag('parseConfig'); + if(self->config->size); + local('out' =3D 'instancename + '= ___Config" value=3D"'); + iterate(self->config, local('this')); + loop_count > 1 ? #out +=3D '&'; + #out +=3D encode_html(#this->first) + '=3D' + encode_html(#this->second= ); + /iterate; + #out +=3D '" style=3D"display:none" />\n'; + return(@#out); + /if; + /define_tag; + /define_type; +] Added: trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.php =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.php = (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.php 2008-05-18 11:52:0= 5 UTC (rev 46) @@ -0,0 +1,77 @@ +=3D 5.5) ; + } + else if ( strpos($sAgent, 'Gecko/') !=3D=3D false ) + { + $iVersion =3D (int)substr($sAgent, strpos($sAgent, 'Gecko/') + 6, 8) ; + return ($iVersion >=3D 20030210) ; + } + else if ( strpos($sAgent, 'Opera/') !=3D=3D false ) + { + $fVersion =3D (float)substr($sAgent, strpos($sAgent, 'Opera/') + 6, 4) ; + return ($fVersion >=3D 9.5) ; + } + else if ( preg_match( "|AppleWebKit/(\d+)|i", $sAgent, $matches ) ) + { + $iVersion =3D $matches[1] ; + return ( $matches[1] >=3D 522 ) ; + } + else + return false ; +} + +if ( !function_exists('version_compare') || version_compare( phpversion(), '= 5', '<' ) ) + include_once( 'fckeditor_php4.php' ) ; +else + include_once( 'fckeditor_php5.php' ) ; Added: trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.pl =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.pl = (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.pl 2008-05-18 11:52:05= UTC (rev 46) @@ -0,0 +1,143 @@ +##### +# FCKeditor - The text editor for Internet - http://www.fckeditor.net +# Copyright (C) 2003-2008 Frederico Caldeira Knabben +# +# =3D=3D BEGIN LICENSE =3D=3D +# +# Licensed under the terms of any of the following licenses at your +# choice: +# +# - GNU General Public License Version 2 or later (the "GPL") +# http://www.gnu.org/licenses/gpl.html +# +# - GNU Lesser General Public License Version 2.1 or later (the "LGPL") +# http://www.gnu.org/licenses/lgpl.html +# +# - Mozilla Public License Version 1.1 or later (the "MPL") +# http://www.mozilla.org/MPL/MPL-1.1.html +# +# =3D=3D END LICENSE =3D=3D +# +# This is the integration file for Perl. +##### + +#my $InstanceName; +#my $BasePath; +#my $Width; +#my $Height; +#my $ToolbarSet; +#my $Value; +#my %Config; + +sub FCKeditor +{ + + local($instanceName) =3D @_; + $InstanceName =3D $instanceName; + $BasePath =3D '/fckeditor/'; + $Width =3D '100%'; + $Height =3D '200'; + $ToolbarSet =3D 'Default'; + $Value =3D ''; +} + +sub Create +{ + print &CreateHtml(); +} + +sub specialchar_cnv +{ + + local($ch) =3D @_; + + $ch =3D~ s/&/&/g; # & + $ch =3D~ s/\"/"/g; #" + $ch =3D~ s/\'/'/g; # ' + $ch =3D~ s//>/g; # > + return($ch); +} + +sub CreateHtml +{ + + $HtmlValue =3D &specialchar_cnv($Value); + $Html =3D '' ; + if(&IsCompatible()) { + $Link =3D $BasePath . "editor/fckeditor.html?InstanceName=3D$InstanceName"; + if($ToolbarSet ne '') { + $Link .=3D "&Toolbar=3D$ToolbarSet"; + } + #// Render the linked hidden field. + $Html .=3D "" ; + + #// Render the configurations hidden field. + $cfgstr =3D &GetConfigFieldString(); + $wk =3D $InstanceName."___Config"; + $Html .=3D "" ; + + #// Render the editor IFRAME. + $wk =3D $InstanceName."___Frame"; + $Html .=3D ""; + } else { + if($Width =3D~ /\%/g){ + $WidthCSS =3D $Width; + } else { + $WidthCSS =3D $Width . 'px'; + } + if($Height =3D~ /\%/g){ + $HeightCSS =3D $Height; + } else { + $HeightCSS =3D $Height . 'px'; + } + $Html .=3D ""; + } + return($Html); +} + +sub IsCompatible +{ + + $sAgent =3D $ENV{'HTTP_USER_AGENT'}; + if(($sAgent =3D~ /MSIE/i) && !($sAgent =3D~ /mac/i) && !($sAgent =3D~ /Oper= a/i)) { + $iVersion =3D substr($sAgent,index($sAgent,'MSIE') + 5,3); + return($iVersion >=3D 5.5) ; + } elsif($sAgent =3D~ /Gecko\//i) { + $iVersion =3D substr($sAgent,index($sAgent,'Gecko/') + 6,8); + return($iVersion >=3D 20030210) ; + } elsif($sAgent =3D~ /Opera\//i) { + $iVersion =3D substr($sAgent,index($sAgent,'Opera/') + 6,4); + return($iVersion >=3D 9.5) ; + } elsif($sAgent =3D~ /AppleWebKit\/(\d+)/i) { + return($1 >=3D 522) ; + } else { + return(0); # 2.0 PR fix + } +} + +sub GetConfigFieldString +{ + $sParams =3D ''; + $bFirst =3D 0; + foreach $sKey (keys %Config) { + $sValue =3D $Config{$sKey}; + if($bFirst =3D=3D 1) { + $sParams .=3D '&'; + } else { + $bFirst =3D 1; + } + $k =3D &specialchar_cnv($sKey); + $v =3D &specialchar_cnv($sValue); + if($sValue eq "true") { + $sParams .=3D "$k=3Dtrue"; + } elsif($sValue eq "false") { + $sParams .=3D "$k=3Dfalse"; + } else { + $sParams .=3D "$k=3D$v"; + } + } + return($sParams); +} + +1; Added: trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.py =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.py = (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.py 2008-05-18 11:52:05= UTC (rev 46) @@ -0,0 +1,160 @@ +""" +FCKeditor - The text editor for Internet - http://www.fckeditor.net +Copyright (C) 2003-2008 Frederico Caldeira Knabben + +=3D=3D BEGIN LICENSE =3D=3D + +Licensed under the terms of any of the following licenses at your +choice: + + - GNU General Public License Version 2 or later (the "GPL") + http://www.gnu.org/licenses/gpl.html + + - GNU Lesser General Public License Version 2.1 or later (the "LGPL") + http://www.gnu.org/licenses/lgpl.html + + - Mozilla Public License Version 1.1 or later (the "MPL") + http://www.mozilla.org/MPL/MPL-1.1.html + +=3D=3D END LICENSE =3D=3D + +This is the integration file for Python. +""" + +import cgi +import os +import re +import string + +def escape(text, replace=3Dstring.replace): + """Converts the special characters '<', '>', and '&'. + + RFC 1866 specifies that these characters be represented + in HTML as < > and & respectively. In Python + 1.5 we use the new string.replace() function for speed. + """ + text =3D replace(text, '&', '&') # must be done 1st + text =3D replace(text, '<', '<') + text =3D replace(text, '>', '>') + text =3D replace(text, '"', '"') + text =3D replace(text, "'", ''') + return text + +# The FCKeditor class +class FCKeditor(object): + def __init__(self, instanceName): + self.InstanceName =3D instanceName + self.BasePath =3D '/fckeditor/' + self.Width =3D '100%' + self.Height =3D '200' + self.ToolbarSet =3D 'Default' + self.Value =3D ''; + + self.Config =3D {} + + def Create(self): + return self.CreateHtml() + + def CreateHtml(self): + HtmlValue =3D escape(self.Value) + Html =3D "" + + if (self.IsCompatible()): + File =3D "fckeditor.html" + Link =3D "%seditor/%s?InstanceName=3D%s" % ( + self.BasePath, + File, + self.InstanceName + ) + if (self.ToolbarSet is not None): + Link +=3D "&ToolBar=3D%s" % self.ToolbarSet + + # Render the linked hidden field + Html +=3D "" % ( + self.InstanceName, + self.InstanceName, + HtmlValue + ) + + # Render the configurations hidden field + Html +=3D "" % ( + self.InstanceName, + self.GetConfigFieldString() + ) + + # Render the editor iframe + Html +=3D "" % ( + self.InstanceName, + Link, + self.Width, + self.Height + ) + else: + if (self.Width.find("%%") < 0): + WidthCSS =3D "%spx" % self.Width + else: + WidthCSS =3D self.Width + if (self.Height.find("%%") < 0): + HeightCSS =3D "%spx" % self.Height + else: + HeightCSS =3D self.Height + + Html +=3D "" % ( + self.InstanceName, + WidthCSS, + HeightCSS, + HtmlValue + ) + return Html + + def IsCompatible(self): + if (os.environ.has_key("HTTP_USER_AGENT")): + sAgent =3D os.environ.get("HTTP_USER_AGENT", "") + else: + sAgent =3D "" + if (sAgent.find("MSIE") >=3D 0) and (sAgent.find("mac") < 0) and (sAgent.f= ind("Opera") < 0): + i =3D sAgent.find("MSIE") + iVersion =3D float(sAgent[i+5:i+5+3]) + if (iVersion >=3D 5.5): + return True + return False + elif (sAgent.find("Gecko/") >=3D 0): + i =3D sAgent.find("Gecko/") + iVersion =3D int(sAgent[i+6:i+6+8]) + if (iVersion >=3D 20030210): + return True + return False + elif (sAgent.find("Opera/") >=3D 0): + i =3D sAgent.find("Opera/") + iVersion =3D float(sAgent[i+6:i+6+4]) + if (iVersion >=3D 9.5): + return True + return False + elif (sAgent.find("AppleWebKit/") >=3D 0): + p =3D re.compile('AppleWebKit\/(\d+)', re.IGNORECASE) + m =3D p.search(sAgent) + if (m.group(1) >=3D 522): + return True + return False + else: + return False + + def GetConfigFieldString(self): + sParams =3D "" + bFirst =3D True + for sKey in self.Config.keys(): + sValue =3D self.Config[sKey] + if (not bFirst): + sParams +=3D "&" + else: + bFirst =3D False + if (sValue): + k =3D escape(sKey) + v =3D escape(sValue) + if (sValue =3D=3D "true"): + sParams +=3D "%s=3Dtrue" % k + elif (sValue =3D=3D "false"): + sParams +=3D "%s=3Dfalse" % k + else: + sParams +=3D "%s=3D%s" % (k, v) + return sParams Added: trunk/lutinrss/src/main/webapp/fckeditor/fckeditor_php4.php =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lutinrss/src/main/webapp/fckeditor/fckeditor_php4.php = (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/fckeditor_php4.php 2008-05-18 11= :52:05 UTC (rev 46) @@ -0,0 +1,216 @@ +Config['EnterMode'] =3D 'br'; + * + * @var array + */ + var $Config ; + + /** + * Main Constructor. + * Refer to the _samples/php directory for examples. + * + * @param string $instanceName + */ + function FCKeditor( $instanceName ) + { + $this->InstanceName =3D $instanceName ; + $this->BasePath =3D '/fckeditor/' ; + $this->Width =3D '100%' ; + $this->Height =3D '200' ; + $this->ToolbarSet =3D 'Default' ; + $this->Value =3D '' ; + + $this->Config =3D array() ; + } + + /** + * Display FCKeditor. + * + */ + function Create() + { + echo $this->CreateHtml() ; + } + + /** + * Return the HTML code required to run FCKeditor. + * + * @return string + */ + function CreateHtml() + { + $HtmlValue =3D htmlspecialchars( $this->Value ) ; + + $Html =3D '' ; + + if ( !isset( $_GET ) ) { + global $HTTP_GET_VARS ; + $_GET =3D $HTTP_GET_VARS ; + } + + if ( $this->IsCompatible() ) + { + if ( isset( $_GET['fcksource'] ) && $_GET['fcksource'] =3D=3D "true" ) + $File =3D 'fckeditor.original.html' ; + else + $File =3D 'fckeditor.html' ; + + $Link =3D "{$this->BasePath}editor/{$File}?InstanceName=3D{$this->Instanc= eName}" ; + + if ( $this->ToolbarSet !=3D '' ) + $Link .=3D "&Toolbar=3D{$this->ToolbarSet}" ; + + // Render the linked hidden field. + $Html .=3D "InstanceName}\" name= =3D\"{$this->InstanceName}\" value=3D\"{$HtmlValue}\" style=3D\"display:none\= " />" ; + + // Render the configurations hidden field. + $Html .=3D "InstanceName}___Confi= g\" value=3D\"" . $this->GetConfigFieldString() . "\" style=3D\"display:none\= " />" ; + + // Render the editor IFRAME. + $Html .=3D "" ; + } + else + { + if ( strpos( $this->Width, '%' ) =3D=3D=3D false ) + $WidthCSS =3D $this->Width . 'px' ; + else + $WidthCSS =3D $this->Width ; + + if ( strpos( $this->Height, '%' ) =3D=3D=3D false ) + $HeightCSS =3D $this->Height . 'px' ; + else + $HeightCSS =3D $this->Height ; + + $Html .=3D "