[Lutinweb-commits] r46 - in trunk/lutinrss/src/main/webapp: . fckeditor fckeditor/editor fckeditor/editor/plugins
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 =================================================================== --- trunk/lutinrss/src/main/webapp/fckeditor/_documentation.html (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/_documentation.html 2008-05-18 11:52:05 UTC (rev 46) @@ -0,0 +1,38 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!-- + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * 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 + * + * == END LICENSE == +--> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>FCKeditor - Documentation</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <style type="text/css"> + body { font-family: arial, verdana, sans-serif } + p { margin-left: 20px } + </style> +</head> +<body> + <h1> + FCKeditor Documentation</h1> + <p> + You can find the official documentation for FCKeditor online, at <a href="http://docs.fckeditor.net/"> + http://docs.fckeditor.net/</a>.</p> +</body> +</html> Added: trunk/lutinrss/src/main/webapp/fckeditor/_upgrade.html =================================================================== --- trunk/lutinrss/src/main/webapp/fckeditor/_upgrade.html (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/_upgrade.html 2008-05-18 11:52:05 UTC (rev 46) @@ -0,0 +1,39 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!-- + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * 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 + * + * == END LICENSE == +--> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>FCKeditor - Upgrade</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <style type="text/css"> + body { font-family: arial, verdana, sans-serif } + p { margin-left: 20px } + </style> +</head> +<body> + <h1> + FCKeditor Upgrade</h1> + <p> + Please check the following URL for notes regarding upgrade:<br /> + <a href="http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Installation/Upgrading"> + http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Installation/Upgrading</a></p> +</body> +</html> Added: trunk/lutinrss/src/main/webapp/fckeditor/_whatsnew.html =================================================================== --- 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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!-- + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * 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 + * + * == END LICENSE == +--> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>FCKeditor ChangeLog - What's New?</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <style type="text/css"> + body { font-family: arial, verdana, sans-serif } + p { margin-left: 20px } + h1 { border-bottom: solid 1px gray; padding-bottom: 20px } + </style> +</head> +<body> + <h1> + FCKeditor ChangeLog - What's New?</h1> + <h3> + Version 2.6</h3> + <p> + No changes. The stabilization of the 2.6 RC was completed successfully, as expected.</p> + <h3> + Version 2.6 RC</h3> + <p> + New Features and Improvements:</p> + <ul> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2017">#2017</a>] The FCKeditorAPI.Instances + object can now be used to access all FCKeditor instances available in the page.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1980">#1980</a>] <span + style="color: #ff0000">Attention:</span> By default, the editor now produces <strong> + and <em> instead of <b> and <i>.</li> + </ul> + <p> + Fixed Bugs:</p> + <ul> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1924">#1924</a>] The dialog + close button is now correctly positioned in IE in RTL languages.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1933">#1933</a>] Placeholder + dialog will now display the placeholder value correctly in IE.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/957">#957</a>] Pressing + Enter or typing after a placeholder with the placeholder plugin will no longer generate + colored text.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1952">#1952</a>] Fixed + an issue in FCKTools.FixCssUrls that, other than wrong, was breaking Opera.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1695">#1695</a>] Removed + Ctrl-Tab hotkey for Source mode and allowed Ctrl-T to work in Firefox.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1666">#1666</a>] Fixed + permission denied errors during opening popup menus in IE6 under domain relaxation + mode.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1934">#1934</a>] Fixed + JavaScript errors when calling Selection.EnsureSelection() in dialogs.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1920">#1920</a>] Fixed + SSL warning message when opening image and flash dialogs under HTTPS in IE6.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1955">#1955</a>] [<a + target="_blank" href="http://dev.fckeditor.net/ticket/1981">#1981</a>] [<a target="_blank" + href="http://dev.fckeditor.net/ticket/1985">#1985</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/1989">#1989</a>] + Fixed XHTML source formatting errors in non-IE browsers.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2000">#2000</a>] The # + character is now properly encoded in file names returned by the File Browser.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1945">#1945</a>] New folders + and file names are now properly sanitized against control characters. </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1944">#1944</a>] Backslash + character is now disallowed in current folder path.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1055">#1055</a>] Added + logic to override JavaScript errors occurring inside the editing frame due to user + added JavaScript code.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1647">#1647</a>] Hitting + ENTER on list items containing block elements will now create new list item elements, + instead of adding further blocks to the same list item.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1411">#1411</a>] Label + only combos now get properly grayed out when moving to source view.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2009">#2009</a>] Fixed + an important bug regarding styles removal on styled text boundaries, introduced + with the 2.6 Beta 1. </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2011">#2011</a>] Internal + CSS <style> tags where being outputted when FullPage=true.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2016">#2016</a>] The Link + dialog now properly selects the first field when opening it to modify mailto or + anchor links. This problem was also throwing an error in IE.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2021">#2021</a>] The caret + will no longer remain behind in the editing area when the placeholder dialog is + opened.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2024">#2024</a>] Fixed + JavaScript error in IE when the user tries to open dialogs in Source mode.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1853">#1853</a>] Setting + ShiftEnterMode to p or div now works correctly when EnterMode is br.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1838">#1838</a>] Fixed + the issue where context menus sometimes don't disappear after selecting an option. + </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2028">#2028</a>] Fixed + JavaScript error when EnterMode=br and user tries to insert a page break.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2002">#2002</a>] Fixed + the issue where the maximize editor button does not vertically expand the editing + area in Firefox.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1842">#1842</a>] PHP integration: + fixed filename encoding problems in file browser.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1832">#1832</a>] Calling + FCK.InsertHtml() in non-IE browsers would now activate the document processor as + expected.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1998">#1998</a>] The native + XMLHttpRequest class is now used in IE, whenever it is available.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1792">#1792</a>] In IE, + the browser was able to enter in an infinite loop when working with multiple editors + in the same page. </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1948">#1948</a>] Some + CSS rules are reset to dialog elements to avoid conflict with the page CSS.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1965">#1965</a>] IE was + having problems with SpellerPages, causing some errors to be thrown when completing + the spell checking in some situations.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2042">#2042</a>] The FitWindow + command was throwing an error if executed in an editor where its relative button + is not present in the toolbar.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/922">#922</a>] Implemented + a generic document processor for <OBJECT> and <EMBED> tags.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1831">#1831</a>] Fixed + the issue where the placeholder icon for <EMBED> tags does not always show + up in IE7.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2049">#2049</a>] Fixed + a deleted cursor CSS attribute in the minified CSS inside fck_dialog_common.js.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1806">#1806</a>] In IE, + the caret will not any more move to the previous line when selecting a Format style + inside an empty paragraph.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1990">#1990</a>] In IE, + dialogs using API calls which deals with the selection, like InsertHtml now can + be sure the selection will be placed in the correct position.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1997">#1997</a>] With + IE, the first character of table captions where being lost on table creation.</li> + <li>The selection and cursor position was not being properly handled when creating some + elements like forms and tables.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/662">#662</a>] In the + Perl sample files, the GetServerPath function will now calculate the path properly.</li> + </ul> + <h3> + Version 2.6 Beta 1</h3> + <p> + New Features and Improvements:</p> + <ul> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/35">#35</a>] <strong>New + (and cool!) floating dialog system</strong>, avoiding problems with popup blockers + and enhancing the editor usability.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1886">#1886</a>] <strong> + Adobe AIR</strong> compatibility.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/123">#123</a>] Full support + for <strong>document.domain</strong> with automatic domain detection.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1622">#1622</a>] New <strong> + inline CSS cache</strong> feature, making it possible to avoid downloading the CSS + files for the editing area and skins. For that, it is enough to set the EditorAreaCSS, + SkinEditorCSS and SkinDialogCSS to string values in the format "/absolute/path/for/urls/|<minified + CSS styles". All internal CSS links are already using this feature. </li> + <li>New language file for <strong>Canadian French</strong>.</li> + </ul> + <p> + Fixed Bugs:</p> + <ul> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1643">#1643</a>] Resolved + several "strict warning" messages in Firefox when running FCKeditor.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1522">#1522</a>] The ENTER + key will now work properly in IE with the cursor at the start of a formatted block.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1503">#1503</a>] It's + possible to define in the Styles that a Style (with an empty class) must be shown + selected only when no class is present in the current element, and selecting that + item will clear the current class (it does apply to any attribute, not only classes).</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/191">#191</a>] The scrollbars + are now being properly shown in Firefox Mac when placing FCKeditor inside a hidden + div.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/503">#503</a>] Orphaned + <li> elements now get properly enclosed in a <ul> on output.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/309">#309</a>] The ENTER + key will not any more break <button> elements at the beginning of paragraphs.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1654">#1654</a>] The editor + was not loading on a specific unknown situation. The breaking point has been removed.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1707">#1707</a>] The editor + no longer hangs when operating on documents imported from Microsoft Word.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1514">#1514</a>] Floating + panels attached to a shared toolbar among multiple FCKeditor instances are no longer + misplaced when the editing areas are absolutely or relatively positioned.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1715">#1715</a>] The ShowDropDialog + is now enforced only when ForcePasteAsPlainText = true.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1336">#1336</a>] Sometimes + the autogrow plugin didn't work properly in Firefox.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1728">#1728</a>] External + toolbars are now properly sized in Opera.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1782">#1782</a>] Clicking + on radio buttons or checkboxes in the editor in IE will no longer cause lockups + in IE.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/805">#805</a>] The FCKConfig.Keystrokes + commands where executed even if the command itself was disabled.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/982">#982</a>] The button + to empty the box in the "Paste from Word" has been removed as it leads to confusion + for some users.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1682">#1682</a>] Editing + control elements in Firefox, Opera and Safari now works properly.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1613">#1613</a>] The editor + was surrounded by a <div> element that wasn't really needed.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/676">#676</a>] If a form + control was moved in IE after creating it, then it did lose its name.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/738">#738</a>] It wasn't + possible to change the type of an existing button.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1854">#1854</a>] Indentation + now works inside table cells.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1717">#1717</a>] The editor + was entering on looping on some specific cases when dealing with invalid source + markup.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1530">#1530</a>] Pasting + text into the "Find what" fields in the Find and Replace dialog would now activate + the find and replace buttons.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1828">#1828</a>] The Find/Replace + dialog will no longer display wrong starting positions for the match when there + are multiple and identical characters preceding the character at the real starting + point of the match.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1878">#1878</a>] Fixed + a JavaScript error which occurs in the Find/Replace dialog when the user presses + "Find" or "Replace" after the "No match found" message has appeared.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1355">#1355</a>] Line + breaks and spaces are now conserved when converting to and from the "Formatted" + format.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1670">#1670</a>] Improved + the background color behind smiley icons and special characters in their corresponding + dialogs.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1693">#1693</a>] Custom + error messages are now properly displayed in the file browser.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/970">#970</a>] The text + and value fields in the selection box dialog will no longer extend beyond the dialog + limits when the user inputs a very long text or value for one of the selection options.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/479">#479</a>] Fixed the + issue where pressing Enter in an <o:p> tag in IE does not generate line breaks.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/481">#481</a>] Fixed the + issue where the image preview in image dialog sometimes doesn't display after selecting + the image from server browser.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1488">#1488</a>] PHP integration: + the FCKeditor class is now more PHP5/6 friendly ("public" keyword is used instead + of depreciated "var").</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1815">#1815</a>] PHP integration: + removed closing tag: "?>", so no additional whitespace added when files are included.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1906">#1906</a>] PHP file + browser: fixed problems with DetectHtml() function when open_basedir was set.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1871">#1871</a>] PHP file + browser: permissions applied with the chmod command are now configurable.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1872">#1872</a>] Perl + file browser: permissions applied with the chmod command are now configurable.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1873">#1873</a>] Python + file browser: permissions applied with the chmod command are now configurable.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1572">#1572</a>] ColdFusion + integration: fixed issues with setting the editor height.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1692">#1692</a>] ColdFusion + file browser: it is possible now to define TempDirectory to avoid issues with GetTempdirectory() + returning an empty string.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1379">#1379</a>] ColdFusion + file browser: resolved issues with OnRequestEnd.cfm breaking the file browser.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1509">#1509</a>] InsertHtml() + in IE will no longer turn the preceding normal whitespace into .</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/958">#958</a>] The AddItem + method now has an additional fifth parameter "customData" that will be sent to the + Execute method of the command for that menu item, allowing a single command to be + used for different menu items..</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1502">#1502</a>] The RemoveFormat + command now also removes the attributes from the cleaned text. The list of attributes + is configurable with FCKConfig.RemoveAttributes.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1596">#1596</a>] On Safari, + dialogs have now right-to-left layout when it runs a RTL language, like Arabic.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1344">#1344</a>] Added + warning message on Copy and Cut operation failure on IE due to paste permission + settings.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1868">#1868</a>] Links + to file browser has been changed to avoid requests containing double dots.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1229">#1229</a>] Converting + multiple contiguous paragraphs to Formatted will now be merged into a single <PRE> + block.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1627">#1627</a>] Samples + failed to load from local filesystem in IE7.</li> + </ul> + <p> + <a href="_whatsnew_history.html">See previous versions history</a> + </p> +</body> +</html> Added: trunk/lutinrss/src/main/webapp/fckeditor/_whatsnew_history.html =================================================================== --- trunk/lutinrss/src/main/webapp/fckeditor/_whatsnew_history.html (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/_whatsnew_history.html 2008-05-18 11:52:05 UTC (rev 46) @@ -0,0 +1,3373 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!-- + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * 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 + * + * == END LICENSE == +--> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>FCKeditor ChangeLog - What's New?</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <style type="text/css"> + body { font-family: arial, verdana, sans-serif } + p { margin-left: 20px } + h1 { border-bottom: solid 1px gray; padding-bottom: 20px } + </style> +</head> +<body> + <h1> + FCKeditor ChangeLog - What's New?</h1> + <h3> + Version 2.5.1</h3> + <p> + New Features and Improvements:</p> + <ul> + <li><strong>FCKeditor.Net 2.5</strong> compatibility.</li> + <li>JavaScript integration file: + <ul> + <li>The new "<strong>FCKeditor.ReplaceAllTextareas</strong>" function is being introduced, + making it possible to replace many (or unknown) <textarea> elements in a single + call. The replacement can be also filtered by CSS class name, or by a custom function + evaluator. </li> + <li>It is now possible to set the default BasePath for all editor instances by setting + <strong>FCKeditor.BasePath</strong>. This is extremely useful when working with + the ReplaceAllTextareas function. </li> + </ul> + </li> + </ul> + <p> + Fixed Bugs:</p> + <ul> + <li>[<a href="http://dev.fckeditor.net/ticket/339" target="_blank">#339</a>] [<a + href="http://dev.fckeditor.net/ticket/681" target="_blank">#681</a>] The SpellerPages + spell checker will now completely ignore the presence of HTML tags in the text. + </li> + <li>[<a href="http://dev.fckeditor.net/ticket/1643" target="_blank">#1643</a>] Resolved + several "strict warning" messages in Firefox when running FCKeditor. </li> + <li>[<a href="http://dev.fckeditor.net/ticket/1603" target="_blank">#1603</a>] Certain + specific markup was making FCKeditor entering in a loop, blocking its execution. + </li> + <li>[<a href="http://dev.fckeditor.net/ticket/1664" target="_blank">#1664</a>] The ENTER + key will not any more swap the order of the tags when hit at the end of paragraphs. + </li> + </ul> + <h3> + Version 2.5</h3> + <p> + New Features and Improvements:</p> + <ul> + <li>The heading options have been moved to the top, in the default settings for the + Format combo.</li> + </ul> + <p> + Fixed Bugs:</p> + <ul> + <li>The focus is now correctly set when working on Safari.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1436">#1436</a>] Nested + context menu panels are now correctly closed on Safari.</li> + <li>Empty anchors are now properly created on Safari.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1359">#1359</a>] FCKeditor + will no longer produce the strange visual effect of creating a selected space and + then deleting it in Internet Explorer.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1399">#1399</a>] Removed + the empty entry in the language selection box of sample03.html.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1400">#1400</a>] Fixed + the issue where the style selection box in sample14.html is not context sensitive.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1401">#1401</a>] Completed + Hebrew translation of the user interface.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1409">#1409</a>] Completed + Finnish translation of the user interface.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1414">#1414</a>] Fixed + the issue where entity code words written inside a <pre> block in Source mode + are not converted to the corresponding characters after switching back to editor + mode.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1418">#1418</a>] Fixed + the issue where a detached toolbar would flicker when FCKeditor is being loaded.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1419">#1419</a>] Fixed + the issue where pressing Delete in the middle of two lists would incorrectly move + contents after the lists to the character position.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1420">#1420</a>] Fixed + the issue where empty list items can become collapsed and uneditable when it has + one of more indented list items directly under it. </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1431">#1431</a>] Fixed + the issue where pressing Enter in a <pre> block in Internet Explorer would + move the caret one space forward instead of sending it to the next line.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1472">#1472</a>] Completed + Arabic translation of the user interface.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1474">#1474</a>] Fixed + the issue where reloading a page containing FCKeditor may provoke JavaScript errors + in Internet Explorer.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1478">#1478</a>] Fixed + the issue where parsing fckstyles.xml fails if the file contains no <style> + nodes.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1491">#1491</a>] Fixed + the issue where FCKeditor causes the selection to include an "end of line" character + in list items even though the list item is empty.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1496">#1496</a>] Fixed + the issue where attributes under <area> and <map> nodes are destroyed + or left unprotected when switching to and from Source mode.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1500">#1500</a>] Fixed + the issue where the function _FCK_PaddingNodeListener() is called excessively which + negatively affects performance.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1514">#1514</a>] Fixed + the issue where floating menus are incorrectly positioned when the toolbar or the + editor frame are not static positioned.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1518">#1518</a>] Fixed + the issue where excessive <BR> nodes are not removed after a paragraph is + split when creating lists.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1521">#1521</a>] Fixed + JavaScript error and erratic behavior of the Replace dialog.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1524">#1524</a>] Fixed + the issue where the caret jumps to the beginning or end of a list block and when + user is trying to select the end of a list item.</li> + <li>Completed Simplified Chinese translation of the user interface.</li> + <li>Completed Estonian translation of the user interface.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1406">#1406</a>] Editor + was always "dirty" if flash is available in the contents.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1561">#1561</a>] Non standard + elements are now properly applied if defined in the styles XML file.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1412">#1412</a>] The _QuickUploadLanguage + value is now work properly for Perl.</li> + <li>Several compatibility fixes for Firefox 3 (Beta 1): + <ul> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1558">#1558</a>] Nested + context menu close properly when one of their options is selected.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1556">#1556</a>] Dialogs + contents are now showing completely, without scrollbar.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1559">#1559</a>] It is + not possible to have more than one panel opened at the same time.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1554">#1554</a>] Links + now get underlined.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1557">#1557</a>] The "Automatic" + and "More colors..." buttons were improperly styled in the color selector panels + (Opera too).</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1462">#1462</a>] The enter + key will not any more scroll the main window.</li> + </ul> + </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1562">#1562</a>] Fixed + the issue where empty paragraphs are added around page breaks each time the user + switches to Source mode.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1578">#1578</a>] The editor + will now scroll correctly when hitting enter in front of a paragraph.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1579">#1579</a>] Fixed + the issue where the create table and table properties dialogs are too narrow for + certain translations.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1580">#1580</a>] Completed + Polish translation of the user interface.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1591">#1591</a>] Fixed + JavaScript error when using the blockquote command in an empty document in IE.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1592">#1592</a>] Fixed + the issue where attempting to remove a blockquote with an empty paragraph would + leave behind an empty blockquote IE.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1594">#1594</a>] Undo/Redo + will now work properly for the color selectors.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1597">#1597</a>] The color + boxes are now properly rendered in the color selector panels on sample14.html.</li> + </ul> + <h3> + Version 2.5 Beta</h3> + <p> + New Features and Improvements:</p> + <ul> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/624">#624</a>] [<a + target="_blank" href="http://dev.fckeditor.net/ticket/634">#634</a>] [<a target="_blank" + href="http://dev.fckeditor.net/ticket/1300">#1300</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/1301">#1301</a>] + Official compatibility support with <strong>Opera 9.50</strong> and <strong>Safari 3</strong> + (WebKit based browsers actually). These browsers are still in Beta, but we are confident + that we'll have amazing results as soon as they get stable. We are continuously + collaborating with Opera Software and Apple to bring a wonderful FCKeditor experience + over their browser platforms.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/494">#494</a>] Introduced + the <strong>new Style System</strong>. We are not anymore relaying on browser features + to apply and remove styles, which guarantees that the editor will <strong>behave in + the same way in all browsers</strong>. It is an incredibly flexible system, + which aims to fit all developer's needs, from Flash content or HTML4 to XHTML 1.0 + Strict or XHTML 1.1: + <ul> + <li>All basic formatting features, like Bold and Italic, can be precisely controlled + by using the configuration file (<b>CoreStyles</b> setting). It means that now, + the Bold button, for example, can produce <b>, <strong>, <span class...>, + <span style...> or anything the developer prefers.</li> + <li>Again with the <b>CoreStyles</b> setting, each block format, font, size, and even + the color pickers can precisely reflect end developer's needs.</li> + <li>Because of the above changes, font sizes are much more flexible. <b>Any kind of + font unit</b> can be used, including a mix of units.</li> + <li>All styles, including toolbar bottom styles, are precisely controlled when being + applied to the document. FCKeditor uses an element table derived from the <b>W3C XHTML + DTDs</b> to precisely create the elements, guarantee standards compliant code.</li> + <li><b>No more <font> tags</b>... well... actually, the system is so flexible + that it is up to you to use them or not.</li> + <li>It is possible to configure FCKeditor to produce a truly <b>semantic aware </b>and<b> + XHTML 1.1 compliant </b>code. Check out sample14.html.</li> + <li>It's also possible to precisely control which inline elements must be removed with + the "Remove All" button, by using the "<b>RemoveFormatTags</b>" + setting.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1231">#1231</a>] [<a + target="_blank" href="http://dev.fckeditor.net/ticket/160">#160</a>] Paragraph <b>indentation</b> + and <b>justification</b> now uses style attributes and don't create unnecessary + elements, and <blockquote> is not anymore used for it. Now, even CSS classes + can be used to indent or align text.</li> + <li>All paragraph formatting features work well when EnterMode=br.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/172">#172</a>] All paragraph + formatting features work well when list items too.</li> + </ul> + </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1197">#1197</a>] [<a + target="_blank" href="http://dev.fckeditor.net/ticket/132">#132</a>] The toolbar + now presents a <strong>new button for Blockquote</strong>. The indentation button + will not anymore be used for that.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/125">#125</a>] Table's + <strong>columns size can now be changed by dragging on cell borders</strong>, with + the "dragresizetable" plugin. </li> + <li>The EditorAreaCSS config option can now also be set to a string of paths separated + by commas.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/212">#212</a>] New "<strong>Show + Blocks</strong>" command button in toolbar to show block details in the editing + area. </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/915">#915</a>] The <strong> + undo/redo system has been revamped</strong> to work the same across Internet Explorer + and Gecko-based browsers (e.g. Firefox). A number of critical bugs in the undo/redo + system are also fixed. </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/194">#194</a>] The editor + now uses the <strong>Data Processor</strong> technology, which makes it possible + to handle different input formats. A sample of it may be found at "editor/plugins/bbcode/_sample", + that shows some simple BBCode support. </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/145">#145</a>] The "htaccess.txt" + file has been renamed to ".htaccess" as it doesn't bring security concerns, being + active out of the box.</li> + <li>File Browser and Quick Upload changes: + <ul> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/163">#163</a>] <span + style="color: #ff0000"><strong>Attention:</strong></span> The default connector + in fckconfig.js has been changed from ASP to PHP. If you are using ASP remember + to change the _FileBrowserLanguage and _QuickUploadLanguage settings in your fckconfig.js. + [<a target="_blank" href="http://dev.fckeditor.net/ticket/454">#454</a>] The file + browser and upload connectors have been unified so they can reuse the same configuration + settings.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/865">#865</a>] The ASP + and PHP connectors have been improved so it's easy to select the location of the + destination folder for each file type, and it's no longer necessary to use the "file", + "image", "flash" subfolders<br /> + <span style="color: #ff0000"><strong>Attention:</strong></span> The location of + all the connectors have been changed in the fckconfig.js file. Please check your + settings to match the current ones. Also review carefully the config file for your + server language. </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/688">#688</a>] Now the + Perl quick upload is available. </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/575">#575</a>] The Python + connector has been rewritten as a WSGI app to be fully compatible with the latest + python frameworks and servers. The QuickUpload feature has been added as well as + all the features available in the PHP connector. Thanks to Mariano Reingart.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/561">#561</a>] The ASP + connector provides an AbsolutePath setting so it's possible to set the url to a + full domain or a relative path and specify that way the physical folder where the + files are stored..</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/333">#333</a>] The Quick + Upload now can use the same ServerPath parameter as the full connector.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/199">#199</a>] The AllowedCommands + configuration setting is available in the asp and php connectors so it's possible + to disallow the upload of files (although the "select file" button will still be + available in the file browser).</li> + </ul> + </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/100">#100</a>] A new configuration + directive "FCKConfig.EditorAreaStyles" has been implemented to allow setting editing + area styles from JavaScript. </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/102">#102</a>] HTML code + generated by the "Paste As Plain Text" feature now obeys the EnterMode setting.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1266">#1266</a>] Introducing + the HtmlEncodeOutput setting to instruct the editor to HTML-encode some characters + (&, < and >) in the posted data.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/357">#357</a>] Added a + "Remove Anchor" option in the context menu for anchors. </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1060">#1060</a>] Compatibility + checks with Firefox 3.0 Alpha. </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/817">#817</a>] [<a + target="_blank" href="http://dev.fckeditor.net/ticket/1077">#1077</a>] New "Merge + Down/Right" commands for merging tables cells in non-Gecko browsers.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1288">#1288</a>] The "More + Colors..." button in color selector popup has been made optional and configurable + by the <strong>EnableMoreFontColors</strong> option. </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/356">#356</a>] The <strong> + Find and Replace</strong> dialogs are now unified into a single dialog with tabs.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/549">#549</a>] Added a + 'None' option to the FCKConfig.ToolbarLocation option to allow for hidden toolbars. + </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1313">#1313</a>] An XHTML + 1.1 target editor sample has been created as sample14.html. </li> + <li>The ASP, ColdFusion and PHP integration have been aligned to our standards.</li> + </ul> + <p> + Fixed Bugs:</p> + <ul> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/71">#71</a>] [<a target="_blank" + href="http://dev.fckeditor.net/ticket/243">#243</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/267">#267</a>] + The editor now takes care to not create invalid nested block elements, like creating + <form> or <hr> inside <p>. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1511298&group_id=75348&atid=543655">SF + Patch 1511298</a>] The CF Component failed on CFMX 6.0</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/639">#639</a>] If the + FCKConfig.DefaultLinkTarget setting was missing in fckconfig.js the links has target="undefined".</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/497">#497</a>] Fixed EMBED + attributes handling in IE.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1315722&group_id=75348&atid=543655">SF + Patch 1315722</a>] Avoid getting a cached version of the folder contents after uploading + a file</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1386086&group_id=75348&atid=543655">SF + Patch 1386086</a>] The php connector has been protected so mkdir doesn't fail if + there are double slashes.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/943">#943</a>] The PHP + connector now specifies that the included files are relative to the current path.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/560">#560</a>] The PHP + connector will work better if the connector or the userfiles folder is a symlink.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/784">#784</a>] Fixed a + non initialized $php_errormsg in the PHP connector.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/802">#802</a>] The replace + dialog will now advance its searching position correctly and is able to search for + strings spanning across multiple inline tags.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/944">#944</a>] The _samples + didn't work directly from the Mac filesystem.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/946">#946</a>] Toolbar + images didn't show in non-IE browsers if the path contained a space.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/291">#291</a>] [<a + target="_blank" href="http://dev.fckeditor.net/ticket/395">#395</a>] [<a target="_blank" + href="http://dev.fckeditor.net/ticket/932">#932</a>] Clicking outside the editor + it was possible to paste or apply formatting to the rest of the page in IE.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/137">#137</a>] Fixed FCKConfig.TabSpaces + being ignored, and weird behaviors when pressing tab in edit source mode.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/268">#268</a>] Fixed special + XHTML characters present in event attribute values being converted inappropriately + when switching to source view.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/272">#272</a>] The toolbar + was cut sometimes in IE to just one row if there are multiple instances of the editor.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/515">#515</a>] Tables + in Firefox didn't inherit font styles properly in Standards mode.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/321">#321</a>] If FCKeditor + is initially hidden in Firefox it will no longer be necessary to call the oEditor.MakeEditable() + function.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/299">#299</a>] The 'Browse + Server' button in the Image and Flash dialogs was a little too high.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/931">#931</a>] The BodyId + and BodyClass configuration settings weren't applied in the preview window.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/583">#583</a>] The "noWrap" + attribute for table cells was getting an empty value in Firefox. Thanks to geirhelge.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/141">#141</a>] Fixed incorrect + startup focus in Internet Explorer after page reloads. </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/143">#143</a>] Fixed browser + lockup when the user writes <!--{PS..x}> into the editor in source mode. </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/174">#174</a>] Fixed incorrect + positioning of FCKeditor in full screen mode. </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/978">#978</a>] Fixed a + SpellerPages error with ColdFusion when no suggestions where available for a word.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/977">#977</a>] The "shape" + attribute of <area> had its value changed to uppercase in IE.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/996">#996</a>] "OnPaste" + event listeners will now get executed only once.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/289">#289</a>] Removed + debugging popups from page load regarding JavaScript and CSS loading errors.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/328">#328</a>] [<a + target="_blank" href="http://dev.fckeditor.net/ticket/346">#346</a>] [<a target="_blank" + href="http://dev.fckeditor.net/ticket/404">#404</a>] Fixed a number of problems + regarding <pre> blocks: + <ol> + <li>Leading whitespaces and line breaks in <pre> blocks are trimmed when the user + switches between editor mode and source mode;</li> + <li>Pressing Enter inside a <pre> block would split the block into two, but the + expected behavior is simply inserting a line break;</li> + <li>Simple line breaks inside <pre> blocks entered in source mode are being turned + into <br> tags when the user switches to editor mode and back.</li> + </ol> + </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/581">#581</a>] Fixed the + issue where the "Maximize the editor size" toolbar button stops working if any of + the following occurs: + <ol> + <li>There exists a form input whose name or id is "style" in FCKeditor's host form;</li> + <li>There exists a form input whose name or id is "className" in FCKeditor's host form;</li> + <li>There exists a form and a form input whose name of id is "style" in the editing + frame.</li> + </ol> + </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/183">#183</a>] Fixed the + issue when FCKeditor is being executed in a custom application with the WebBrowser + ActiveX control, hiding the WebBrowser control would incorrectly invoke FCKeditor's + cleanup routines, causing FCKeditor to stop working.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/539">#539</a>] Fixed the + issue where right clicking on a table inside the editing frame in Firefox would + cause the editor the scroll to the top of the document.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/523">#523</a>] Fixed the + issue where, under certain circumstances, FCKeditor would obtain focus at startup + even though FCKConfig.StartupFocus is set to false. </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/393">#393</a>] Fixed the + issue where if an inline tag is at the end of the document, the user would have + no way of escaping from the inline tag if he continues typing at the end of the + document. FCKeditor's behaviors regarding inline tags has been made to be more like + MS Word's: + <ol> + <li>If the caret is moved to the end of a hyperlink by the keyboard, then hyperlink + mode is disabled. </li> + <li>If the caret is moved to the end of other styled inline tags by any key other than + the End key (like bold text or italic text), the original bold/italic/... modes + would continue to be effective. </li> + <li>If the caret is moved to the end of other styled inline tags by the End key, all + style tag modes (e.g. bold, italic, underline, etc.) would be canceled. This is + not consistent with MS Word, but provides a convenient way for the user to escape + the inline tag at the end of a line.</li> + </ol> + </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/338">#338</a>] Fixed the + issue where the configuration directive FCKConfig.ForcePasteAsPlainText is ignored + when new contents are pasted into the editor via drag-and drop from outside of the + editor. </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1026">#1026</a>] Fixed + the issue where the cursor or selection positions are not restored with undo/redo + commands correctly in IE, under some circumstances. </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1160">#1160</a>] [<a + target="_blank" href="http://dev.fckeditor.net/ticket/1184">#1184</a>] Home, End + and Tab keys are working properly for numeric fields in dialogs. </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/68">#68</a>] The style + system now properly handles Format styles when EnterMode=br.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/525">#525</a>] The union + of successive DIVs will work properly now if EnterMode!=div.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1227">#1227</a>] The color + commands used an unnecessary temporary variable. Thanks to Matthias Miller</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/67">#67</a>] [<a target="_blank" + href="http://dev.fckeditor.net/ticket/277">#277</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/427">#427</a>] + [<a target="_blank" href="http://dev.fckeditor.net/ticket/428">#428</a>] [<a target="_blank" + href="http://dev.fckeditor.net/ticket/965">#965</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/1178">#1178</a>] + [<a target="_blank" href="http://dev.fckeditor.net/ticket/1267">#1267</a>] The list + insertion/removal/indent/outdent logic in FCKeditor has been rewritten, such that: + <ol> + <li>Text separated by <br> will always be treated as separate items during list + insertion regardless of browser;</li> + <li>List removal will now always obey the FCKConfig.EnterMode setting;</li> + <li>List indentation will be XHTML 1.1 compliant - all child elements under an <ol> + or <ul> must be <li> nodes;</li> + <li>IE editor hacks like <ul type="1"> will no longer appear;</li> + <li>Excessive <div> nodes are no longer inserted into list items due to alignment + changes.</li> + </ol> + </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/205">#205</a>] Fixed the + issue where visible <br> tags at the end of paragraphs are incorrectly removed + after switching to and from source mode.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1050">#1050</a>] Fixed + a minor PHP/XML incompatibility bug in editor/dialog/fck_docprops.html.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/462">#462</a>] Fixed an + algorithm bug in switching from source mode to WYSIWYG mode which causes the browser + to spin up and freeze for broken HTML code inputs.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1019">#1019</a>] Table + command buttons are now disabled when the current selection is not inside a table.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/135">#135</a>] Fixed the + issue where context menus are misplaced in FCKeditor when FCKeditor is created inside + a <div> node with scrolling. </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1067">#1067</a>] Fixed + the issue where context menus are misplaced in Safari when FCKeditor is scrolled + down.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1081">#1081</a>] Fixed + the issue where undoing table deletion in IE7 would cause JavaScript errors.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1061">#1061</a>] Fixed + the issue where backspace and delete cannot delete special characters in Firefox + under some circumstances.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/403">#403</a>] Fixed the + issue where switching to and from source mode in full page mode under IE would add + excessive line breaks to <style> blocks.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/121">#121</a>] Fixed the + issue where maximizing FCKeditor inside a frameset would resize FCKeditor to the + whole window's size instead of just the container frame's size.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1093">#1093</a>] Fixed + the issue where pressing Enter inside an inline tag would not create a new paragraph + correctly.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1089">#1089</a>] Fixed + the issue where pressing Enter inside a <pre> block do not generate visible + line breaks in IE.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/332">#332</a>] Hitting + Enter when the caret is at the end of a hyperlink will no longer continue the link + at the new paragraph.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1121">#1121</a>] Hitting + Enter with FCKConfig.EnterMode=br will now scroll the document correctly when the + new lines have exceeded the lower boundary of the editor frame.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1063">#1063</a>] [<a + target="_blank" href="http://dev.fckeditor.net/ticket/1084">#1084</a>] [<a target="_blank" + href="http://dev.fckeditor.net/ticket/1092">#1092</a>] Fixed a few Norwegian + language translation errors.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1148">#1148</a>] Fixed + the issue where the "Automatic" and "More Colors..." buttons + in the color selection panel are not centered in Safari.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1187">#1187</a>] Fixed + the issue where the "Paste as plain text" command cannot be undone in + non-IE browsers.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1222">#1222</a>] Ctrl-Backspace + operations will now save undo snapshots in all browsers.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1223">#1223</a>] Fixed + the issue where the insert link dialog would save multiple undo snapshots for a + single operation.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/247">#247</a>] Fixed the + issue where deleting everything in the document in IE would create an empty <p> + block in the document regardless of EnterMode setting. </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1280">#1280</a>] Fixed + the issue where opening a combo box will cause the editor frames to lose focus when + there are multiple editors in the same document.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/363">#363</a>] Fixed the + issue where the Find dialog does not work under Opera.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/50">#50</a>] Fixed the + issue where the Paste button is always disabled in Safari.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/389">#389</a>] Pasting + text with comments from Word won't generate errors in IE, thanks to the idea from + Swift.</li> + <li>The pasting area in the Paste from Word dialog is focused on initial load</li> + <li>Some fixes related to html comment handling in the Word clean up routine</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1303">#1303</a>] <col> + is correctly treated as an empty element.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/969">#969</a>] Removed + unused files (fcknumericfield.htc and moz-bindings.xml).</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1166">#1166</a>] Fixed + the issue where <meta> tags are incorrectly outputted with closing tags in + full page mode.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1200">#1200</a>] Fixed + the issue where context menus sometimes disappear prematurely before the user can + click on any items in Opera.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1315">#1315</a>] Fixed + the issue where the source view text area in Safari is displayed with an excessive + blue border.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1201">#1201</a>] Fixed + the issue where hitting Backspace or Delete inside a table cell deletes the table + cell instead of its contents in Opera.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1311">#1311</a>] Fixed + the issue where undoing and redoing a special character insertion would send the + caret to incorrect positions. (e.g. the beginning of document)</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/923">#923</a>] Font colors + are now properly applied on links.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1316">#1316</a>] Fixed + the issue where the image dialog expands to a size too big in Safari.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1306">#1306</a>] [<a + target="_blank" href="http://dev.fckeditor.net/ticket/894">#894</a>] The undo system + can now undo text formatting steps like setting fonts to bold and italic.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/95">#95</a>] Fixed the + issue where FCKeditor breaks <meta> tags in full page mode in some circumstances.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/175">#175</a>] Fixed the + issue where entering an email address with a '%' sign in the insert link dialog + would cause JavaScript error.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/180">#180</a>] Improved + backward compatibility with older PHP versions. FCKeditor can now work with PHP + versions down to 4.0.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/192">#192</a>] Document + modifying actions from the FCKeditor JavaScript API will now save undo steps.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/246">#246</a>] Using text + formatting commands in EnterMode=div will no longer cause tags to randomly disappear.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/327">#327</a>] It is no + longer possible for the browser's back action to misfire when a user presses backspace + while an image is being selected in FCKeditor.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/362">#362</a>] Ctrl-Backspace + now works in FCKeditor.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/390">#390</a>] Text alignment + and justification commands now respects EnterMode=br paragraph rules.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/534">#534</a>] Pressing + Ctrl-End while the document contains a list towards the end will no longer make + the cursor disappear.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/906">#906</a>] It is now + possible to have XHTML 1.0 Strict compliant output from a document pasted from Word.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/929">#929</a>] Pressing + the Enter key will now produce an undo step.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/934">#934</a>] Fixed the + "Cannot execute code from a freed script" error in IE from editor dialogs.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/942">#942</a>] Server + based spell checking with ColdFusion integration no longer breaks fir non en_US + languages.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/942">#1056</a>] Deleting + everything in the editor document and moving the cursor around will no longer leave + the cursor hanging beyond the top of the editor document.</li> + </ul> + <p> + # This version has been <a href="http://dev.fckeditor.net/wiki/SD/COE">partially sponsored</a> + by the <a href="http://www.coe.int/">Council of Europe</a>. + </p> + <h3> + Version 2.4.3</h3> + <p> + New Features and Improvements:</p> + <ul> + <li>It is now possible to set the default target when creating links, with the new "<strong>DefaultLinkTarget</strong>" + setting. </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/436">#436</a>] The new + "<strong>FirefoxSpellChecker</strong>" setting is available, to enable/disable the + Firefox built-in spellchecker while typing. Even if word suggestions will not appear + in the FCKeditor context menu, this feature is useful to quickly identify misspelled + words.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/311">#311</a>] The new + "<strong>BrowserContextMenuOnCtrl</strong>" setting is being introduced, to enable/disable + the ability of displaying the default browser's context menu when right-clicking + with the CTRL key pressed.</li> + </ul> + <p> + Fixed Bugs:</p> + <ul> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/300">#300</a>] The fck_internal.css + file was not validating with the W3C CSS Validation Service.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/336">#336</a>] Ordered + list didn't keep the Type attribute properly (it was converted to lowercase when + the properties dialog was opened again).</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/318">#318</a>] Multiple + linked images are merged in a single link in IE.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/350">#350</a>] The <marquee> + element will no longer append unwanted <p> </p> to the code.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/351">#351</a>] The content + was being lost for images or comments only HTML inserted directly in the editor + source or loaded in the editor.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/388">#388</a>] Creating + links in lines separated by <br> in IE can lead to a merge of the links.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/325">#325</a>] Calling + the GetXHTML can distort visually the rendering in Firefox.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/391">#391</a>] When ToolbarLocation=Out, + a "Security Warning" alert was being shown in IE if under https. Thanks to reister.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/360">#360</a>] Form "name" + was being set to "[object]" if it contained an element with id="name".</li> + <li>Fixed a type that was breaking the ColdFusion SpellerPages integration file when + no spelling errors were found.</li> + <li>The ColdFusion SpellerPages integration was not working it Aspell was installed + in a directory with spaces in the name.</li> + <li>Added option to SpellerPages to ignore "alt" attributes.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/451">#451</a>] Classes + for images in IE didn't take effect immediately.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/430">#430</a>] Links with + a class did generate a span in Firefox when removing them.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/274">#274</a>] The PHP + quick upload still tried to use the uppercased types instead of the lowercased ones. + </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/416">#416</a>] The PHP + quick upload didn't check for the existence of the folder before saving.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/467">#467</a>] If InsertHtml + was called in IE with a comment (or any protected source at the beginning) it was + lost.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1518766&group_id=75348&atid=543653">SF + BUG-1518766</a>] Mozilla 1.7.13 wasn't recognized properly as an old Gecko engine.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/324">#324</a>] Improperly + nested tags could lead to a crash in IE.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/455">#455</a>] Files and + folders with non-ANSI names were returned with a double UTF-8 encoding in the PHP + File Manager.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/273">#273</a>] The extensions + "sh", "shtml", "shtm" and "phtm" have been added to the list of denied extensions + on upload.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/453">#453</a>] No more + errors when hitting del inside an empty table cell.</li> + <li>The perl connector cgi file has been changed to Unix line endings.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/202">#202</a>] Regression: + The HR tag will not anymore break the contents loaded in the editor. </li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/508">#508</a>] The HR + command had a typo.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/505">#505</a>] Regression: + IE crashed if a table caption was deleted.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/82">#82</a>] [<a target="_blank" + href="http://dev.fckeditor.net/ticket/359">#359</a>] <object> and <embed> + tags are not anymore lost in IE.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/493">#493</a>] If the + containing form had a button named "submit" the "Save" command didn't work in Firefox.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/414">#414</a>] If tracing + was globally enabled in Asp.Net 2.0 then the Asp.Net connector did fail.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/520">#520</a>] The "Select + Field" properties dialog was not correctly handling select options with &, < + and >.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/258">#258</a>] The Asp + integration didn't pass boolean values in English, using instead the locale of the + server and failing.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/487">#487</a>] If an image + with dimensions set as styles was opened with the image manager and then the dialog + was canceled the dimensions in the style were lost.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/220">#220</a>] The creation + of links or anchors in a selection that results on more than a single link created + will not anymore leave temporary links in the source. All links will be defined + as expected.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/220">#182</a>] [<a + target="_blank" href="http://dev.fckeditor.net/ticket/220">#261</a>] [<a target="_blank" + href="http://dev.fckeditor.net/ticket/220">#511</a>] Special characters, like + percent signs or accented chars, and spaces are now correctly returned by the File + Browser.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/281">#281</a>] Custom + toolbar buttons now render correctly in all skins.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/527">#527</a>] If the + configuration for a toolbar isn't fully valid, try to keep on parsing it.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/187">#187</a>] [<a + target="_blank" href="http://dev.fckeditor.net/ticket/435">#435</a>] [<a target="_blank" + href="https://sourceforge.net/tracker/?func=detail&aid=1612978&group_id=75348&atid=543653">SF + BUG-1612978</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1163511&group_id=75348&atid=543653">SF + BUG-1163511</a>] Updated the configuration options in the ColdFusion integration + files.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1726781&group_id=75348&atid=543655">SF + Patch-1726781</a>] Updated the upload class for asp to handle large files and other + data in the forms. Thanks to NetRube.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/225">#225</a>] With ColdFusion, + the target directory is now being automatically created if needed when "quick uploading". + Thanks to sirmeili.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/295">#295</a>] [<a + target="_blank" href="http://dev.fckeditor.net/ticket/510">#510</a>] Corrected some + path resolution issues with the File Browser connector for ColdFusion.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/239">#239</a>] The <xml> + tag will not anymore cause troubles.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1721787&group_id=75348&atid=543653">SF + BUG-1721787</a>] If the editor is run from a virtual dir, the PHP connector will + detect that and avoid generating a wrong folder.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/431">#431</a>] PHP: The + File Browser now displays an error message when it is not able to create the configured + target directory for files (instead of sending broken XML responses).</li> + </ul> + <h3> + Version 2.4.2</h3> + <p> + Fixed Bugs:</p> + <ul> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/279">#279</a>] The UTF-8 + BOM was being included in the wrong files, affecting mainly PHP installations.</li> + </ul> + <h3> + Version 2.4.1</h3> + <p> + New Features and Improvements:</p> + <ul> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/118">#118</a>] The SelectAll + command now is available in Source Mode.</li> + <li>The new open source FCKpackager sub-project is now available. It replaces the FCKeditor.Packager + software to compact the editor source.</li> + <li>With Firefox, if a paste execution is blocked by the browser security settings, + the new "Paste" popup is shown to the user to complete the pasting operation. </li> + </ul> + <p> + Fixed Bugs:</p> + <ul> + <li>Various fixes to the ColdFusion File Browser connector.</li> + <li>We are now pointing the download of ieSpell to their pages, instead to a direct + file download from one of their mirrors. This disables the ability of "click and + go" (which can still be achieved by pointing the download to a file in your server), + but removes any troubles with mirrors link changes (and they change it frequently).</li> + <li>The Word cleanup has been changed to remove "display:none" tags that may come from + Word.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1659613&group_id=75348">SF + BUG-1659613</a>] The 2.4 version introduced a bug in the flash handling code that + generated out of memory errors in IE7.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1660456&group_id=75348">SF + BUG-1660456</a>] The icons in context menus were draggable.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1653009&group_id=75348">SF + BUG-1653009</a>] If the server is configured to process html files as asp then it + generated ASP error 0138.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1288609&group_id=75348">SF + BUG-1288609</a>] The content of iframes is now preserved.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1245504&group_id=75348">SF + BUG-1245504</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1652240&group_id=75348">SF + BUG-1652240</a>] Flash files without the .swf extension weren't recognized upon + reload.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1649753&group_id=75348&atid=543655">SF + PATCH-1649753</a>] Node selection for text didn't work in IE. Thanks to yurik dot + m.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1573191&group_id=75348&atid=543653">SF + BUG-1573191</a>] The Html code inserted with FCK.InsertHtml didn't have the same + protection for special tags.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/110">#110</a>] The OK + button in dialogs had its width set as an inline style.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/113">#113</a>] [<a + target="_blank" href="http://dev.fckeditor.net/ticket/94">#94</a>] [<a target="_blank" + href="https://sourceforge.net/tracker/?func=detail&aid=1659270&group_id=75348&atid=543653">SF + BUG-1659270</a>] ForcePasteAsPlainText didn't work in Firefox.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/114">#114</a>] The correct + entity is now used to fill empty blocks when ProcessHTMLEntities is disabled.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/90">#90</a>] The editor + was wrongly removing some <br> tags from the code.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/139">#139</a>] The CTRL+F + and CTRL+S keystroke default behaviors are now preserved.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/138">#138</a>] We are + not providing a CTRL + ALT combination in the default configuration file because + it may be incompatible with some keyboard layouts. So, the CTRL + ALT + S combination + has been changed to CTRL + SHIFT + S.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/129">#129</a>] In IE, + it was not possible to paste if "Allow paste operation via script" was disabled + in the browser security settings.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/112">#112</a>] The enter + key now behaves correctly on lists with Firefox, when the EnterMode is set to 'br'.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/152">#152</a>] Invalid + self-closing tags are now being fixed before loading. </li> + <li>A few tags were being ignored to the check for required contents (not getting stripped + out, as expected). Fixed.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/202">#202</a>] The HR + tag will not anymore break the contents loaded in the editor.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/211">#211</a>] Some invalid + inputs, like "<p>" where making the caret disappear in Firefox.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/99">#99</a>] The <div> + element is now considered a block container if EnterMode=p|br. It acts like a simple + block only if EnterMode=div.</li> + <li>Hidden fields will now show up as an icon in IE, instead of a normal text field. + They are also selectable and draggable, in all browsers.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/213">#213</a>] Styles + are now preserved when hitting enter at the end of a paragraph.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/77">#77</a>] If ShiftEnterMode + is set to a block tag (p or div), the desired block creation in now enforced, instead + of copying the current block (which is still the behavior of the simple enter).</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/209">#209</a>] Links and + images URLs will now be correctly preserved with Netscape 7.1.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/165">#165</a>] The enter + key now honors the EnterMode settings when outdenting a list item.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/190">#190</a>] Toolbars + may be wrongly positioned. Fixed.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/254">#254</a>] The IgnoreEmptyParagraphValue + setting is now correctly handled in Firefox.</li> + <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/254">#248</a>] The behavior + of the backspace key has been fixed on some very specific cases.</li> + </ul> + <h3> + Version 2.4</h3> + <p> + New Features and Improvements:</p> + <ul> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1329273&group_id=75348&atid=543656">SF + Feature-1329273</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1456005&group_id=75348&atid=543656">SF + Feature-1456005</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1315002&group_id=75348&atid=543653">SF + BUG-1315002</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1350180&group_id=75348&atid=543653">SF + BUG-1350180</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1450689&group_id=75348&atid=543653">SF + BUG-1450689</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1461033&group_id=75348&atid=543653">SF + BUG-1461033</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1510111&group_id=75348&atid=543653">SF + BUG-1510111</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1203560&group_id=75348&atid=543653">SF + BUG-1203560</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1564838&group_id=75348&atid=543653">SF + BUG-1564838</a>] The advance <strong>Enter Key Handler</strong> + is now being introduced. It gives you complete freedom to configure the editor to + generate <strong><p>, <div> or <br></strong> when the user uses + both the [Enter] and [Shift]+[Enter] keys. The new "EnterMode" and "ShiftEnterMode" + settings can be use to control its behavior. It also guarantees that all browsers + will generate the same output. </li> + <li>The new and powerful <strong>Keyboard Accelerator System</strong> is being introduced. + You can now precisely control the commands to execute when some key combinations + are activated by the user. It guarantees that all browsers will have the same behavior + regarding the shortcuts.<br /> + It also makes it possible to remove buttons from the toolbar and still invoke their + features by using the keyboard instead. + <br /> + It also blocks all default "CTRL based shortcuts" imposed by the browsers, so if + you don't want users to underline text, just remove the CTRL+U combination from + the keystrokes table. Take a look at the FCKConfig.Keystrokes setting in the fckconfig.js + file. </li> + <li>The new "<strong>ProtectedTags</strong>" configuration option is being introduced. + It will accept a list of tags (separated by a pipe "|"), which will have no effect + during editing, but will still be part of the document DOM. This can be used mainly + for non HTML standard, custom tags.</li> + <li>Dialog box commands can now open resizable dialogs (by setting oCommand.Resizable + = true).</li> + <li>Updated support for AFP. Thanks to Soenke Freitag.</li> + <li>New language file:<ul> + <li><strong>Afrikaans</strong> (by Willem Petrus Botha). </li> + </ul> + </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1456343&group_id=75348&atid=543655">SF + Patch-1456343</a>] New sample file showing how to dynamically exchange a textarea + and an instance of FCKeditor. Thanks to Finn Hakansson</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1496115&group_id=75348&atid=543655">SF + Patch-1496115</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1588578&group_id=75348&atid=543653">SF + BUG-1588578</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1376534&group_id=75348&atid=543653">SF + BUG-1376534</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1343506&group_id=75348&atid=543653">SF + BUG-1343506</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1211065&group_id=75348&atid=543656">SF + Feature-1211065</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=949144&group_id=75348&atid=543656">SF + Feature-949144</a>] The content of anchors are shown and preserved + on creation. * </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1587175&group_id=75348&atid=543656">SF + Feature-1587175</a>] Local links to an anchor are readjusted if the anchor changes.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1500040&group_id=75348&atid=543655">SF + Patch-1500040</a>] New configuration values to specify the Id and Class for the + body element.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1577202&group_id=75348&atid=543655">SF + Patch-1577202</a>] The links created with the popup option now are accessible even + if the user has JavaScript disabled.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1443472&group_id=75348&atid=543655">SF + Patch-1443472</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1576488&group_id=75348&atid=543653">SF + BUG-1576488</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1334305&group_id=75348&atid=543653">SF + BUG-1334305</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1578312&group_id=75348&atid=543653">SF + BUG-1578312</a>] The Paste from Word clean up function can be configured + with FCKConfig.CleanWordKeepsStructure to preserve the markup as much as possible. + Thanks Jean-Charles ROGEZ. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1472654&group_id=75348&atid=543655">SF + Patch-1472654</a>] The server side script location for SpellerPages can now be set + in the configuration file, by using the SpellerPagesServerScript setting.</li> + <li><span style="color: #ff0000">Attention:</span> All connectors are now pointing by + default to the "/userfiles/" folder instead of "/UserFiles/" (case change). Also, + the inner folders for each type (file, image, flash and media) are all lower-cased + too.</li> + <li><span style="color: #ff0000">Attention:</span> The UseBROnCarriageReturn configuration + is not anymore valid. The EnterMode setting can now be used to precisely set the + enter key behavior.</li> + </ul> + <p> + Fixed Bugs:</p> + <ul> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1444937&group_id=75348">SF + BUG-1444937</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1274364&group_id=75348">SF + BUG-1274364</a>] Shortcut keys are now undoable correctly.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1015230&group_id=75348">SF + BUG-1015230</a>] Toolbar buttons now update their state on shortcut keys activation.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1485621&group_id=75348">SF + BUG-1485621</a>] It is now possible to precisely control which shortcut keys can + be used.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1573714&group_id=75348">SF + BUG-1573714</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1593323&group_id=75348">SF + BUG-1593323</a>] Paste was not working in IE if both AutoDetectPasteFromWord + and ForcePasteAsPlainText settings were set to "false". </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1578306&group_id=75348">SF + BUG-1578306</a>] The context menu was wrongly positioned if the editing document + was set to render in strict mode. Thanks to Alfonso Martinez.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1567060&group_id=75348">SF + BUG-1567060</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1565902&group_id=75348">SF + BUG-1565902</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1440631&group_id=75348">SF + BUG-1440631</a>] IE was getting locked on some specific cases. Fixed.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1582859&group_id=75348">SF + BUG-1582859</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1579507&group_id=75348&atid=543655">SF + Patch-1579507</a>] Firefox' spellchecker is now disabled during editing mode. + Thanks to Alfonso Martinez.</li> + <li>Fixed Safari and Opera detection system (for development purposes only).</li> + <li>Paste from Notepad was including font information in IE. Fixed.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1584092&group_id=75348">SF + BUG-1584092</a>] When replacing text area, names with spaces are now accepted.</li> + <li>Depending on the implementation of toolbar combos (mainly for custom plugins) the + editor area was loosing the focus when clicking in the combo label. Fixed.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1596937&group_id=75348&atid=543653">SF + BUG-1596937</a>] InsertHtml() was inserting the HTML outside the editor area on + some very specific cases.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1585548&group_id=75348">SF + BUG-1585548</a>] On very specific, rare and strange cases, the XHTML processor was + not working properly in IE. Fixed.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1584951&group_id=75348">SF + BUG-1584951</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1380598&group_id=75348">SF + BUG-1380598</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1198139&group_id=75348">SF + BUG-1198139</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1437318&group_id=75348">SF + BUG-1437318</a>] In Firefox, the style selector will not anymore delete + the contents when removing styles on specific cases.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1515441&group_id=75348">SF + BUG-1515441</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1451071&group_id=75348">SF + BUG-1451071</a>] The "Insert/Edit Link" and "Select All" buttons are now working + properly when the editor is running on a IE Modal dialog.</li> + <li>On some very rare cases, IE was throwing a memory error when hiding the context + menus. Fixed.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1526154&group_id=75348">SF + BUG-1526154</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1509208&group_id=75348&atid=543653">SF + BUG-1509208</a>] With Firefox, <style> tags defined in the source are + now preserved.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1535946&group_id=75348">SF + BUG-1535946</a>] The IE dialog system has been changed to better work with custom + dialogs.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1599520&group_id=75348">SF + BUG-1599520</a>] The table dialog was producing empty tags when leaving some of + its fields empty.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1599545&group_id=75348">SF + BUG-1599545</a>] HTML entities are now processed on attribute values too.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1598517&group_id=75348">SF + BUG-1598517</a>] Meta tags are now protected from execution during editing (avoiding + the "redirect" meta to be activated).</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1415601&group_id=75348">SF + BUG-1415601</a>] Firefox internals: styleWithCSS is used instead of the deprecated + useCSS whenever possible.</li> + <li>All JavaScript Core extension function have been renamed to "PascalCase" (some were + in "camelCase"). This may have impact on plugins that use any of those functions.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1592311&group_id=75348">SF + BUG-1592311</a>] Operations in the caption of tables are now working correctly in + both browsers.</li> + <li>Small interface fixes to the about box.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1604576&group_id=75348&atid=543655">SF + PATCH-1604576</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1604301&group_id=75348">SF + BUG-1604301</a>] Link creation failed in Firefox 3 alpha. Thanks to Arpad Borsos</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1577247&group_id=75348&atid=543653">SF + BUG-1577247</a>] Unneeded call to captureEvents and releaseEvents.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1610790&group_id=75348">SF + BUG-1610790</a>] On some specific situations, the call to form.submit(), in form + were FCKeditor has been unloaded by code, was throwing the "Can't execute code from + a freed script" error.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1613167&group_id=75348&atid=543653">SF + BUG-1613167</a>] If the configuration was missing the FCKConfig.AdditionalNumericEntities + entry an error appeared.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1590848&group_id=75348&atid=543653">SF + BUG-1590848</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1626360&group_id=75348&atid=543653">SF + BUG-1626360</a>] Cleaning of JavaScript strict warnings in the source code.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1559466&group_id=75348&atid=543653">SF + BUG-1559466</a>] The ol/ul list property window always searched first for a UL element.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1516008&group_id=75348&atid=543653">SF + BUG-1516008</a>] Class attribute in IE wasn't loaded in the image dialog.</li> + <li>The "OnAfterSetHTML" event is now fired when being/switching to Source View.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1631807&group_id=75348&atid=543653">SF + BUG-1631807</a>] Elements' style properties are now forced to lowercase in IE.</li> + <li>The extensions "html", "htm" and "asis" have been added to the list of denied extensions + on upload.</li> + <li>Empty inline elements (like span and strong) will not be generated any more.</li> + <li>Some elements attributes (like hspace) where not being retrieved when set to "0".</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1508341&group_id=75348&atid=543653">SF + BUG-1508341</a>] Fix for the ColdFusion script file of SpellerPages.</li> + </ul> + <p> + * This version has been partially sponsored by <a href="http://www.imedi.org/">Medical + Media Lab</a>.</p> + <h3> + Version 2.3.3</h3> + <p> + New Features and Improvements:</p> + <ul> + <li>The project has been <strong>relicensed</strong> under the terms of the <strong> + GPL / LGPL / MPL</strong> licenses. This change will remove many licensing compatibility + issues with other open source licenses, making the editor even more "open" than + before. </li> + <li><font color="#ff0000">Attention:</font> The default directory in the distribution + package is now named "fckeditor" (in lowercase) instead of "FCKeditor". This + change may impact installations on case sensitive OSs, like Linux. </li> + <li><font color="#ff0000">Attention:</font> The "Universal Keyboard" has been removed + from the package. The license of those files was unclear so they can't be included + alongside the rest of FCKeditor.</li> + </ul> + <h3> + Version 2.3.2</h3> + <p> + New Features and Improvements:</p> + <ul> + <li>Users can now decide if the template dialog will replace the entire contents of + the editor or simply place the template in the cursor position. This feature can + be controlled by the "TemplateReplaceAll" and "TemplateReplaceCheckbox" configuration + options.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1237693&group_id=75348&atid=543655">SF + Patch-1237693</a>] A new configuration option (<strong>ProcessNumericEntities</strong>) + is now available to tell the editor to convert non ASCII chars to their relative + numeric entity references. It is disabled by default.</li> + <li>The new "<strong>AdditionalNumericEntities</strong>" setting makes it possible to + define a set of characters to be transformed to their relative numeric entities. + This is useful when you don't want the code to have simple quotes ('), for example.</li> + <li>The Norwegian language file (no.js) has been duplicated to include the Norwegian + Bokmal (nb.js) in the supported interface languages. Thanks to Martin Kronstad. + </li> + <li>Two new patterns have been added to the Universal Keyboard: + <ul> + <li>Persian. Thanks to Pooyan Mahdavi</li> + <li>Portuguese. Thanks to Bo Brandt.</li> + </ul> + </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1517322&group_id=75348&atid=543655">SF + Patch-1517322</a>] It is now possible to define the start number on numbered lists. + Thanks to Marcel Bennett.</li> + <li>The Font Format combo will now reflect the EditorAreaCSS styles.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1461539&group_id=75348&atid=543655">SF + Patch-1461539</a>] The File Browser connector can now optionally return a "url" + attribute for the files. Thanks to Pent.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1090851&group_id=75348">SF + BUG-1090851</a>] The new "ToolbarComboPreviewCSS" configuration option has been + created, so it is possible to point the Style and Format toolbar combos to a different + CSS, avoiding conflicts with the editor area CSS.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1421309&group_id=75348&atid=543656">SF + Feature-1421309</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1489402&group_id=75348">SF + BUG-1489402</a>] It is now possible to configure the Quick Uploder target path + to consider the file type (ex: Image or File) in the target path for uploads.</li> + <li>The JavaScript integration file has two new things: + <ul> + <li>The "CreateHtml()" function in the FCKeditor object, used to retrieve the HTML of + an editor instance, instead of writing it directly to the page (as done by "Create()").</li> + <li>The global "FCKeditor_IsCompatibleBrowser()" function, which tells if the executing + browser is compatible with FCKeditor. This makes it possible to do any necessary + processing depending on the compatibility, without having to create and editor instance.</li> + </ul> + </li> + </ul> + <p> + Fixed Bugs:</p> + <ul> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1525242&group_id=75348">SF + BUG-1525242</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1500050&group_id=75348">SF + BUG-1500050</a>] All event attributes (like onclick or onmouseover) are now + being protected before loading the editor. In this way, we avoid firing those events + during editing (IE issue) and they don't interfere in other specific processors + in the editor.</li> + <li>Small security fixes to the File Browser connectors. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1546226&group_id=75348">SF + BUG-1546226</a>] Small fix to the ColdFusion CFC integration file.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&atid=543655&aid=1547768&group_id=75348">SF + Patch-1407500</a>] The Word Cleanup function was breaking the HTML on pasting, on + very specific cases. Fixed, thanks to Frode E. Moe.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1551979&group_id=75348&atid=543655">SF + Patch-1551979</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1418066&group_id=75348">SF + BUG-1418066</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1439621&group_id=75348">SF + BUG-1439621</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1501698&group_id=75348&atid=543653">SF + BUG-1501698</a>] Make FCKeditor work with application/xhtml+xml. Thanks + to Arpad Borsos.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1547738&group_id=75348&atid=543655">SF + Patch-1547738</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1550595&group_id=75348&atid=543653">SF + BUG-1550595</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1540807&group_id=75348&atid=543653">SF + BUG-1540807</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1510685&group_id=75348&atid=543653">SF + BUG-1510685</a>] Fixed problem with panels wrongly positioned when the + editor is placed on absolute or relative positioned elements. Thanks to Filipe Martins.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1511294&group_id=75348&atid=543655">SF + Patch-1511294</a>] Small fix for the File Browser compatibility with IE 5.5.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1503178&group_id=75348&atid=543655">SF + Patch-1503178</a>] Small improvement to stop IE from loading smiley images when + one smiley is quickly selected from a huge list of smileys. Thanks to stuckhere.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1549112&group_id=75348&atid=543653">SF + BUG-1549112</a>] The Replace dialog window now escapes regular expression specific + characters in the find and replace fields.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1548788&group_id=75348&atid=543653">SF + BUG-1548788</a>] Updated the ieSpell download URL.</li> + <li>In FF, the editor was throwing an error when closing the window. Fixed.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1538509&group_id=75348&atid=543653">SF + BUG-1538509</a>] The "type" attribute for text fields will always be set now.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1551734&group_id=75348&atid=543653">SF + BUG-1551734</a>] The SetHTML function will now update the editing area height no + matter which editing mode is active.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1554141&group_id=75348&atid=543653">SF + BUG-1554141</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1565562&group_id=75348&atid=543653">SF + BUG-1565562</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1451056&group_id=75348&atid=543653">SF + BUG-1451056</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1478408&group_id=75348&atid=543653">SF + BUG-1478408</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1489322&group_id=75348&atid=543653">SF + BUG-1489322</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1513667&group_id=75348&atid=543653">SF + BUG-1513667</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1562134&group_id=75348&atid=543653">SF + BUG-1562134</a>] The protection of URLs has been enhanced + and now it will not break URLs on very specific cases.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1545732&group_id=75348&atid=543653">SF + BUG-1545732</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1490919&group_id=75348&atid=543653">SF + BUG-1490919</a>] No security errors will be thrown when loading FCKeditor in + page inside a FRAME defined in a different domain.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1512817&group_id=75348&atid=543653">SF + BUG-1512817</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1571345&group_id=75348&atid=543653">SF + BUG-1571345</a>] Fixed the "undefined" addition to the content when ShowBorders + = false and FullPage = true in Firefox. Thanks to Brett.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1512798&group_id=75348&atid=543653">SF + BUG-1512798</a>] BaseHref will now work well on FullPage, even if no <head> + is available.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1509923&group_id=75348&atid=543653">SF + BUG-1509923</a>] The DocumentProcessor is now called when using InserHtml().</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1505964&group_id=75348&atid=543653">SF + BUG-1505964</a>] The DOCTYPE declaration is now preserved when working in FullPage.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1553727&group_id=75348&atid=543653">SF + BUG-1553727</a>] The editor was throwing an error when inserting complex templates. + Fixed.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1564930&group_id=75348&atid=543655">SF + Patch-1564930</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1562828&group_id=75348">SF + BUG-1562828</a>] In IE, anchors where incorrectly copied when using the Paste + from Word button. Fixed, thanks to geirhelge.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1557709&group_id=75348&atid=543653">SF + BUG-1557709</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1421810&group_id=75348&atid=543653">SF + BUG-1421810</a>] The link dialog now validates Popup Window names.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1556878&group_id=75348&atid=543653">SF + BUG-1556878</a>] Firefox was creating empty tags when deleting the selection in + some special cases.</li> + <li>The context menu for links is now correctly shown when right-clicking on floating + divs.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1084404&group_id=75348&atid=543653">SF + BUG-1084404</a>] The XHTML processor now ignores empty span tags.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1221728&group_id=75348&atid=543653">SF + BUG-1221728</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1174503&group_id=75348&atid=543653">SF + BUG-1174503</a>] The <abbr> tag is not anymore getting broken by IE.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1182906&group_id=75348&atid=543653">SF + BUG-1182906</a>] IE is not anymore messing up mailto links.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1386094&group_id=75348&atid=543653">SF + BUG-1386094</a>] Fixed an issue when setting configuration options to empty ('') + by code.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1389435&group_id=75348&atid=543653">SF + BUG-1389435</a>] Fixed an issue in some dialog boxes when handling numeric inputs.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1398829&group_id=75348&atid=543653">SF + BUG-1398829</a>] Some links may got broken on very specific cases. Fixed.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1409969&group_id=75348&atid=543653">SF + BUG-1409969</a>] <noscript> tags now remain untouched by the editor.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1433457&group_id=75348&atid=543653">SF + BUG-1433457</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1513631&group_id=75348&atid=543653">SF + BUG-1513631</a>] Empty "href" attributes in <a> or empty "src" in <img> + will now be correctly preserved.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1435195&group_id=75348&atid=543653">SF + BUG-1435195</a>] Scrollbars are now visible in the File Browser (for custom implementations).</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1438296&group_id=75348&atid=543653">SF + BUG-1438296</a>] The "ForceSimpleAmpersand" setting is now being honored in all + tags.</li> + <li>If a popup blocker blocks context menu operations, the correct alert message is + displayed now, instead of a ugly JavaScript error.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1454116&group_id=75348&atid=543653">SF + BUG-1454116</a>] The GetXHTML() function will not change the IsDirty() value of + the editor.</li> + <li>The spell check may not work correctly when using SpellerPages with ColdFusion. + Fixed.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1481861&group_id=75348&atid=543653">SF + BUG-1481861</a>] HTML comments are now removed by the Word Cleanup System.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1489390&group_id=75348&atid=543653">SF + BUG-1489390</a>] A few missing hard coded combo options used in some dialogs are + now localizable.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1505448&group_id=75348&atid=543653">SF + BUG-1505448</a>] The Form dialog now retrieves the value of the "action" attribute + exactly as defined in the source.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1517322&group_id=75348&atid=543655">SF + Patch-1517322</a>] Solved an issue when the toolbar has buttons with simple icons + (usually used by plugins) mixed with icons coming from a strip (the default toolbar + buttons).</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1575261&group_id=75348&atid=543655">SF + Patch-1575261</a>] Some fields in the Table and Cell Properties dialogs were being + cut. Fixed.</li> + <li>Fixed a startup compatibility issue with Firefox 1.0.4.</li> + </ul> + <h3> + Version 2.3.1</h3> + <p> + Fixed Bugs:</p> + <ul> + <li>[<a target="_blank" href="https://sourceforge.net/support/tracker.php?aid=1506126">SF + BUG-1506126</a>] Fixed the Catalan language file, which had been published with + problems in accented letters. </li> + <li>More performance improvements in the default File Browser.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1506701&group_id=75348&atid=543653">SF + BUG-1506701</a>] Fixed compatibility issues with IE 5.5.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1509073&group_id=75348&atid=543653">SF + BUG-1509073</a>] Fixed the "Image Properties" dialog window, which was making invalid + calls to the "editor/dialog/" directory, generating error 400 entries in the web + server log.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1507294&group_id=75348&atid=543653">SF + BUG-1507294</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1507953&group_id=75348&atid=543653">SF + BUG-1507953</a>] The editing area was getting a fixed size when using the "SetHTML" + API command or even when switching back from the source view. Fixed.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1507755&group_id=75348">SF + BUG-1507755</a>] Fixed a conflict between the "DisableObjectResizing" and "ShowBorders" + configuration options over IE.</li> + <li>Opera 9 tries to "mimic" Gecko in the browser detection system of FCKeditor. As + this browser is not "yet" supported, the editor was broken on it. It has been fixed, + and now a textarea is displayed, as in any other unsupported browser. Support for + Opera is still experimental and can be activated by setting the property "EnableOpera" + to true when creating an instance of the editor with the JavaScript integration + files.</li> + <li>With Opera 9, the toolbar was jumping on buttons rollover. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1509479&group_id=75348&atid=543656">SF + BUG-1509479</a>] The iframes used in Firefox for all editor panels (dropdown combos, + context menu, etc...) are now being placed right before the main iframe that holds + the editor. In this way, if the editor container element is removed from the DOM + (by DHTML) they are removed together with it.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1271070&group_id=75348&atid=543653">SF + BUG-1271070</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1411430&group_id=75348&atid=543653">SF + BUG-1411430</a>] The editor API now works well on DHTML pages that create and + remove instances of FCKeditor dynamically. </li> + <li>A second call to a page with the editor was not working correctly with Firefox 1.0.x. + Fixed.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1511460&group_id=75348&atid=543653">SF + BUG-1511460</a>] Small correction to the <script> protected source regex. + Thanks to Randall Severy.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1521754&group_id=75348">SF + BUG-1521754</a>] Small fix to the paths of the internal CSS files used by FCKeditor. + Thanks to johnw_ceb.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1511442&group_id=75348&atid=543653">SF + BUG-1511442</a>] The <base> tag is now correctly handled in IE, no matter + its position in the source code.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1507773&group_id=75348&atid=543653">SF + BUG-1507773</a>] The "Lock" and "Reset" buttons in the Image Properties dialog window + are not anymore jumping with Firefox 1.5.</li> + </ul> + <h3> + Version 2.3</h3> + <p> + New Features and Improvements:</p> + <ul> + <li>The <strong>Toolbar Sharing</strong> system has been completed. See sample10.html + and sample11.html.*</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1407500&group_id=75348&atid=543655">SF + Patch-1407500</a>] Small enhancement to the Find and Replace dialog windows.</li> + </ul> + <p> + Fixed Bugs:</p> + <ul> + <li>Small security fixes.</li> + <li>The context menu system has been optimized. Nested menus now open "onmouseover". + </li> + <li>An error in the image preloader system was making the toolbar strip being downloaded + once for each button on slow connections. Some enhancements have also been made + so now the smaple05.html is loading fast for all skins.</li> + <li>Fixed many memory leak issues with IE.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1489768&group_id=75348&atid=543653">SF + BUG-1489768</a>] The panels (context menus, toolbar combos and color selectors), + where being displayed in the wrong position if the contents of the editor, or its + containing window were scrolled down. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1493176&group_id=75348">SF + BUG-1493176</a>] Using ASP, the connector was not working on servers with buffer + disable by default.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1491784&group_id=75348&atid=543653">SF + BUG-1491784</a>] Language files have been updated to not include html entities.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1490259&group_id=75348&atid=543653">SF + BUG-1490259</a>] No more security warning on IE over HTTPS.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1493173&group_id=75348&atid=543653">SF + BUG-1493173</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1499708&group_id=75348">SF + BUG-1499708</a>] We now assume that, if a user is in source editing, he/she + wants to control the HTML, so the editor doesn't make changes to it when posting + the form being in source view or when calling the GetXHTML function in the API. + </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1490610&group_id=75348&atid=543653">SF + BUG-1490610</a>] The FitWindow is now working on elements set with relative position.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1493438&group_id=75348&atid=543653">SF + BUG-1493438</a>] The "Word Wrap" combo in the cell properties dialog now accepts + only Yes/No (no more <Not Set> value).</li> + <li>The context menu is now being hidden when a nested menu option is selected.</li> + <li>Table cell context menu operations are now working correctly.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1494549&group_id=75348&atid=543653">SF + BUG-1494549</a>] The code formatter was having problems with dollar signs inside + <pre> tags.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1459740&group_id=75348&atid=543655">SF + Patch-1459740</a>] The "src" element of images can now be set by styles definitions. + Thanks to joelwreed.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1437052&group_id=75348&atid=543655">SF + Patch-1437052</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1436166&group_id=75348&atid=543655">SF + Patch-1436166</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1352385&group_id=75348&atid=543655">SF + Patch-1352385</a>] Small fix to the FCK.InsertHtml, FCKTools.AppendStyleSheet + and FCKSelection.SelectNode functions over IE. Thanks to Alfonso Martinez.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1349765&group_id=75348&atid=543655">SF + Patch-1349765</a>] Small fix to the FCKSelection.GetType over Firefox. Thanks to + Alfonso Martinez.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543655&aid=1495422&group_id=75348">SF + Patch-1495422</a>] The editor now creates link based on the URL when no selection + is available. Thanks to Dominik Pesch.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543655&aid=1478859&group_id=75348">SF + Patch-1478859</a>] On some circumstances, the Yahoo popup blocker was blocking the + File Browser window, giving no feedback to the user. Now an alert message is displayed.</li> + <li>When using the editor in a RTL localized interface, like Arabic, the toolbar combos + were not showing completely in the first click. Fixed.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1500212&group_id=75348">SF + BUG-1500212</a>] All "_samples/html" samples are now working when loading directly + from the Windows Explorer. Thanks to Alfonso Martinez.</li> + <li>The "FitWindow" feature was breaking the editor under Firefox 1.0.x.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1500032&group_id=75348&atid=543655">SF + Patch-1500032</a>] In Firefox, the caret position now follows the user clicks when + clicking in the white area bellow the editor contents. Thanks to Alfonso Martinez.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1499522&group_id=75348">SF + BUG-1499522</a>] In Firefox, the link dialog window was loosing the focus (and quickly + reacquiring it) when opening. This behavior was blocking the dialog in some Linux + installations. </li> + <li>Drastically improved the loading performance of the file list in the default File + Browser.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1503059&group_id=75348">SF + BUG-1503059</a>] The default "BasePath" for FCKeditor in all integration files has + been now unified to "/fckeditor/" (lower-case). This is the usual casing system + in case sensitive OSs like Linux.</li> + <li>The "DisableFFTableHandles" setting is now honored when switching the full screen + mode with FitWindow.</li> + <li>Some fixes has been applied to the cell merging in Firefox.</li> + </ul> + <p> + * This version has been partially sponsored by <a href="http://www.footsteps.nl/">Footsteps</a> + and <a href="http://www.kentico.com/">Kentico</a>.</p> + <h3> + Version 2.3 Beta</h3> + <p> + New Features and Improvements:</p> + <ul> + <li><span><strong>Extremely Fast Loading!</strong> The editor now loads more than 3 + times faster than before, with no impact on its advanced features.</span> </li> + <li><span><strong>New toolbar system</strong>:</span> + <ul> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1454850&group_id=75348&atid=543656">SF + Feature-1454850</a>] The toolbar will now <strong>load much faster</strong>. All + images have being merged in a single image file using a unique system available + only with FCKeditor. </li> + <li>The "Text Color" and "Background Color" commands buttons have + enhancements on the interface.</li> + <li><strong><span style="color: #ff0000">Attention</span></strong>: As a completely + new system has being developed. Skins created for versions prior this one will not + work. Skin styles definitions have being merged, added and removed. All skins have + been a little bit reviewed. </li> + <li>It is possible to <strong>detach the toolbar</strong> from an editor instance and + share it with other instances. In this way you may have only one toolbar (in the + top of the window, for example, that can be used by many editors (see <a href="_samples/html/sample10.html"> + sample10.html</a>). This feature is still under development (issues with IE + focus still to be solved).* </li> + </ul> + </li> + <li><strong><span>New context menu system</span></strong>: + <ul> + <li>It uses the same (fast) loading system as the toolbar. </li> + <li>Sub-Menus are now available to group features (try the context menu over a table + cell). </li> + <li>It is now possible to create your own context menu entries by creating plugins. + </li> + </ul> + </li> + <li><strong>New "FitWindow" toolbar button</strong>, based on the <a href="https://sourceforge.net/tracker/index.php?func=detail&aid=1431638&group_id=75348&atid=737639"> + plugin</a> published by Paul Moers. Thanks Paul!</li> + <li><strong>"Auto Grow" Plugin</strong>: automatically resizes the editor + until a maximum height, based on its contents size.** </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1444943&group_id=75348&atid=543656">SF + Feature-1444943</a>] <strong>Multiple CSS files</strong> can now be used in the + editing area. Just define FCKConfig.EditorAreaCSS as an array of strings (each one + is a path to a different css file). It works also as a simple string, as on prior + versions. </li> + <li>New language files:<ul> + <li><strong>Bengali / Bangla</strong> (by Richard Walledge).</li> + <li><strong>English (Canadian)</strong> (by Kevin Bennett). </li> + <li><strong>Khmer</strong> (by Sengtha Chay).</li> + </ul> + </li> + <li>The source view is now available in the editing area on Gecko browsers. Previously + a popup was used for it (due to a Firefox bug). </li> + <li><span>As some people may prefer the popup way for source editing, a new configuration + option (SourcePopup) has being introduced.</span> </li> + <li>The IEForceVScroll configuration option has been removed. The editor now automatically + shows the vertical scrollbar when needed (for XHTML doctypes). </li> + <li>The configuration file doesn't define a default DOCTYPE to be used now. </li> + <li>It is now possible to easily change the toolbar using the JavaScript API by just + calling <EditorInstance>.ToolbarSet.Load( '<ToolbarName>' ). See _testcases/010.html + for a sample. </li> + <li>The "OnBlur" and "OnFocus" JavaScript API events are now compatible + with all supported browsers. </li> + <li>Some few updates in the Lasso connector and uploader. </li> + <li>The GeckoUseSPAN setting is now set to "false" by default. In this way, the code + produced by the bold, italic and underline commands are the same on all browsers.</li> + </ul> + <p> + Fixed Bugs:</p> + <ul> + <li><strong>Important security fixes have been applied to the File Manager, Uploader + and Connectors. Upgrade is highly recommended.</strong> Thanks to Alberto Moro, + Baudouin Lamourere and James Bercegay.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1399966&group_id=75348&atid=543653">SF + BUG-1399966</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1249853&group_id=75348&atid=543653">SF + BUG-1249853</a>] The "BaseHref" configuration is now working with + Firefox in both normal and full page modes.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1405263&group_id=75348&atid=543653">SF + BUG-1405263</a>] A typo in the configuration file was impacting the Quick Upload + feature. </li> + <li>Nested <ul> and <ol> tags are now generating valid html.</li> + <li>The "wmode" and "quality" attributes are now preserved for Flash + embed tags, in case they are entered manually in the source view. Also, empty attributes + are removed from that tag. </li> + <li>Tables where not being created correctly on Opera. </li> + <li>The XHTML processor will ignore invalid tags with names ending with ":", + like http:. </li> + <li><span>On Firefox, the scrollbar is not anymore displayed on toolbar dropdown commands + when not needed.</span> </li> + <li><span>Some small fixes have being done to the dropdown commands rendering for FF</span>. + </li> + <li>The table dialog window has been a little bit enlarged to avoid contents being cropped + on some languages, like Russian. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1465203&group_id=75348&atid=543653">SF + BUG-1465203</a>] The ieSpell download URL has been updated. The problem is that + they don't have a fixed URL for it, so let's hope the mirror will be up for it. + </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1456332&group_id=75348&atid=543653">SF + BUG-1456332</a>] Small fix in the Spanish language file. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1457078&group_id=75348&atid=543653">SF + BUG-1457078</a>] The File Manager was generating 404 calls in the server. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1459846&group_id=75348&atid=543653">SF + BUG-1459846</a>] Fixed a problem with the config file if PHP is set to parse .js + files. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1432120&group_id=75348&atid=543653">SF + BUG-1432120</a>] The "UserFilesAbsolutePath" setting is not correctly + used in the PHP uploader. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1432120&group_id=75348&atid=543653">SF + BUG-1408869</a>] The collapse handler is now rendering correctly in Firefox 1.5. + </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1410082&group_id=75348&atid=543653">SF + BUG-1410082</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1424240&group_id=75348&atid=543653">SF + BUG-1424240</a>] The "moz-bindings.xml" file is now well formed. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1413980&group_id=75348&atid=543653">SF + BUG-1413980</a>] All frameborder "yes/no" values have been changes to + "1/0". </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1414101&group_id=75348&atid=543653">SF + BUG-1414101</a>] The fake table borders are now showing correctly when running under + the "file://" protocol. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1414155&group_id=75348&atid=543653">SF + BUG-1414155</a>] Small typo in the cell properties dialog window.</li> + <li>Fixed a problem in the File Manager. It was not working well with folder or file + names with apostrophes ('). Thanks to René de Jong.</li> + <li>Small "lenght" type corrected in the select dialog window. Thanks to Bernd Nussbaumer.</li> + <li>The about box is now showing correctly in Firefox 1.5.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1464020&group_id=75348&atid=543655">SF + Patch-1464020</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155793&group_id=75348&atid=543653">SF + BUG-1155793</a>] The "Unlink" command is now working correctly under Firefox + if you don't have a complete link selection. Thanks to Johnny Egeland.</li> + <li>In the File Manager, it was not possible to upload files to folders with ampersands + in the name. Thanks to Mike Pone.</li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1178359&group_id=75348&atid=543653">SF + BUG-1178359</a>] Elements from the toolbar are not anymore draggable in the editing + area.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1487544&group_id=75348&atid=543653">SF + BUG-1487544</a>] Fixed a small issue in the code formatter for <br /> and + <hr /> tags.</li> + <li>The "Background Color" command now works correctly when the GeckoUseSPAN setting + is disabled (default).</li> + <li>Links are now rendered in blue with Firefox (they were black before). Actually, + an entry for it has been added to the editing area CSS, so you can customize with + the color you prefer. </li> + </ul> + <p> + * This version has been partially sponsored by <a href="http://www.footsteps.nl/">Footsteps</a> + and <a href="http://www.kentico.com/">Kentico</a>. + <br /> + ** This version has been partially sponsored by <a href="http://www.nextide.ca/">Nextide</a>.</p> + <h3> + Version 2.2</h3> + <p> + New Features and Improvements:</p> + <ul> + <li>Let's welcome Wim Lemmens (didgiman). He's our new responsible for the ColdFusion + integration. In this version we are introducing his new files with the following + changes: + <ul> + <li>The "<strong>Uploader</strong>", used for quick uploads, is now available + <strong>natively for ColdFusion</strong>. </li> + <li>Small bugs have been corrected in the <strong>File Browser connector</strong>. </li> + <li>The samples now work as is, even if you don't install the editor in the "/FCKeditor" + directory.</li> + </ul> + </li> + <li>And a big welcome also to "Andrew Liu", our responsible for the <strong> + Python</strong> integration. This version is bringing <strong>native support for Python</strong> + , including the File Browser connector and Quick Upload. </li> + <li>The "<strong>IsDirty()</strong>" and "<strong>ResetIsDirty()</strong>" + functions have been added to the JavaScript API to check if the editor + content has been changed.* </li> + <li>New language files: + <ul> + <li><strong>Hindi</strong> (by Utkarshraj Atmaram) </li> + <li><strong>Latvian </strong>(by Janis Klavinš)</li> + </ul> + </li> + <li>For the interface, now we have complete <strong>RTL support</strong> also for + the drop-down toolbar commands, color selectors and context menu. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1325113&group_id=75348&atid=543653">SF + BUG-1325113</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1277661&group_id=75348&atid=543653">SF + BUG-1277661</a>] The new "Delete Table" command is available in the + Context Menu when right-clicking inside a table. </li> + <li>The "FCKConfig.DisableTableHandles" configuration option is now working + on Firefox 1.5. </li> + <li>The new "<strong>OnBlur</strong>" and "<strong>OnFocus</strong>" + events have been added to the JavaScript API (IE only). See "_samples/html/sample09.html" * + </li> + <li><strong><font color="#ff0000">Attention</font></strong>: The "<strong>GetHTML</strong>" + function has been deprecated. It now returns the same value as "<strong>GetXHTML</strong>". + The same is valid for the "EnableXHTML" and "EnableSourceXHTML" + that have no effects now. The editor now works with XHTML output only. </li> + <li><strong><font color="#ff0000">Attention</font></strong>: A new "<strong>PreserveSessionOnFileBrowser</strong>" + configuration option has been introduced. It makes it possible to set whenever is + needed to maintain the user session in the File Browser. It is disabled by default, + as it has very specific usage and may cause the File Browser to be blocked by popup + blockers. If you have custom File Browsers that depends on session information, + remember to activate it. </li> + <li><strong><font color="#ff0000">Attention</font></strong>: The "<strong>fun</strong>" + smileys set has been removed from the package. If you are using it, you must manually + copy it to newer installations and upgrades. </li> + <li><strong><font color="#ff0000">Attention</font></strong>: The "<strong>mcpuk</strong>" + file browser has been removed from the package. We have no ways to support it. There + were also some licensing issues with it. Its web site can still be found at <a href="http://mcpuk.net/fbxp/"> + http://mcpuk.net/fbxp/</a>. </li> + <li>It is now possible to set different CSS styles for the chars in the Special Chars + dialog window by adding the "SpecialCharsOut" and "SpecialCharsOver" + in the "fck_dialog.css" skin file.* </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1268726&group_id=75348&atid=543655">SF + Patch-1268726</a>] Added table "summary" support in the table dialog. + Thanks to Sebastien-Mahe. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1284380&group_id=75348&atid=543655">SF + Patch-1284380</a>] It is now possible to define the icon of a FCKToolbarPanelButton + object without being tied to the skin path (just like FCKToolbarButton). Thanks + to Ian Sullivan. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1338610&group_id=75348&atid=543655">SF + Patch-1338610</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1263009&group_id=75348&atid=543656">SF + Patch-1263009</a>] New characters have been added to the "Special Characters" + dialog window. Thanks to Deian. </li> + <li>You can set the QueryString value "fckdebug=true" to activate "debug + mode" in the editor (showing the debug window), overriding the configurations. + The "AllowQueryStringDebug" configuration option is also available so + you can disable this feature.</li> + </ul> + <p> + Fixed Bugs:</p> + <ul> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1363548&group_id=75348&atid=543653">SF + BUG-1363548</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1364425&group_id=75348&atid=543653">SF + BUG-1364425</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1335045&group_id=75348&atid=543653">SF + BUG-1335045</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1289661&group_id=75348&atid=543653">SF + BUG-1289661</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1225370&group_id=75348&atid=543653">SF + BUG-1225370</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1156291&group_id=75348&atid=543653">SF + BUG-1156291</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1165914&group_id=75348&atid=543653">SF + BUG-1165914</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1111877&group_id=75348&atid=543653">SF + BUG-1111877</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1092373&group_id=75348&atid=543653">SF + BUG-1092373</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1101596&group_id=75348&atid=543653">SF + BUG-1101596</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1246952&group_id=75348&atid=543653">SF + BUG-1246952</a>] The URLs for links and + images are now correctly preserved as entered, no matter if you are using relative + or absolute paths. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1162809&group_id=75348&atid=543653">SF + BUG-1162809</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1205638&group_id=75348&atid=543653">SF + BUG-1205638</a>] The "Image" and "Flash" dialog windows + now loads the preview correctly if the "BaseHref" configuration option + is set. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1329807&group_id=75348&atid=543653">SF + BUG-1329807</a>] The alert boxes are now showing correctly when doing cut/copy/paste + operations on Firefox installations when it is not possible to execute that operations + due to security settings. </li> + <li>A new "Panel" system (used in the drop-dowm toolbar commands, color selectors + and context menu) has been developed. The following bugs have been fixed with it: + <ul> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1186927&group_id=75348&atid=543653">SF + BUG-1186927</a>] On IE, sometimes the context menu was being partially hidden.* + </li> + <li>On Firefox, the context menu was flashing in the wrong position before showing. + </li> + <li>On Firefox 1.5, the Color Selector was not working. </li> + <li>On Firefox 1.5, the fonts in the panels were too big. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1076435&group_id=75348&atid=543653">SF + BUG-1076435</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1200631&group_id=75348&atid=543653">SF + BUG-1200631</a>] On Firefox, sometimes the context menu was being shown in the + wrong position.</li> + </ul> + </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1364094&group_id=75348">SF + BUG-1364094</a>] Font families were <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=317572"> + not being rendered correctly on Firefox</a> . </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1315954&group_id=75348">SF + BUG-1315954</a>] No error is thrown when pasting some case specific code from editor + to editor. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1341553&group_id=75348&atid=543653">SF + BUG-1341553</a>] A small fix for a security alert in the File Browser has been + applied. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1370953&group_id=75348&atid=543653">SF + BUG-1370953</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1339898&group_id=75348&atid=543653">SF + BUG-1339898</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1323319&group_id=75348&atid=543653">SF + BUG-1323319</a>] A message will be shown to the user (instead of a JS error) if + a "popup blocker" blocks the "Browser Server" button. Thanks + to Erwin Verdonk. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1370355&group_id=75348&atid=543653">SF + BUG-1370355</a>] Anchor links that points to a single character anchor, like "#A", + are now correctly detected in the Link dialog window. Thanks to Ricky Casey. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1368998&group_id=75348&atid=543653">SF + BUG-1368998</a>] Custom error processing has been added to the file upload on the + File Browser. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1367802&group_id=75348&atid=543653">SF + BUG-1367802</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1207740&group_id=75348&atid=543653">SF + BUG-1207740</a>] A message is shown to the user if a dialog box is blocked by + a popup blocker in Firefox. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1358891&group_id=75348&atid=543653">SF + BUG-1358891</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1340960&group_id=75348&atid=543653">SF + BUG-1340960</a>] The editor not works locally (without a web server) on directories + where the path contains spaces. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1357247&group_id=75348&atid=543653">SF + BUG-1357247</a>] The editor now intercepts SHIFT + INS keystrokes when needed. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1328488&group_id=75348&atid=543653">SF + BUG-1328488</a>] <strong><font color="#ff0000">Attention</font></strong>: The Page + Break command now produces different tags to avoid XHTML compatibility + issues. Any Page Break previously applied to content produced with previous versions + of FCKeditor will not me rendered now, even if they will still be working correctly. + </li> + <li>It is now possible to allow cut/copy/past operations on Firefox using the <a + href="http://kb.mozillazine.org/Granting_JavaScript_access_to_the_clipboard" + target="_blank">user.js</a> file. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1336792&group_id=75348&atid=543653">SF + BUG-1336792</a>] A fix has been applied to the XHTML processor to allow tag names + with the "minus" char (-). </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1339560&group_id=75348&atid=543653">SF + BUG-1339560</a>] The editor now correctly removes the "selected" option + for checkboxes and radio buttons. </li> + <li>The Table dialog box now selects the table correctly when right-clicking on objects + (like images) placed inside the table. </li> + <li><strong><font color="#ff0000">Attention</font></strong>: A few changes have been + made in the skins. If you have a custom skin, it is recommended you to make a diff + of the fck_contextmenu.css file of the default skin with your implementation. </li> + <li>Mouse select (marking things in blue, like selecting text) has been disabled + on panels (drop-down menu commands, color selector and context menu) and toolbar, + for both IE and Firefox. </li> + <li>On Gecko, fake borders will not be applied to tables with the border attribute set + to more than 0, but placed inside tables with border set to 0. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1360717&group_id=75348&atid=543653">SF + BUG-1360717</a>] A wrapping issue in the "Silver" skin has been corrected. + Thanks to Ricky Casey. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1251145&group_id=75348&atid=543653">SF + BUG-1251145</a>] In IE, the focus is now maintained in the text when clicking in + the empty area following it. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1181386&group_id=75348&atid=543653">SF + BUG-1181386</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1237791&group_id=75348&atid=543653">SF + BUG-1237791</a>] The "Stylesheet Classes" field in the Link dialog + window in now applied correctly on IE. Thanks to Andrew Crowe. </li> + <li>The "Past from Word" dialog windows is now showing correctly on Firefox + on some languages. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1315008&group_id=75348&atid=543653">SF + BUG-1315008</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1241992&group_id=75348&atid=543653">SF + BUG-1241992</a>] IE, when selecting objects (like images) and hitting the "Backspace" + button, the browser's "back" will not get executed anymore and the object + will be correctly deleted. </li> + <li>The "AutoDetectPasteFromWord" is now working correctly in IE. Thanks to + Juan Ant. Gómez. </li> + <li>A small enhancement has been made in the Word pasting detection. Thanks to Juan + Ant. Gómez. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1090686&group_id=75348&atid=543653">SF + BUG-1090686</a>] No more conflict with Firefox "Type-Ahead Find" feature. + </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=942653&group_id=75348&atid=543653">SF + BUG-942653</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1155856&group_id=75348&atid=543653">SF + BUG-1155856</a>] The "width" and "height" of images sized + using the inline handlers are now correctly loaded in the image dialog box. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1209093&group_id=75348&atid=543653">SF + BUG-1209093</a>] When "Full Page Editing" is active, in the "Document + Properties" dialog, the "Browse Server" button for the page background + is now correctly hidden if "ImageBrowser" is set to "false" + in the configurations file. Thanks to Richard. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1120266&group_id=75348&atid=543653">SF + BUG-1120266</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1186196&group_id=75348&atid=543653">SF + BUG-1186196</a>] The editor now retains the focus when selecting commands in + the toolbar. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1244480&group_id=75348&atid=543653">SF + BUG-1244480</a>] The editor now will look first to linked fields "ids" + and second to "names". </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1252905&group_id=75348&atid=543653">SF + BUG-1252905</a>] The "InsertHtml" function now preserves URLs as entered. + </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1266317&group_id=75348&atid=543653">SF + BUG-1266317</a>] Toolbar commands are not anymore executed outside the editor. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1365664&group_id=75348&atid=543653">SF + BUG-1365664</a>] The "wrap=virtual" attribute has been removed from the + integration files for validation purposes. No big impact. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=972193&group_id=75348&atid=543653">SF + BUG-972193</a>] Now just one click is needed to active the cursor inside the editor. + </li> + <li>The hidden fields used by the editor are now protected from changes using the "Web + Developer Add-On > Forms > Display Forms Details" extension. Thanks to + Jean-Marie Griess. </li> + <li>On IE, the "Format" toolbar dropdown now reflects the current paragraph + type on IE. Because of a bug in the browser, it is quite dependent on the browser + language and the editor interface language (both must be the same). Also, as the + "Normal (DIV)" type is seen by IE as "Normal", to avoid confusion, + both types are ignored by this fix. </li> + <li>On some very rare cases, IE was loosing the "align" attribute for DIV + tags. Fixed. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1388799&group_id=75348">SF + BUG-1388799</a>] The code formatter was removing spaces on the beginning of lines + inside PRE tags. Fixed. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1387135&group_id=75348&atid=543653">SF + BUG-1387135</a>] No more "NaN" values in the image dialog, when changing + the sizes in some situations. </li> + <li>Corrected a small type in the table handler. </li> + <li>You can now set the "z-index" for floating panels (toolbar dropdowns, + color selectors, context menu) in Firefox, avoiding having them hidden under another + objects. By default it is set to 10,000. Use the FloatingPanelsZIndex configuration + option to change this value.</li> + </ul> + <p> + <strong>Special thanks</strong> to <a target="_blank" href="https://sourceforge.net/users/alfonsoml/"> + Alfonso Martinez</a>, who have provided many patches and suggestions for the + following features / fixes present in this version. I encourage all you to <a href="https://sourceforge.net/donate/index.php?user_id=1356422"> + donate</a> to Alfonso, as a way to say thanks for his nice open source approach. + Thanks Alfonso!. Check out his contributions:</p> + <ul> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1364094&group_id=75348">SF + BUG-1352539</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1208348&group_id=75348&atid=543653">SF + BUG-1208348</a>] With Firefox, no more "fake" selections are appearing + when inserting images, tables, special chars or when using the "insertHtml" + function. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543655&aid=1382588&group_id=75348">SF + Patch-1382588</a>] The "FCKConfig.DisableImageHandles" configuration option + is not working on Firefox 1.5. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1368586&group_id=75348&atid=543655">SF + Patch-1368586</a>] Some fixes have been applied to the Flash dialog box and the + Flash pre-processor. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1360253&group_id=75348&atid=543655">SF + Patch-1360253</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1378782&group_id=75348&atid=543653">SF + BUG-1378782</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1305899&group_id=75348&atid=543653">SF + BUG-1305899</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1344738&group_id=75348&atid=543653">SF + BUG-1344738</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1347808&group_id=75348&atid=543653">SF + BUG-1347808</a>] On dialogs, some fields became impossible + to select or change when using Firefox. It has been fixed. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1357445&group_id=75348&atid=543655">SF + Patch-1357445</a>] Add support for DIV in the Format drop-down combo for Firefox. + </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1350465&group_id=75348&atid=543653">SF + BUG-1350465</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1376175&group_id=75348&atid=543653">SF + BUG-1376175</a>] The "Cell Properties" dialog now works correctly + when right-clicking in an object (image, for example) placed inside the cell itself. + </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1349166&group_id=75348&atid=543655">SF + Patch-1349166</a>] On IE, there is now support for namespaces on tags names. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1350552&group_id=75348&atid=543655">SF + Patch-1350552</a>] Fix the display issue when applying styles on tables. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1352320&group_id=75348&atid=543655">SF + Patch-1352320</a> ] Fixed a wrong usage of the "parentElement" + property on Gecko. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1355007&group_id=75348&atid=543655">SF + Patch-1355007</a>] The new "FCKDebug.OutputObject" function is available + to dump all object information in the debug window. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1329500&group_id=75348&atid=543655">SF + Patch-1329500</a>] It is now possible to delete table columns when clicking on a + TH cell of the column. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1315351&group_id=75348&atid=543655">SF + Patch-1315351</a>] It is now possible to pass the image width and height to the + "SetUrl" function of the Flash dialog box. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1327384&group_id=75348&atid=543655">SF + Patch-1327384</a>] TH tags are now correctly handled by the source code formatter + and the "FillEmptyBlocks" configuration option. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1327406&group_id=75348&atid=543655">SF + Patch-1327406</a>] Fake borders are now displayed for TH elements on tables with + border set to 0. Also, on Firefox, it will now work even if the border attribute + is not defined and the borders are not dotted. </li> + <li>Hidden fields now get rendered on Firefox. </li> + <li>The BasePath is now included in the debugger URL to avoid problems when calling + it from plugins.</li> + </ul> + <p> + * This version has been partially sponsored by <a target="_blank" href="http://www.alkacon.com"> + Alkacon Software</a>.</p> + <h3> + Version 2.1.1</h3> + <p> + New Features and Improvements:</p> + <ul> + <li>The new "<strong>Insert Page Break</strong>" command (for printing) has + been introduced.* </li> + <li>The editor package now has a root directory called "FCKeditor".</li> + </ul> + <p> + Fixed Bugs:</p> + <ul> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1326285&group_id=75348&atid=543653">SF + BUG-1326285</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1316430&group_id=75348&atid=543653">SF + BUG-1316430</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1323662&group_id=75348&atid=543653">SF + BUG-1323662</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1326223&group_id=75348&atid=543653">SF + BUG-1326223</a>] 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 bugs and so + its preferable to not have that feature, avoiding problems (even if that feature + was intended to solve some issues). </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1289372&group_id=75348&atid=543653">SF + BUG-1275714</a>] Comments in the beginning of the source are now preserved when + using the "undo" and "redo" commands. </li> + <li>The "undo" and "redo" commands now work for the Style command. + </li> + <li>An error in the execution of the pasting commands on Firefox has been fixed. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1326184&group_id=75348">SF + BUG-1326184</a>] No strange (invalid) entities are created when using Firefox. Also, + the used by the FillEmptyBlocks setting is maintained even if you disable + the ProcessHTMLEntities setting.</li> + </ul> + <p> + * This version has been partially sponsored by <a target="_blank" href="http://www.acttive.com.br/"> + Acctive Software S.A.</a>.</p> + <h3> + Version 2.1</h3> + <p> + New Features and Improvements:</p> + <ul> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1200328&group_id=75348&atid=543653">SF + BUG-1200328</a>] 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 regular expressions. + See fckconfig.js for some samples. </li> + <li>The editor now offers native support for <strong>Lasso</strong>. Thanks and welcome to + our new developer Jason Huck. </li> + <li>New language files are available: + <ul> + <li><strong>Faraose</strong> (by Símin Lassaberg and Helgi Arnthorsson) + </li> + <li><strong>Malay</strong> (by Fairul Izham Mohd Mokhlas) </li> + <li><strong>Mongolian</strong> (by Lkamtseren Odonbaatar) </li> + <li><strong>Vietnamese</strong> (by Phan Binh Giang)</li> + </ul> + </li> + <li>A new configurable ColdFusion connector is available. Thanks to Mark Woods. + Many enhancements has been introduced with it. </li> + <li>The PHP connector for the default File Browser now sorts the folders and files names. + </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1289372&group_id=75348&atid=543653">SF + BUG-1289372</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1282758&group_id=75348&atid=543653">SF + BUG-1282758</a>] In the PHP connector it is now possible to set the absolute + (server) path to the User Files directory, avoiding problems with Virtual Directories, + Symbolic Links or Aliases. Take a look at the config.php file. </li> + <li>The ASP.Net uploader (for Quick Uploads) has been added to the package. </li> + <li>A new way to define <strong>simple "combo" toolbar items</strong> , like + Style and Font, has been introduced. Thanks to Steve Lineberry. See + sample06.html and the "simplecommands" plugin to fully understand + it. </li> + <li>A new test case has been added that shows how to set the editor background dynamically + without using a CSS. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155906&group_id=75348&atid=543653">SF + BUG-1155906</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1110116&group_id=75348&atid=543653">SF + BUG-1110116</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1216332&group_id=75348&atid=543653">SF + BUG-1216332</a>] The "AutoDetectPasteFromWord" configuration option + is back (IE only feature). </li> + <li>The new "OnAfterLinkedFieldUpdate" event has been introduced. If + is fired when the editor updates its hidden associated field. </li> + <li>Attention: The color of the right border of the toolbar (left on RTL interfaces) + has been moved from code to the CSS (TB_SideBorder class). Update your custom skins. + </li> + <li>A sample "htaccess.txt" file has been added to the editor's package + to show how to configure some Linux sites that could present problems on Firefox + with "Illegal characters" errors. Respectively the "" + chars. </li> + <li>With the JavaScript, ASP and PHP integration files, you can set the QueryString + value "fcksource=true" to load the editor using the source files (located + in the _source directory) instead of the compressed ones. Thanks to Kae Verens for + the suggestion. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1246623&group_id=75348&atid=543656">SF + Feature-1246623</a>] The new configuration option "ForceStrongEm" has + been introduced so you can force the editor to convert all <B> and <I> + tags to <STRONG> and <EM> respectively. </li> + <li>A nice contribution has been done by Goss Interactive Ltd: + <ul> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1246949&group_id=75348&atid=543653">SF + BUG-1246949</a>] Implemented ENTER key and BACKSPACE key handlers for Gecko so that + P tags (or an appropriate block element) get inserted instead of BR tags when not + in the UseBROnCarriageReturn config mode. + <br /> + The ENTER key handling has been written to function much the same as the 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 element (P + tag) will be started. + <br /> + 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 start a new + P tag above the list; ENTER in an empty item at the bottom of a list will 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, and start + a new P tag between the two lists. </li> + <li>Any tables that are found to be incorrectly nested within a block element (P tag) + will be moved out of the block element when loaded into the editor. This is required + for the new ENTER/BACKSPACE key handlers and it also avoids non-compliant HTML. + </li> + <li>The InsertOrderedList and InsertUnorderedList commands have been overridden 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 toolbar buttons + (when not in the UseBROnCarriageReturn config mode). </li> + </ul> + </li> + </ul> + <p> + Fixed Bugs:</p> + <ul> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1253255&group_id=75348&atid=543653">SF + BUG-1253255</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1253255&group_id=75348&atid=543653">SF + BUG-1265520</a>] Due to changes on version 2.0, the anchor list was not anymore + visible in the link dialog window. It has been fixed. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1242979&group_id=75348">SF + BUG-1242979</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1251354&group_id=75348&atid=543653">SF + BUG-1251354</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1256178&group_id=75348&atid=543653">SF + BUG-1256178</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1274841&group_id=75348&atid=543653">SF + BUG-1274841</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1303949&group_id=75348&atid=543653">SF + BUG-1303949</a>] Due to a bug on Firefox, some keys stopped working + on startup over Firefox. It has been fixed. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1251373&group_id=75348&atid=543653">SF + BUG-1251373</a> ] The above fix also has corrected some strange behaviors on + Firefox. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1144258">SF + BUG-1144258</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1092081">SF + BUG-1092081</a>] The File Browsers now run on the same server session used + in the page where the editor is placed in (IE issue). Thanks to Simone Chiaretta. + </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1305619&group_id=75348&atid=543653">SF + BUG-1305619</a> ] No more repeated login dialogs when running the editor with Windows + Integrated Security with IIS. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1245304&group_id=75348&atid=543655">SF + Patch-1245304</a>] The Test Case 004 is now working correctly. It has been changed + to set the editor hidden at startup. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1290610&group_id=75348&atid=543653">SF + BUG-1290610</a> ] Over HTTPS, there were some warnings when loading the Images, + Flash and Link dialogs. Fixed. </li> + <li>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 needed when + showing the editor (as in a tabbed interface). </li> + <li>An invalid path in the dialogs CSS file has been corrected. </li> + <li>On IE, the Undo/Redo can now be controlled using the Ctrl+Z and Ctrl+Y shortcut + keys. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1295538&group_id=75348&atid=543653">SF + BUG-1295538</a> ] A few Undo/Redo fixes for IE have been done. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1247070&group_id=75348&atid=543653">SF + BUG-1247070</a>] On Gecko, it is now possible to use the shortcut keys for Bold + (CTRL+B), Italic (CTRL+I) and Underline (CTRL+U), like in IE. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1274303&group_id=75348&atid=543653">SF + BUG-1274303</a>] The "Insert Column" command is now working correctly + on TH cells. It also copies any attribute applied to the source cells. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1287070&group_id=75348&atid=543655">SF + Patch-1287070</a> ] In the Universal Keyboard, the Arabic keystrokes translator + is now working with Firefox. Thanks again to Abdul-Aziz Al-Oraij. </li> + <li>The editor now handles AJAX requests with HTTP status 304. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1157780&group_id=75348&atid=543653">SF + BUG-1157780</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1229077&group_id=75348&atid=543653">SF + BUG-1229077</a>] Weird comments are now handled correctly (ignored on some cases). + </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155774&group_id=75348&atid=543653">SF + BUG-1155774</a>] A spelling error in the Bulleted List Properties dialog has been + corrected. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1272018&group_id=75348&atid=543653">SF + BUG-1272018</a>] The ampersand character can now be added from the Special Chars + dialog. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1263161&group_id=75348&atid=543653">SF + BUG-1263161</a>] A small fix has been applied to the sampleposteddata.php file. + Thanks to Mike Wallace. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1241504&group_id=75348&atid=543653">SF + BUG-1241504</a>] The editor now looks also for the ID of the hidden linked field. + </li> + <li>The caption property on tables is now working on Gecko. Thanks to Helen Somers (Goss + Interactive Ltd). </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1297431&group_id=75348&atid=543653">SF + BUG-1297431</a>] With IE, the editor now works locally when its files are placed + in a directory path that contains spaces. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1279551&group_id=75348&atid=543653">SF + BUG-1279551</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1242105&group_id=75348&atid=543653">SF + BUG-1242105</a>] On IE, some features are dependant of ActiveX components (secure... + distributed with IE itself). Some security setting could avoid the usage of + those components and the editor would stop working. Now a message is shown, indicating + the use the minimum necessary settings need by the editor to run. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1298880&group_id=75348&atid=543653">SF + BUG-1298880</a>] Firefox can't handle the STRONG and EM tags. Those tags are now + converted to B and I so it works accordingly. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1271723&group_id=75348&atid=543653">SF + BUG-1271723</a>] On IE, it is now possible to select the text and work correctly + in the contents of absolute positioned/dimensioned divs. </li> + <li>On IE, there is no need to click twice in the editor to activate the cursor + in the editing area. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1221621&group_id=75348">SF + BUG-1221621</a>] Many "warnings" in the Firefox console are not thrown + anymore. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1295526&group_id=75348&atid=543653">SF + BUG-1295526</a>] While editing on "FullPage" mode the basehref is + now active for CSS "link" tags. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1222584&group_id=75348&atid=543655">SF + Patch-1222584</a>] A small fix to the PHP connector has been applied. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1281313&group_id=75348&atid=543655">SF + Patch-1281313</a>] A few small changes to avoid problems with Plone. Thanks to Jean-mat. + </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1275911&group_id=75348&atid=543653">SF + BUG-1275911</a>] A check for double dots sequences on directory names on creation + has been introduced to the PHP and ASP connectors.</li> + </ul> + <h3> + Version 2.0</h3> + <p> + New Features and Improvements:</p> + <ul> + <li>The new "<strong>Flash</strong>" 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 possible + to see the preview of the movie while editing, so a nice "placeholder" + is used instead. * </li> + <li>A "<strong>Quick Upload</strong> " option is now available in the + link, image and flash dialog windows, so the user don't need to go (or have) the + File Browser for this operations. The ASP and PHP uploader are included. Take + a look at the configuration file.*** </li> + <li>Added support for <strong>Active FoxPro Pages</strong> . Thanks to our new developer, + Sönke Freitag. </li> + <li>It is now possible to <strong>disable the size handles</strong> for images and tables + (IE only feature). Take a look at the DisableImageHandles and DisableTableHandles + configuration options. </li> + <li>The handles on form fields (small squares around them) and the inline editing + of its contents have been disabled. This makes it easier to users to use + the controls. </li> + <li>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.** </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1225372&group_id=75348&atid=543655">SF + Patch-1225372</a>] A small change has been done to the PHP integration file. The + generic __construct constructor has been added for better PHP 5 sub-classing compatibility + (backward compatible). Thanks to Marcus Bointon.</li> + </ul> + <p> + Fixed Bugs:</p> + <ul> + <li>ATTENTION: Some security changes have been made to the connectors. Now you must + explicitly enable the connector you want to use. Please test your application before + deploying this update. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1211591">SF + BUG-1211591</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1204273&group_id=75348&atid=543653">SF + BUG-1204273</a>] The connectors have been changed so it is not possible to use + ".." on directory names. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1219734&group_id=75348&atid=543655">SF + Patch-1219734</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1219728&group_id=75348&atid=543653">SF + BUG-1219728</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1208654&group_id=75348&atid=543653">SF + BUG-1208654</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1205442&group_id=75348&atid=543653">SF + BUG-1205442</a>] There was an error in the page unload on some cases + that has been fixed. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1209708">SF + BUG-1209708</a>] [<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1214125">SF + BUG-1214125</a>] The undo on IE is now working correctly when the user starts + typing. </li> + <li>The preview now loads "Full Page" editing correctly. It also uses the + same XHTML code produced by the final output. </li> + <li>The "Templates" dialog was not working on some very specific (and strange) + occasions over IE. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1199631&group_id=75348">SF + BUG-1199631</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1171944&group_id=75348&atid=543653">SF + BUG-1171944</a>] A new option is available to avoid a bad IE behavior that shows + the horizontal scrollbar even when not needed. You can now force the vertical scrollbar + to be always visible. Just set the "IEForceVScroll" configuration option + to "true". Thanks to Grant Bartlett. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1212026&group_id=75348&atid=543655">SF + Patch-1212026</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1228860&group_id=75348&atid=543653">SF + BUG-1228860</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1211775&group_id=75348&atid=543653">SF + BUG-1211775</a>] [<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1199824">SF + BUG-1199824</a>] An error in the Packager has been corrected. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1163669">SF + BUG-1163669</a>] The XHTML processor now adds a space before the closing slash of + tags that don't have a closing tag, like <br />. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1213733&group_id=75348&atid=543653">SF + BUG-1213733</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1216866&group_id=75348&atid=543653">SF + BUG-1216866</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1209673&group_id=75348&atid=543653">SF + BUG-1209673</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155454&group_id=75348&atid=543653">SF + BUG-1155454</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1187936&group_id=75348&atid=543653">SF + BUG-1187936</a> ] Now, on Gecko, the source is opened in a + dialog window to avoid fatal errors (Gecko bugs). </li> + <li>Some pages have been changed to avoid importing errors on Plone. Thanks to Arthur + Kalmenson. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1171606&group_id=75348&atid=543653">SF + BUG-1171606</a>] There is a bug on IE that makes the editor to not work if + the instance name matches a meta tag name. Fixed. </li> + <li>On Firefox, the source code is now opened in a dialog box, to avoid error on pages + with more than one editor. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1225703&group_id=75348&atid=543655">SF + Patch-1225703</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1214941&group_id=75348&atid=543653">SF + BUG-1214941</a>] The "ForcePasteAsPlainText" configuration option + is now working correctly on Gecko browsers. Thanks to Manuel Polo. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1228836&group_id=75348&atid=543653">SF + BUG-1228836</a>] The "Show Table Borders" feature is now working on Gecko + browsers. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1212529&group_id=75348&atid=543655">SF + Patch-1212529</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1212517&group_id=75348&atid=543653">SF + BUG-1212517</a>] The default File Browser now accepts connectors with querystring + parameters (with "?"). Thanks to Tomas Jucius. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1233318&group_id=75348&atid=543653">SF + BUG-1233318</a>] A JavaScript error thrown when using the Print command has been + fixed. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1229696&group_id=75348&atid=543653">SF + BUG-1229696</a>] A regular expression has been escaped to avoid problems when opening + the code in some editors. It has been moved to a dialog window. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1231978&group_id=75348&atid=543653">SF + BUG-1231978</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1228939&group_id=75348&atid=543653">SF + BUG-1228939</a>] The Preview window is now using the Content Type and Base href. + </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1232056&group_id=75348&atid=543653">SF + BUG-1232056</a>] The anchor icon is now working correctly on IE. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1232056&group_id=75348&atid=543653">SF + BUG-1202468</a>] The anchor icon is now available on Gecko too. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1236279&group_id=75348&atid=543653">SF + BUG-1236279</a>] A security warning has been corrected when using the File Browser + over HTTPS. </li> + <li>The ASP implementation now avoid errors when setting the editor value to null values. + </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1237359&group_id=75348&atid=543653">SF + BUG-1237359</a>] The trailing <BR> added by Gecko at the end of the source + is now removed. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1170828">SF + BUG-1170828</a>] No more is added to the source when using the "New + Page" button. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1165264&group_id=75348&atid=543653">SF + BUG-1165264</a>] A new configuration option has been included to force the + editor to ignore empty paragraph values (<p> </p>), returning + empty (""). </li> + <li>No more is added when creating a table or adding columns, rows or cells. + </li> + <li>The <TD> tags are now included in the FillEmptyBlocks configuration handling. + </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1224829&group_id=75348&atid=543653">SF + BUG-1224829</a>] A small bug in the "Find" dialog has been fixed. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1221307&group_id=75348&atid=543653">SF + BUG-1221307</a>] A small bug in the "Image" dialog has been fixed. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1219981&group_id=75348&atid=543653">SF + BUG-1219981</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155726&group_id=75348&atid=543653">SF + BUG-1155726</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1178473&group_id=75348&atid=543653">SF + BUG-1178473</a>] It is handling the <FORM>, <TEXTAREA> and <SELECT> + tags "name" attribute correctly. Thanks to thc33. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1205403&group_id=75348&atid=543653">SF + BUG-1205403</a>] The checkbox and radio button values are now handled correctly + in their dialog windows. Thanks to thc33. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1236626&group_id=75348&atid=543653">SF + BUG-1236626</a>] The toolbar now doesn't need to collapse when unloading the page + (IE only). </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1212559&group_id=75348&atid=543653">SF + BUG-1212559</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1017231&group_id=75348&atid=543653">SF + BUG-1017231</a>] The "Save" button now calls the "onsubmit" + event before posting the form. The submit can be cancelled if the onsubmit returns + "false". </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1215823&group_id=75348&atid=543653">SF + BUG-1215823</a>] The editor now works correctly on Firefox if it values is set to + "<p></p>". </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1217546&group_id=75348&atid=543653">SF + BUG-1217546</a>] No error is thrown when "pasting as plain text" and no + text is available for pasting (as an image for example). </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1207031&group_id=75348&atid=543653">SF + BUG-1207031</a>] [<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1223978">SF + BUG-1223978</a>] The context menu is now available in the source view. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1213871">SF + BUG-1213871</a>] Undo has been added to table creation and table operation commands. + </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1205211&group_id=75348&atid=543653">SF + BUG-1205211</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1229941&group_id=75348&atid=543653">SF + BUG-1229941</a>] Small bug in the mcpuk file browser have been corrected.</li> + </ul> + <p> + * This version has been partially sponsored by <a target="_blank" href="http://www.infineon.com/"> + Infineon Technologies AG</a>.<br /> + ** This version has been partially sponsored by <a href="http://www.visualsoft.co.uk"> + Visualsoft</a> <a href="http://www.visualsoft.co.uk/websolutions.html">Web Solutions</a>.<br /> + *** This version has been partially sponsored by <a target="_blank" href="http://www.webcrossing.com"> + Web Crossing, Inc</a>.</p> + <h3> + Version 2.0 FC (Final Candidate)</h3> + <p> + New Features and Improvements:</p> + <ul> + <li>A new tab called "<strong>Link</strong>" is available in the<strong> Image + Dialog</strong> window. In this way you can insert or modify the image link directly + from that dialog.* </li> + <li>The new "<strong>Templates</strong>" command is now available. 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.** </li> + <li>The <a target="_blank" href="http://mcpuk.net/fbxp/">mcpuk's</a> File 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. </li> + <li>New configuration options are available to <strong>hide tabs</strong> from the <strong> + Image</strong> Dialog and <strong>Link</strong> Dialog windows: LinkDlgHideTarget, + LinkDlgHideAdvanced, ImageDlgHideLink and ImageDlgHideAdvanced. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1189442&group_id=75348&atid=543653">SF + BUG-1189442</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1187164&group_id=75348&atid=543653">SF + BUG-1187164</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1185905&group_id=75348&atid=543653">SF + BUG-1185905</a>] It is now possible to configure the editor to <strong>not convert Greek</strong> + or special <strong>Latin </strong>letters to ther specific HTML entities. You + can also configure it to not convert any character at all. Take a look at the "ProcessHTMLEntities", + "IncludeLatinEntities" and "IncludeGreekEntities" configuration + options. </li> + <li>New language files are available: + <ul> + <li><strong>Basque</strong> (by Ibon Igartua) </li> + <li><strong>English (Australia / United Kingdom)</strong> (by Christopher Dawes) </li> + <li><strong>Ukrainian</strong> (by Alexander Pervak)</li> + </ul> + </li> + <li>The version and date information have been removed from the files headers to avoid + unecessary diffs in source control systems when new versions are released (from + now on). </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1159854&group_id=75348&atid=543655">SF + Patch-1159854</a>] Ther HTML output rendered by the server side integration files + are now XHTML compatible. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1181823&group_id=75348&atid=543653">SF + BUG-1181823</a>] It is now possible to set the desired DOCTYPE to use when edit + HTML fragments (not in Full Page mode). </li> + <li>There is now an optional way to implement different "mouse over" effects + to the buttons when they are "on" of "off".</li> + </ul> + <p> + Fixed Bugs:</p> + <ul> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1162200&group_id=75348&atid=543653">SF + BUG-1162200</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1161633&group_id=75348&atid=543653">SF + BUG-1161633</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1050293&group_id=75348&atid=543653">SF + BUG-1050293</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1058948&group_id=75348&atid=543653">SF + BUG-1058948</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1109120&group_id=75348&atid=543653">SF + BUG-1109120</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155408&group_id=75348&atid=543653">SF + BUG-1155408</a>] The IE memory leak bug has been solved. The + code has been completely reviewed and many memory usage improvements have been done. + </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1179645&group_id=75348&atid=543653">SF + BUG-1179645</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1183252&group_id=75348&atid=543653">SF + BUG-1183252</a> ] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1166779&group_id=75348&atid=543653">SF + BUG-1181647</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155627&group_id=75348&atid=543653">SF + BUG-1155627</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155782&group_id=75348&atid=543653">SF + BUG-1155782</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155750&group_id=75348&atid=543653">SF + BUG-1155750</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1157166&group_id=75348&atid=543653">SF + BUG-1157166</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1157857&group_id=75348&atid=543653">SF + BUG-1157857</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1158121&group_id=75348&atid=543653">SF + BUG-1158121</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1177153&group_id=75348&atid=543653">SF + BUG-1177153</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1175847&group_id=75348&atid=543653">SF + BUG-1175847</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155747&group_id=75348&atid=543653">SF + BUG-1155747</a>] There was a loading + problem in Gecko browsers in some cases. It has been solved. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1161147&group_id=75348&atid=543653">SF + BUG-1161147</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1157635&group_id=75348&atid=543653">SF + BUG-1157635</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1149805&group_id=75348&atid=543653">SF + BUG-1149805</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1124600&group_id=75348&atid=543653">SF + BUG-1124600</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1117535&group_id=75348&atid=543653">SF + BUG-1117535</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1118145&group_id=75348&atid=543653">SF + BUG-1118145</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1098113&group_id=75348&atid=543653">SF + BUG-1098113</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1092272&group_id=75348&atid=543653">SF + BUG-1092272</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1086416&group_id=75348&atid=543653">SF + BUG-1086416</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1027952&group_id=75348&atid=543653">SF + BUG-1027952</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=978441&group_id=75348&atid=543653">SF + BUG-978441</a> ] A custom Undo/Redo system + has been implemented for IE. </li> + <li>The editor startup execution is now made in the right order (so configurations override + works correctly). </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1166779&group_id=75348&atid=543653">SF + BUG-1166779</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1166651&group_id=75348&atid=543653">SF + BUG-1166651</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1066198&group_id=75348&atid=543653">SF + BUG-1066198</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1090388&group_id=75348&atid=543653">SF + BUG-1090388</a> ] No more "illegible" characters in the + toolbar when "ClearType" is active. </li> + <li>It is now possible to set the "width" style of the BODY tag in the EditorAreaCSS + to limit the editing area size. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1113620&group_id=75348&atid=543653">SF + BUG-1113620</a>] In IE, the editor doesn't generate new entries in the browser history + anymore. </li> + <li>The editor now uses the same method used on version RC2 to load its contents on + Gecko. It is now possible to have more than one editor in the page. This change + has a negative impact: the BaseHref property is not working. </li> + <li>Changes have been made to make the editor work with PHP versions older than 2.1.0. + </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1190835&group_id=75348&atid=543653">SF + BUG-1190835</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1196547&group_id=75348">SF + BUG-1196547</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1156863&group_id=75348&atid=543653">SF + BUG-1156863</a>] The "Insert Horizontal Line" command is now working + correctly. Thanks to Hector Raul Colonia Coral. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1101861&group_id=75348&atid=543653">SF + BUG-1101861</a>] The editor now shows a normal textarea correctly (as expected) + on Safari browsers (and all "like Gecko" browsers). Thanks to Bob Paul. + </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1182224&group_id=75348&atid=543653">SF + BUG-1182224</a>] The PHP connector can now handle file extensions in upper case, like + JPG or Gif, correctly. Thanks to Georg Ivancsic. </li> + <li>The "sample06.html" is now working correctly with Gecko browsers. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1156660&group_id=75348&atid=543653">SF + BUG-1156660</a>] Some fixes have been applied to the Universal Keyboard. Thanks + to Abdul-Aziz Al-Oraij. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1192881&group_id=75348&atid=543653">SF + BUG-1192881</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1185006&group_id=75348&atid=543653">SF + BUG-1185006</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1156068&group_id=75348&atid=543653">SF + BUG-1156068</a>] The "Browse Server" button is now working correctly + for the Background Image in the "Document Properties" dialog window (full + page editing). The active "BaseHref" is also set to the preview window. + </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1191704&group_id=75348&atid=543653">SF + BUG-1191704</a>] Invalid HTML tags (according to the W3C naming standards for XHTML) + are ignored with no errors. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1185911&group_id=75348&atid=543653">SF + BUG-1185911</a>] The Greek language file name has been corrected to "el.js". + </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1181572&group_id=75348&atid=543653">SF + BUG-1181572</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1158421&group_id=75348&atid=543653">SF + BUG-1158421</a>] The "Print" button is now active on startup. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1181572&group_id=75348&atid=543653">SF + BUG-1165219</a>] No error occours when the user defines just one color to the FontColors + on "in page" configurations. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1162957&group_id=75348&atid=543653">SF + BUG-1162957</a>] The small problem with Zope (ZPT) has been solved. </li> + <li>Some small RTL / LTR corrections has been done in the interface and the Farsi language + has been added to the Universal Keyboard. Thanks to Silver Baghdasarian.</li> + </ul> + <p> + * This version has been partially sponsored by the <a href="http://www.hamilton.edu"> + Hamilton College</a>.<br /> + ** This version has been partially sponsored by <a target="_blank" href="http://www.infineon.com/"> + Infineon Technologies AG</a>.</p> + <h3> + Version 2.0 RC3 (Release Candidate 3)</h3> + <p> + New Features and Improvements:</p> + <ul> + <li>The editor now offers native <strong>Perl integration</strong>! Thanks and welcome + to Takashi Yamaguchi, our official Perl developer. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1026584&group_id=75348&atid=543656">SF + Feature-1026584</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1112692&group_id=75348&atid=543656">SF + Feature-1112692</a>] <strong>Formatting </strong>has been introduced to the + <strong>Source View</strong>. The output HTML can also be formatted. You can choose + to use spaces or tab for indentation. See the configuration file. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1031492&group_id=75348&atid=543656">SF + Feature-1031492</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1004293&group_id=75348&atid=543656">SF + Feature-1004293</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=784281&group_id=75348&atid=543656">SF + Feature-784281</a>] It is now possible to edit <strong>full HTML pages</strong> + with the editor. Use the "FullPage" configuration setting to activate + it. </li> + <li>The new toolbar command, "<strong>Document Properties</strong>" is + available to edit document header info, title, colors, background, etc... Full page + editing must be enabled. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1151448&group_id=75348&atid=543656">SF + Feature-1151448</a>] <strong>Spell Check</strong> is now available. You can use + <strong>ieSpell</strong> or <strong>Speller Pages</strong> right from FCKeditor. + More info about configuration can be found in the _docs folder. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1041686&group_id=75348&atid=543656">SF + Feature-1041686</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1086386&group_id=75348&atid=543656">SF + Feature-1086386</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1124602&group_id=75348&atid=543656">SF + Feature-1124602</a>] New "<strong>Insert Anchor</strong>" command + has been introduced. (The anchor icon is visible only over IE for now). </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1123816&group_id=75348&atid=543656">SF + Feature-1123816</a>] It is now possible to configure the editor to <strong>show "fake" + table borders</strong> when the border size is set to zero. (It is working only + on IE for now). </li> + <li><strong>Numbered</strong> and <strong>Bulleted</strong> lists can now be <strong> + configured</strong> . Just right click on then. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1088608&group_id=75348&atid=543656">SF + Feature-1088608</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1144047&group_id=75348&atid=543656">SF + Feature-1144047</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1149808&group_id=75348&atid=543656">SF + Feature-1149808</a>] A new configuration setting is available, "<strong>BaseHref</strong> + ", to set the URL used to resolve relative links. </li> + <li>It is now possible to set the <strong>content language direction</strong> . + See the "FCKConfig.ContentLangDirection" configurations setting. </li> + <li>All <strong>Field Commands</strong> available on version 1.6 have been upgraded + and included in this version: <strong>form</strong>, <strong>checkbox</strong>, + <strong>radio button</strong>, <strong>text field</strong>, text <strong>area</strong>, + <strong>select field</strong>, <strong>button</strong>, <strong>image button</strong> + and <strong>hidden field</strong> . </li> + <li><strong>Context menu</strong> options (right-click) has been added for: <strong> + anchors</strong>, <strong>select field</strong>, <strong>textarea</strong>, <strong> + checkbox</strong>, <strong>radio button</strong>, <strong>text field</strong>, + <strong>hidden field</strong>, <strong>textarea</strong>, <strong>button</strong>, + <strong>image button</strong>, <strong>form</strong>, <strong>bulleted list</strong> + and <strong>numbered list</strong> . </li> + <li>The "<strong>Universal Keyboard</strong>" has been converted from version + 1.6 to this one and it's now available. </li> + <li>It is now possible to <strong>configure</strong> the items to be shown in the <strong> + context menu</strong> . Just use the FCKConfig.ContextMenu option at fckconfig.js. + </li> + <li>A new configuration (FillEmptyBlocks) is available to force the editor to <strong> + automatically insert a </strong> on empty block elements (p, div, pre, + h1, etc...) to avoid differences from the editing and the final result. (Actually, + the editor automatically "grows" empty elements to make the user able + to enter text on it). Attention: the extra will be added when switching + from WYSIWYG to Source View, so the user may see an additional space on empty blocks. + (XHTML support must be enabled). </li> + <li>It is now possible to configure the <strong>toolbar</strong> to "<strong>break</strong> + " between two toolbar strips. Just insert a "/" between then. Take + a look at fckconfig.js for a sample. </li> + <li>New Language files are available: + <ul> + <li><strong>Brazilian Portuguese</strong> (by Carlos Alberto Tomatis Loth) </li> + <li><strong>Bulgarian</strong> (by Miroslav Ivanov) </li> + <li><strong>Esperanto</strong> (by Tim Morley) </li> + <li><strong>Galician</strong> (by Fernando Riveiro Lopez) </li> + <li><strong>Japanese</strong> ( by Takashi Yamaguchi) </li> + <li><strong>Persian</strong> (by Hamed Taj-Abadi) </li> + <li><strong>Romanian</strong> (by Adrian Nicoara) </li> + <li><strong>Slovak</strong> (by Gabriel Kiss) </li> + <li><strong>Thai </strong>(by Audy Charin Arsakit) </li> + <li><strong>Turkish</strong> (by Reha Biçer) </li> + <li>The Chinese Traditional has been set as the default (zn) instead of zn-tw.</li> + </ul> + </li> + <li>Warning: All toolbar image images have been changed. The "button." prefix + has been removed. If you have your custom skin, please rename your files. </li> + <li>A new plugin is available in the package: "<strong>Placeholders</strong>". + In this way you can insert non editable tags in your document to be processed on + server side (very specific usage). </li> + <li>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 better organized. + </li> + <li>The FCKeditor.Packager program is now part of the main package. It is not anymore distributed + separately. </li> + <li>The PHP connector now sets the uploaded file permissions (chmod) to 0777. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1090215&group_id=75348&atid=543655">SF + Patch-1090215</a>] It's now possible to give back more info from your custom image + browser calling the SetUrl( url [, width] [, height] [, alt] ). Thanks to Ben Noblet. + </li> + <li>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). </li> + <li>The "Source" view now forces its contents to be written in "Left + to Right" direction even when the editor interface language is running a RTL + language (like Arabic, Hebrew or Persian). </li> + </ul> + <p> + Fixed Bugs:</p> + <ul> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1124220&group_id=75348&atid=543653">SF + BUG-1124220</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1119894&group_id=75348&atid=543653">SF + BUG-1119894</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1090986&group_id=75348&atid=543653">SF + BUG-1090986</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1100408&group_id=75348&atid=543653">SF + BUG-1100408</a>] The editor now works correctly when starting with an + empty value and switching to the Source mode. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1119380&group_id=75348&atid=543653">SF + BUG-1119380</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1115750&group_id=75348&atid=543653">SF + BUG-1115750</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1101808&group_id=75348&atid=543653">SF + BUG-1101808</a>] The problem with the scrollbar and the toolbar combos (Style, + Font, etc...) over Mac has been fixed. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1098460&group_id=75348&atid=543653">SF + BUG-1098460</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1076544&group_id=75348&atid=543653">SF + BUG-1076544</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1077845&group_id=75348&atid=543653">SF + BUG-1077845</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1092395&group_id=75348&atid=543653">SF + BUG-1092395</a>] A new upload class has been included for the ASP File + Manager Connector. It uses the "ADODB.Stream" object. Many thanks to "NetRube". + </li> + <li>I small correction has been made to the ColdFusion integration files. Thanks to + Hendrik Kramer. </li> + <li>There was a very specific problem when the editor was running over a FRAME executed + on another domain. </li> + <li>The performance problem on Gecko while typing quickly has been solved. </li> + <li>The <br type= "_moz">is not anymore shown on XHTML source. </li> + <li>It has been introduced a mechanism to avoid automatic contents duplication on very + specific occasions (bad formatted HTML). </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1146407&group_id=75348&atid=543653">SF + BUG-1146407</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1145800&group_id=75348&atid=543653">SF + BUG-1145800</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1118803&group_id=75348&atid=543653">SF + BUG-1118803</a> ] Other issues in the XHTML processor have been solved. + </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1143969&group_id=75348&atid=543653">SF + BUG-1143969</a>] The editor now accepts the "accept-charset" attribute + in the FORM tag (IE specific bug). </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1122742&group_id=75348&atid=543653">SF + BUG-1122742</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1089548&group_id=75348&atid=543653">SF + BUG-1089548</a> ] Now, the contents of the SCRIPT and STYLE tags remain untouched. + </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1114748&group_id=75348&atid=543653">SF + BUG-1114748</a>] The PHP File Manager Connector now sets the new folders permissions + (chmod) to 0777 correctly. </li> + <li>The PHP File Manager Connector now has a configuration file (editor/filemanager/browser/default/connectors/php/config.php) + to set some security preferences. </li> + <li>The ASP File Manager Connector now has a configuration file (editor/filemanager/browser/default/connectors/asp/config.asp) + to set some security preferences. </li> + <li>A small bug in the toolbar rendering (strips auto position) has been corrected. + </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1093732&group_id=75348&atid=543653">SF + BUG-1093732</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1091377&group_id=75348&atid=543653">SF + BUG-1091377</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1083044&group_id=75348&atid=543653">SF + BUG-1083044</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1096307&group_id=75348&atid=543653">SF + BUG-1096307</a>] The configurations are now encoded so a user can use + values that has special chars (&=/). </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1103688&group_id=75348&atid=543653">SF + BUG-1103688</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1092331&group_id=75348&atid=543653">SF + BUG-1092331</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1088220&group_id=75348&atid=543653">SF + BUG-1088220</a>] PHP samples now use PHP_SELF to automatically discover + the editor's base path. </li> + <li>Some small wrapping problems with some labels in the Image and Table dialog windows + have been fixed. </li> + <li>All .js files are now encoded in UTF-8 format with the BOM (byte order mask) to + avoid some errors on specific Linux installations. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1114449&group_id=75348&atid=543653">SF + BUG-1114449</a>] 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 documentation. The + new packager must be downloaded. </li> + <li>A small problem with the editor focus while in source mode has been corrected. + Thanks to Eric (ric1607). </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1108167&group_id=75348&atid=543653">SF + BUG-1108167</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1085149&group_id=75348&atid=543653">SF + BUG-1085149</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1151296&group_id=75348&atid=543653">SF + BUG-1151296</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1082433&group_id=75348&atid=543653">SF + BUG-1082433</a>] No more IFRAMEs without src attribute. Now it points + to a blank page located in the editor's package. In this way we avoid security warnings + when using the editor over HTTPS. Thanks to Guillermo Bozovich. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1117779&group_id=75348&atid=543653">SF + BUG-1117779</a>] The editor now works well if you have more than one element named + "submit" on its form (even if it is not correct to have this situation). + </li> + <li>The XHTML processor was duplicating the text on some specific situation. It has + been fixed. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1090213&group_id=75348&atid=543655">SF + Patch-1090213</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1098929&group_id=75348&atid=543653">SF + Patch-1098929</a>] With ASP, the editor now works correctly on pages using "Option + Explicit". Thanks to Ben Noblet. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1100759&group_id=75348&atid=543653">SF + BUG-1100759</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1029125&group_id=75348&atid=543653">SF + BUG-1029125</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=966130&group_id=75348&atid=543653">SF + BUG-966130</a>] The editor was not working with old IE 5.5 browsers. There + was a problem with the XML parser. It has been fixed. </li> + <li>The localization engine is now working correctly over IE 5.5 browsers. </li> + <li>Some commands where not working well over IE 5.5 (emoticons, image,...). It has + been fixed. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1146441&group_id=75348&atid=543653">SF + BUG-1146441</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1149777&group_id=75348&atid=543653">SF + BUG-1149777</a>] The editor now uses the TEXTAREA id in the ReplaceTextarea + function. If the id is now found, it uses the "name". The docs have been + updated. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1144297&group_id=75348&atid=543653">SF + BUG-1144297</a>] Some corrections have been made to the Dutch language file. Thanks + to Erwin Dondorp. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1121365&group_id=75348&atid=543653">SF + BUG-1121365</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1090102&group_id=75348&atid=543653">SF + BUG-1090102</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1152171&group_id=75348&atid=543653">SF + BUG-1152171</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1102907&group_id=75348&atid=543653">SF + BUG-1102907</a>] There is no problem now to start the editor with values + like "<div></div>" or "<p></p>". </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1114059&group_id=75348&atid=543653">SF + BUG-1114059</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1041861&group_id=75348&atid=543653">SF + BUG-1041861</a>] The click on the disabled options in the Context Menu has no + effects now. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1152617&group_id=75348&atid=543653">SF + BUG-1152617</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1102441&group_id=75348&atid=543653">SF + BUG-1102441</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1095312&group_id=75348&atid=543653">SF + BUG-1095312</a>] Some problems when setting the editor source to very specific + values has been fixed. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1093514&group_id=75348&atid=543653">SF + BUG-1093514</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1089204&group_id=75348&atid=543653">SF + BUG-1089204</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1077609&group_id=75348&atid=543653">SF + BUG-1077609</a>] The editor now runs correctly if called directly (locally) without + a server installation (just opening the HTML sample files). </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1088248&group_id=75348&atid=543653">SF + BUG-1088248</a>] The editor now uses a different method to load its contents. In + this way the URLs remain untouched. </li> + <li>The PHP integration file now detects Internet Explorer 5.5 correctly.</li> + </ul> + <h3> + Version 2.0 RC2 (Release Candidate 2)</h3> + <ul> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1042034&group_id=75348&atid=543656">SF + Feature-1042034</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1075961&group_id=75348&atid=543656">SF + Feature-1075961</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1083200&group_id=75348&atid=543656">SF + Feature-1083200</a>] A new dialog window for the <strong>table cell properties</strong> + is now available (right-click). </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1042034&group_id=75348&atid=543656">SF + Feature-1042034</a>] The new "<strong>Split Cell</strong> ", to split + a table cell in two columns, has been introduced (right-click). </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1042034&group_id=75348&atid=543656">SF + Feature-1042034</a>] The new "<strong>Merge Cells</strong>", to merge + table cells (in the same row), has been introduced (right-click). </li> + <li>The "fake" <strong>TAB key support</strong> (available by default over + Gecko browsers is now available over IE too. You can set the number of spaces to + add setting the FCKConfig.TabSpaces configuration setting. Set it to 0 (zero) to + disable this feature (IE). </li> + <li>It now possible to tell IE to send a <strong><BR></strong> when the user presses + the <strong>Enter key</strong>. Take a look at the FCKConfig.UseBROnCarriageReturn + configuration setting. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1085422&group_id=75348&atid=543656">SF + Feature-1085422</a>] <strong>ColdFusion</strong>: The <strong>File Manager connector</strong> + is now available! (Thanks to Hendrik Kramer). </li> + <li>The editor is now available in <strong>29 languages!</strong> The new language files + available are: + <ul> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1067775&group_id=75348&atid=543656">SF + Feature-1067775</a>] <strong>Chinese Simplified and Traditional</strong> (Taiwan + and Hong Kong) (by NetRube). </li> + <li><strong>Czech</strong> (by David Horák). </li> + <li><strong>Danish</strong> (by Jesper Michelsen). </li> + <li><strong>Dutch</strong> (by Bram Crins). </li> + <li><strong>German</strong> (by Maik Unruh). </li> + <li><strong>Portuguese</strong> (Portugal) (by Francisco Pereira). </li> + <li><strong>Russian</strong> (by Andrey Grebnev). </li> + <li><strong>Slovenian</strong> (by Boris Volaric).</li> + </ul> + </li> + <li>Updates to the <strong>French</strong> language files (by Hubert Garrido). </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1085816&group_id=75348&atid=543653">SF + BUG-1085816</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1083743&group_id=75348&atid=543653">SF + BUG-1083743</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1078783&group_id=75348&atid=543653">SF + BUG-1078783</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1077861&group_id=75348&atid=543653">SF + BUG-1077861</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1077861&group_id=75348&atid=543653">SF + BUG-1037404</a>] Many small bugs in the XHTML processor + has been corrected (workarounds to browser specific bugs). These are some things + to consider regarding the changes: + <ul> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1083744&group_id=75348&atid=543653">SF + BUG-1083744</a>] On Gecko browsers, any element attribute that the name starts with + "_moz" will be ignored. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1060073&group_id=75348&atid=543653">SF + BUG-1060073</a>] The <STYLE> and <SCRIPT> elements contents will be + handled as is, without CDATA tag surrounding. This may break XHTML validation. In + any case the use of external files for scripts and styles is recommended (W3C recommendation).</li> + </ul> + </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1088310&group_id=75348&atid=543653">SF + BUG-1088310</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1078837&group_id=75348&atid=543653">SF + BUG-1078837</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=999792&group_id=75348&atid=543653">SF + BUG-999792</a>] URLs now remain untouched when initializing the editor or + switching from WYSYWYG to Source and vice versa. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1082323&group_id=75348&atid=543653">SF + BUG-1082323</a>] The problem in the ASP and PHP connectors when handling non + "strange" chars in file names has been corrected. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1085034&group_id=75348&atid=543653">SF + BUG-1085034</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1076796&group_id=75348&atid=543653">SF + BUG-1076796</a>] Some bugs in the PHP connector have been corrected. </li> + <li>A problem with the "Format" command on IE browsers on languages 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). </li> + <li>On Gecko browsers, when selecting an image and executing the "New Page" + command, the image handles still appear, even if the image is not available anymore + (this is a Gecko bug). When clicking in a "phanton" randle, the browser + crashes. It doesn't happen (the crash) anymore. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1082197&group_id=75348&atid=543653">SF + BUG-1082197</a>] On ASP, the bug in the browser detection system for Gecko browsers + has been corrected. Thanks to Alex Varga. </li> + <li>Again on ASP, the browser detection for IE had some problems on servers that use + comma for decimal separators on numbers. It has been corrected. Thanks to Agrotic. + </li> + <li>No error is thrown now when non existing language is configured in the + editor. The English language file is loaded in that case. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1077747&group_id=75348&atid=543653">SF + BUG-1077747</a>] The missing images on the Office2003 and Silver skins are now included + in the package. </li> + <li>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> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1004078&group_id=75348&atid=543653">SF + BUG-1004078</a>] ColdFusion: The "config" structure/hash table with keys + and values is in ColdFusion not(!) case sensitive. All keys returned by ColdFusion + are in upper case format. Because the FCKeditor configuration keys must be case + sensitive, we had to match all structure/hash keys with a list of the correct configuration + names in mixed case. This has been added to the fckeditor.cfc and fckeditor.cfm. + </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1075166&group_id=75348&atid=543653">SF + BUG-1075166</a>] ColdFusion: The "fallback" variant of the texteditor + (<textarea>) has a bug in the fckeditor.cfm. This has been fixed. </li> + <li>A typo in the Polish language file has been corrected. Thanks to Pawel Tomicki. + </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1086370&group_id=75348&atid=543653">SF + BUG-1086370</a>] A small coding type in the Link dialog window has been corrected. + </li> + </ul> + <h3> + Version 2.0 RC1 (Release Candidate 1)</h3> + <ul> + <li><strong>ASP</strong> support is now available (including the File Manager connector). + </li> + <li><strong>PHP</strong> support is now available (including the File Manager connector). + </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1063217&group_id=75348&atid=543656">SF + Feature-1063217</a>] The new advanced <strong>Style</strong> command is available + in the toolbar: full preview, context sensitive, style definitions are loaded from + a XML file (see documentation for more instructions). </li> + <li>The <strong>Font Format</strong>, <strong>Font Name</strong> and <strong>Font Size</strong> + toolbar command now show a <strong>preview</strong> of the available options. </li> + <li>The new <strong>Find</strong> and <strong>Replace</strong> features has been introduced. + </li> + <li>A new <strong>Plug-in</strong> system has been developed. Now it is quite easy to + customize the editor to your needs. (Take a look at the html/sample06.html file). + </li> + <li>The editor now handles <strong>HTML entities</strong> in the right way (XHTML support + must be set to "true"). It handles all entities defined in the W3C XHTML + DTD file. </li> + <li>A new "_docs" folder has been introduced for the <strong>documentation</strong>. + It is not yet complete, but I hope the community will help us to fill it better. + </li> + <li>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 + &. Just set FCKConfig.ForceSimpleAmpersand = true in the configuration + file. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1026866&group_id=75348&atid=543656">SF + Feature-1026866</a>] The "<strong>EditorAreaCSS</strong>" configuration + option has been introduced. In this way you can set the CSS to use in the editor + (editable area). </li> + <li>The editing area is not anymore clipped if the toolbar is too large and exceeds + the window width. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1064902&group_id=75348&atid=543653">SF + BUG-1064902</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1033933&group_id=75348&atid=543653">SF + BUG-1033933</a>] The editor <strong>interface</strong> is now completely <strong>localizable</strong>. + The version ships with 19 languages including: <b>Arabic</b>, <b>Bosnian</b>, <b>Catalan</b>, + <b>English</b>, <b>Spanish</b>, <b>Estonian</b>, <b>Finnish</b>, <b>French</b>, + <b>Greek</b>, <b>Hebrew</b>, <b>Croatian</b>, <b>Italian</b>, <b>Korean</b>, <b>Lithuanian</b>, + <b>Norwegian</b>, <strong>Polish</strong>, <strong>Serbian (Cyrillic)</strong>, + <strong>Serbian (Latin)</strong> and <strong>Swedish</strong>.</li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1027858&group_id=75348&atid=543653">SF + BUG-1027858</a>] 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> + <li>There was a positioning problem over IE with the color panel. It has been corrected. + </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1049842&group_id=75348&atid=543653">SF + BUG-1049842</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1033832&group_id=75348&atid=543653">SF + BUG-1033832</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1028623&group_id=75348&atid=543653">SF + BUG-1028623</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1026610&group_id=75348&atid=543653">SF + BUG-1026610</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1064498&group_id=75348&atid=543653">SF + BUG-1064498</a>] The combo commands in the toolbar were not opening + in the right way. It has been fixed. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1053399&group_id=75348&atid=543653">SF + BUG-1053399</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=965318&group_id=75348&atid=543653">SF + BUG-965318</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1018296&group_id=75348&atid=543653">SF + BUG-1018296</a>] The toolbar buttons icons were not showing on some IE and + Firefox/Mac installations. It has been fixed. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1054621&group_id=75348&atid=543653">SF + BUG-1054621</a>] Color pickers are now working with the "office2003" and + "silver" skins. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1054108&group_id=75348&atid=543653">SF + BUG-1054108</a>] IE doesn’t recognize the "'" entity for + apostrophes, so a workaround has been developed to replace it with "'" + (its numeric entity representation). </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=983434&group_id=75348&atid=543653">SF + BUG-983434</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=983398&group_id=75348&atid=543653">SF + BUG-983398</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1028103&group_id=75348&atid=543653">SF + BUG-1028103</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1072496&group_id=75348&atid=543653">SF + BUG-1072496</a>] The problem with elements with name "submit" + inside the editor's form has been solved. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1018743&group_id=75348&atid=543653">SF + BUG-1018743</a>] The problem with Gecko when collapsing the toolbar while in source + mode has been fixed. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1065268&group_id=75348">SF + BUG-1065268</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1034354&group_id=75348&atid=543653">SF + BUG-1034354</a>] 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. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1029654&group_id=75348&atid=543653">SF + BUG-1029654</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1046500&group_id=75348&atid=543653">SF + BUG-1046500</a>] Due to a bug on Gecko there was a problem when creating links. + It has been fixed. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1065973&group_id=75348&atid=543653">SF + BUG-1065973</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=999792&group_id=75348&atid=543653">SF + BUG-999792</a>] 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 running. + So now the editor removes the protocol and host part of the link if it matches the + running server. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1071824&group_id=75348&atid=543653">SF + BUG-1071824</a>] The color dialog box bug has been fixed. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1052856&group_id=75348&atid=543653">SF + BUG-1052856</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1046493&group_id=75348&atid=543653">SF + BUG-1046493</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1023530&group_id=75348&atid=543653">SF + BUG-1023530</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1025978&group_id=75348&atid=543653">SF + BUG-1025978</a>] The editor now doesn’t throw an error if no selection + was made and the create link command is used. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1036756&group_id=75348&atid=543653">SF + BUG-1036756</a>] The XHTML processor has been reviewed. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1029101&group_id=75348&atid=543653">SF + BUG-1029101</a>] The Paste from Word feature is working correctly. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1034623&group_id=75348&atid=543653">SF + BUG-1034623</a>] There is an IE bug when setting the editor value to "<p><hr></p>". + A workaround has been developed. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1052695&group_id=75348&atid=543653">SF + BUG-1052695</a>] There are some rendering differences between Netscape and Mozilla. + (Actually that is a bug on both browsers). A workaround has been developed to solve + it. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1073053&group_id=75348&atid=543653">SF + BUG-1073053</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1050394&group_id=75348&atid=543653">SF + BUG-1050394</a>] The editor doesn’t throw errors when hidden. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1066321&group_id=75348&atid=543653">SF + BUG-1066321</a>] Scrollbars should not appear on dialog boxes (at least for the + Image and Link ones). </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1046490&group_id=75348&atid=543653">SF + BUG-1046490</a>] Dialogs now are forced to show on foreground over Mac. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1073955&group_id=75348">SF + BUG-1073955</a>] A small bug in the image dialog window has been corrected. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1049534&group_id=75348&atid=543653">SF + BUG-1049534</a>] The Resources Browser window is now working well over Gecko browsers. + </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1036675&group_id=75348&atid=543653">SF + BUG-1036675</a>] The Resources Browser window now displays the server error on bad + installations.</li> + </ul> + <h3> + Version 2.0 Beta 2</h3> + <ul> + <li>There is a new configuration - "<strong>GeckoUseSPAN</strong>" - that + can be used to tell Gecko browsers to use <SPAN style...> or <B>, <I> + and <U> for the bold, italic and underline commands. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1002622&group_id=75348&atid=543656">SF + Feature-1002622</a>] New <strong>Text Color</strong> and <strong>Background Color</strong> + commands have been added to the editor. </li> + <li>On Gecko browsers, a message is shown when, because of security settings, the + user is not able to cut, copy or paste data from the clipboard using the + toolbar buttons or the context menu. </li> + <li>The new "<strong>Paste as Plain Text</strong> " command has been introduced. + </li> + <li>The new "<strong>Paste from Word</strong> " command has been introduced. + </li> + <li>A new configuration named "StartupFocus" can be used to tell the + editor to get the focus when the page is loaded. </li> + <li>All <strong>Java </strong>integration files has been moved to a new separated package. + </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1016781&group_id=75348&atid=543653">SF + BUG-1016781</a>] <strong>Table operations</strong> are now working when right click + inside a table. The following commands has been introduced: <strong>Insert Row</strong>, + <strong>Delete Row</strong>, <strong>Insert Column</strong>, <strong>Delete Column</strong>, + <strong>Insert Cell</strong> and <strong>Delete Cells</strong> . </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=965067&group_id=75348&atid=543653">SF + BUG-965067</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1010379&group_id=75348&atid=543653">SF + BUG-1010379</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=977713&group_id=75348&atid=543653">SF + BUG-977713</a>] XHTML support was not working with FireFox, blocking the + editor when submitting data. It has been fixed. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1007547&group_id=75348&atid=543653">SF + BUG-1007547</a> ] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=974595&group_id=75348&atid=543653">SF + BUG-974595</a> ] The "FCKLang not defined" error when loading + has been fixed. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1021028&group_id=75348&atid=543653">SF + BUG-1021028</a>] 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. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=981191&group_id=75348&atid=543653">SF + BUG-981191</a>] We are now using <!--- ---> for ColdFusion comments.</li> + </ul> + <h3> + Version 2.0 Beta 1</h3> + <p> + This is the first beta of the 2.x series. It brings a lot of new and important things. + Beta versions will be released until all features available on version 1.x will + be introduced in the 2.0.<br /> + <br /> + <strong>Note:</strong> 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. + </p> + <ul> + <li>Gecko browsers (<strong>Mozilla</strong> and <strong>Netscape</strong>) support. + </li> + <li><strong>Quick startup</strong> response times. </li> + <li>Complete <strong>XHTML</strong> 1.0 support. </li> + <li><strong>Advanced link</strong> dialog box: + <ul> + <li>Target selection. </li> + <li>Popup configurator. </li> + <li>E-Mail link. </li> + <li>Anchor selector. </li> + </ul> + </li> + <li>New <strong>File Manager</strong>. </li> + <li>New dialog box system, with <strong>tabbed dialogs</strong> support. </li> + <li>New <strong>context menus</strong> with icons. </li> + <li>New toolbar with "expand/collapse" feature. </li> + <li><strong>Skins</strong> support. </li> + <li><strong>Right to left languages</strong> support. </li> + </ul> + <h3> + Version 1.6.1</h3> + <ul> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=862364&group_id=75348&atid=543653">SF + BUG-862364</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=812733&group_id=75348&atid=543653">SF + BUG-812733</a>] There was a problem when the user tried to delete the last row, + collumn or cell in a table. It has been corrected.* </li> + <li>New Estonian language file. Thanks to Kristjan Kivikangur </li> + <li>New Croatian language file. Thanks to Alex Varga. </li> + <li>Updated language file for Czech. Thanks to Plachow. </li> + <li>Updated language file for Chineze (zh-cn). Thanks to Yanglin. </li> + <li>Updated language file for Catalan. Thanks to Jordi Cerdan.</li> + </ul> + <p> + * This version has been partially sponsored by <a href="http://www.genuitec.com/">Genuitec, + LLC</a>.</p> + <h3> + Version 1.6</h3> + <ul> + <li><strong>Context Menu</strong> support for <strong>form</strong> elements.* </li> + <li>New <strong>"Selection Field" command</strong> with advanced dialog box + for options definitions.* </li> + <li>New <strong>"Image Button" command</strong> is available.* </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=936196&group_id=75348&atid=543656">SF + Feature-936196</a>] Many form elements <strong>bugs has been fixed</strong> and + <strong>many improvements</strong> has been done.* </li> + <li>New <strong>Java Integration Module</strong>. There is a complete Java API and Tag + Library implementations. Take a look at the _jsp directory. Thanks to Simone Chiaretta + and Hao Jiang. </li> + <li>The <strong>Word Spell Checker</strong> can be used. To be able to run it, your + browser security configuration "Initialize and script ActiveX controls not + marked as safe" must be set to "Enable" or "Prompt". 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 for some + configuration options. Thanks to EdwardRF. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=748807&group_id=75348&atid=543656">SF + Feature-748807</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=801030&group_id=75348&atid=543656">SF + Feature-801030</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=880684&group_id=75348&atid=543656">SF + Feature-880684</a>] New "<strong>Anchor" command</strong>, including + context menu support. Thanks to G.Meijer. </li> + <li>Special characters are replaced with their decimal HTML entities when the XHMTL + support is enabled (only over IE5.5+). </li> + <li>New <strong>Office 2003 Style</strong> toolbar icons are available. Just uncomment + the config.ToolbarImagesPath key in the fck_config.js file. Thanks to Abdul-Aziz + A. Al-Oraij. <strong>Attention</strong>: the default toolbar items have been moved + to the "images/toolbar/default" directory. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=934566&group_id=75348&atid=543655">SF + Patch-934566</a>] <strong>Double click support</strong> for Images, Tables, Links, + Anchors and all Form elements. Thanks to Top Man. </li> + <li>New <strong>"New Page" command</strong> to start a typing from scratch. + Thanks to Abdul-Aziz A. Al-Oraij. </li> + <li>New <strong>"Replace" command</strong>. Thanks to Abdul-Aziz A. Al-Oraij. + </li> + <li>New <strong>"Advanced Font Style" command</strong>. Thanks to Abdul-Aziz + A. Al-Oraij. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=738193&group_id=75348&atid=543656">SF + Feature-738193</a>] New <strong>"Save" command</strong>. 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. </li> + <li>New <strong>"Universal Keyboard" command</strong>. This 22 charsets are + available: Arabic, Belarusian, Bulgarian, Croatian, Czech, Danish, Finnish, French, + Greek, Hebrew, Hungarian, Diacritical, Macedonian, Norwegian, Polish, Russian, Serbian + (Cyrillic), Serbian (Latin), Slovak, Spanish, Ukrainian and Vietnamese. Includes + a keystroke listener to type Arabic on none Arabic OS or machine. Thanks to Abdul-Aziz + A. Al-Oraij. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=935358&group_id=75348&atid=543655">SF + Patch-935358</a>] New <strong>"Preview" command</strong>. Context menu + option is included and can be deactivated throw the config.ShowPreviewContextMenu + configuration. Thanks to Ben Ramsey. </li> + <li>New "<strong>Table Auto Format</strong>" context menu command. Hack a + little the fck_config.js and the fck_editorarea.css files. Thanks to Alexandros + Lezos. </li> + <li>New "<strong>Bulleted List Properties</strong> " context menu to define + its type and class. Thanks to Alexandros Lezos. </li> + <li>The <strong>image dialog</strong> box has been a <strong>redesigned</strong> . Thanks + to Mark Fierling. </li> + <li>Images now always have the <strong>"alt" attribute</strong> set, even + when it's value is empty. Thanks to Andreas Barnet. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=942250&group_id=75348&atid=543655">SF + Patch-942250</a>] You can set on fck_config.js to <strong>automatically clean Word</strong> + pasting operations without a user confirmation. </li> + <li>Forms element dialogs and other localization pending labels has been updated. </li> + <li>A new <strong>Lithuanian</strong> language file is available. Thanks to Tauras Paliulis. + </li> + <li>A new <strong>Hebrew</strong> language file is available. Thanks to Ophir Radnitz. + </li> + <li>A new <strong>Serbian</strong> language file is available. Thanks to Zoran Subic. + </li> + <li><strong>Danish</strong> language file updates. Thanks to Flemming Jensen. </li> + <li><strong>Catalan</strong> language file updates. Thanks to Jordi Cerdan. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=936514&group_id=75348&atid=543655">SF + Patch-936514</a>] [<a href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=918716&group_id=75348">SF + BUG-918716</a>] [<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=931037&group_id=75348&atid=543653">SF + BUG-931037</a>] [<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=865864&group_id=75348&atid=543653">SF + BUG-865864</a>] [<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=915410&group_id=75348&atid=543653">SF + BUG-915410</a>] [<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=918716&group_id=75348&atid=543653">SF + BUG-918716</a>] Some <strong>languages files</strong> were not + saved on <strong>UTF-8</strong> format causing some javascript errors on loading + the editor or making "undefined" to show on editor labels. This problem + was solved. </li> + <li>Updates on the testsubmit.php file. Thanks to Geat and Gabriel Schillaci </li> + <li>[<a href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=924620&group_id=75348">SF + BUG-924620</a>] There was a problem when setting a name to an editor instance when + the name is used by another tag. For example when using "description" + as the name in a page with the <META name="description"> tag. </li> + <li>[<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=935018&group_id=75348&atid=543653">SF + BUG-935018</a>] The "buletted" typo has been corrected. </li> + <li>[<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=902122&group_id=75348&atid=543653">SF + BUG-902122</a>] Wrong css and js file references have been corrected. </li> + <li>[<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=918942&group_id=75348&atid=543653">SF + BUG-918942</a>] All dialog boxes now accept Enter and Escape keys as Ok and Cancel + buttons.</li> + </ul> + <p> + * This version has been partially sponsored by <a href="http://www.genuitec.com/">Genuitec, + LLC</a>.</p> + <h3> + Version 1.5</h3> + <ul> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543656&aid=913777&group_id=75348">SF + Feature-913777</a>] <strong>New Form Commands</strong> are now available! Special + thanks to G.Meijer. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=861149&group_id=75348&atid=543656">SF + Feature-861149</a>] <strong>Print Command</strong> is now available! </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=743546&group_id=75348">SF + BUG-743546</a>] The <strong>XHTML content duplication problem </strong>has been + <strong>solved</strong> . Thanks to Paul Hutchison. </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=875853&group_id=75348">SF + BUG-875853</a>] The <strong>image dialog box</strong> now gives precedence for width + and height values set as styles. In this way a user can change the size of the image + directly inside the editor and the changes will be reflected in the dialog box. + </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543656&aid=913777&group_id=75348">SF + Feature-788368</a>] The sample <strong>file upload </strong>manager for ASPX now + uses <strong>guids</strong> for the file name generation. In this way a support + XML file is not needed anymore. </li> + <li>It's possible now to <strong>programmatically change the Base Path</strong> of the + editor if it's installed in a directory different of "/FCKeditor/". Something + like this:<br /> + oFCKeditor.BasePath = '/FCKeditor/' ;<br /> + Take a look at the _test directory for samples. </li> + <li>There was a little bug in the TAB feature that moved the insertion point if there + were any object (images, tables) in the content. It has been fixed. </li> + <li>The problem with <strong>accented and international characters</strong> on the PHP + test page was solved. </li> + <li>A new <strong>Chinese (Taiwan)</strong> language file is available. Thanks to Nil. + </li> + <li>A new <strong>Slovenian</strong> language file is available. Thanks to Pavel Rotar. + </li> + <li>A new <strong>Catalan</strong> language file is available. Thanks to Jordi Cerdan. + </li> + <li>A new <strong>Arabic</strong> language file is available. Thanks to Abdul-Aziz A. + Al-Oraij. </li> + <li>Small corrections on the <strong>Norwegian</strong> language file. </li> + <li>A Java version for the test results (testsubmit.jsp) is now available. Thanks to + Pritpal Dhaliwal. </li> + <li>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. </li> + <li>If <strong>XHTML</strong> 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 option can + be activated setting config.EnableSourceXHTML = true in the fck_config.js file. + </li> + <li>The <strong>JS integration object</strong> now escapes all configuration settings, + in this way a user can use <strong>reserved chars</strong> on it. For example: + <br /> + oFCKeditor.Config["ImageBrowserURL"] = '/imgs/browse.asp?filter=abc*.jpg&userid=1'; + </li> + <li>A minimal browse server sample is now available in ASP. Thanks to Andreas Barnet. + </li> + </ul> + <h3> + Version 1.4</h3> + <ul> + <li><strong>ATTENTION: For PHP users</strong>: The editor was changed and now uses <strong> + htmlspecialchars</strong> instead of <strong>htmlentities</strong> when handling + the initial value. It should works well, but please make some tests before upgrading + definitively. If there is any problem just uncomment the line in the fckeditor.php + file (and send me a message!). </li> + <li>The editor is now integrated with <strong>ieSpell</strong> (<a href="http://www.iespell.com">http://www.iespell.com</a>) + for <strong>Spell Checking</strong>. You can configure the download URL in then + fck_config.js file. Thanks to Sanjay Sharma. (ieSpell is free for personal use but + must be paid for commercial use) </li> + <li><strong>Table</strong> and <strong>table cell</strong> dialogs has been changed. + Now you can <strong>select the class</strong> you want to be applied. Thanks to + Alexander Lezos. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=865378&group_id=75348&atid=543656">SF + Feature-865378</a>]A new <strong>upload support is available for ASP</strong>. It + uses the /UserImages/ folder in the root of the web site as the files container + and a counter controlled by the upload.cnt file. Both must have write permissions + set to the IUSR_xxx user. Thanks to Trax and Juanjo. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=798128&group_id=75348&atid=543655">SF + Patch-798128</a>] The user (programmer) can now define a <strong>custom separator</strong> + for the list items of a combo in the toolbar. Thanks to Wulff D. Heiss. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=741963&group_id=75348&atid=543656">SF + Feature-741963</a>][<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=878941&group_id=75348&atid=543656">SF + Feature-878941</a>][<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=869389&group_id=75348&atid=543655">SF + Patch-869389</a>] A minimal support for a “fake” <strong>TAB is now available</strong>, + even if HTML has no support for TAB. Now when the user presses the TAB key a configurable + number of spaces ( ) is added. Take a look at config.TabSpaces on the fck_config.js + file. No action is performed if it is set to zero. The default value is 4. Thanks + to Phil Hassey. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=782779&group_id=75348&atid=543653">SF + BUG-782779</a>][<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=790939&group_id=75348&atid=543653">SF + BUG-790939</a>] The problem with big images has been corrected. Thanks to Raver. + </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=853374&group_id=75348">SF + BUG-862975</a>] Now the editor does nothing if no image is selected in the image + dialog box and the OK button is hit. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=851609&group_id=75348&atid=543653">SF + BUG-851609</a>] The problem with ASP and null values has been solved. </li> + <li><strong>Norwegean</strong> language pack. Thanks to Martin Kronstad. </li> + <li><strong>Hungarian</strong> language pack. Thanks to Balázs Szabó. + </li> + <li><strong>Bosnian</strong> language pack. Thanks to Trax. </li> + <li><strong>Japanese</strong> language pack. Thanks to Kato Yuichiro. </li> + <li>Updates on the <strong>Polish</strong> language pack. Thanks to Norbert Neubauer. + </li> + <li>The <strong>Chinese (Taiwan)</strong> (zh-tw) has been removed from the package + because it's corrupt. I'm sorry. I hope someone could send me a good version soon. + </li> + </ul> + <h3> + Version 1.3.1</h3> + <ul> + <li>It's now possible to configure the editor the insert a <strong><BR> tag instead + of <P></strong> when the user presses the <strong><Enter></strong> key. + Take a look at the fck_config.js configuration file for the "<strong>UseBROnCarriageReturn</strong>" + key. This option is disabled by default. </li> + <li><strong>Icelandic</strong> language pack. Thanks to Andri Óskarsson. </li> + <li>[<a href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=853374&group_id=75348">SF + BUG-853374</a>] On IE 5.0 there was a little error introduced with version 1.3 on + initialization. It was corrected. </li> + <li>[<a href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=853372&group_id=75348">SF + BUG-853372</a>] On IE 5.0 there was a little error introduced with version 1.3 when + setting the focus in the editor. It was corrected. </li> + <li>Minor errors on the language file for <strong>english</strong> has been corrected. + Thanks to Anders Madsen. </li> + <li>Minor errors on the language file for <strong>danish</strong> has been corrected. + Thanks to Martin Johansen. </li> + </ul> + <h3> + Version 1.3</h3> + <ul> + <li>Language support for <strong>Danish, Polish, Simple Chinese, Slovak, Swedish and + Turkish</strong>. </li> + <li>Language updates for <strong>Romanian</strong>. </li> + <li>It's now possible to <strong>override</strong> any of the <strong>editor's configurations</strong> + (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. + </li> + <li>A new method is available for <strong>PHP</strong> users. It's called <strong>ReturnFCKeditor</strong>. + It works exactly like CreateFCKeditor, but it <strong>returns a string with the HTML</strong> + for the editor instead of output it (echo). This feature is useful for people who + are working with Smarty Templates or something like that. Thanks to Timothy J. Finucane. + </li> + <li>Many people have had problems with <strong>international characters</strong> over + <strong>PHP</strong>. I had also the same problem. PHP have strange problems with + character encoding. The code hasn't been changed but just saved again with Western + European encoding. <strong>Now it works well</strong> in my system.<br /> + 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. </li> + <li>The "<strong>testsubmit.php</strong>" file now strips the "<strong>Magic + Quotes</strong> " that are automatically added by PHP on form posts. </li> + <li>A <strong>new language</strong> integration module is available for <strong>ASP/Jscript</strong>. + Thanks to Dimiter Naydenov. </li> + <li><strong>New configuration</strong> options are available to <strong>customize the + Target</strong> combo box in the <strong>Insert/Modify Link</strong> dialog 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. </li> + <li>The <strong>Text as Plain Text</strong> toolbar <strong>icon</strong> has been changed + <strong>to avoid confusion</strong> with the Normal Paste or. Thanks to Kaupo Kalda. + </li> + <li>The file <strong>dhtmled.cab has been removed</strong> from the package. It's not + needed to the editor to work and caused some confusion for a few users. </li> + <li>The <strong>editor's content</strong> now <strong>doesn't loose the focus</strong> + when the user clicks with the mouse in a toolbar button. </li> + <li>On <strong>drag-and-drop</strong> operations the data to be inserted in the editor + is now <strong>converted to plain text</strong> when the "<strong>ForcePasteAsPlainText</strong>" + configuration is set to <strong>true</strong>. </li> + <li>The <strong>image browser</strong> sample in PHP now <strong>sorts the files</strong> + by name. Thanks to Sergey Lupashko. </li> + <li>Two <strong>new configuration</strong> options are available to <strong>turn on/off + by default</strong> the "<strong>Show Borders</strong>" and "<strong>Show + Details</strong>" commands. </li> + <li>Some <strong>characters have been removed</strong> from the "<strong>Insert + Special Chars</strong>" dialog box because they were causing encoding problems + in some languages. Thanks to Abomb Hua. </li> + <li><strong>JSP</strong> versions of the <strong>image and file upload and browsing</strong> + features. Thanks to Simone Chiaretta.</li> + </ul> + <h3> + Version 1.2.4</h3> + <ul> + <li>Language support for <strong>Spanish, Finnish, Romanian and Korean</strong>. </li> + <li>Language updates for <strong>German</strong>. </li> + <li>New <strong>Zoom</strong> toolbar option. (<a href="https://sourceforge.net/forum/forum.php?thread_id=904116&forum_id=257180">Thanks + to "mtn_roadie"</a>)</li> + </ul> + <h3> + Version 1.2.2</h3> + <ul> + <li>Language support for <strong>French</strong>. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=782779&group_id=75348&atid=543653">SF + BUG-782779</a>] Version 1.2 introduced a bug on the image dialog window: when changing + the image, no update was done. This bug is now fixed. </li> + </ul> + <h3> + Version 1.2</h3> + <ul> + <li>Enhancements to the <strong>Word cleaning</strong> feature (Thanks to Karl von Randow). + </li> + <li>The <strong>Table dialog box</strong> now handles the Style width and height set + in the table (Thanks to Roberto Arruda). There where many problems on prior 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. </li> + <li>For the <strong>Image dialog box:</strong> + <ul> + <li>No image is shown in the preview pane if no image has been set. </li> + <li>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. </li> + </ul> + </li> + <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=739630&group_id=75348&atid=543653">SF + BUG-739630</a>] Image with link lost the link when changing its properties. The + problem is solved. </li> + <li>Due to some problems in the XHTML cleaning (content duplication when the source + HTML is dirty and malformed), the <strong>XHTML support is turned off by default</strong> + from this version. You can still change this behavior and turn it on in the configuration + file. </li> + <li>Some little updates on the <strong>English </strong>language file. </li> + <li>A few addition of missing entries on all languages files (translations for these + changes are pending). </li> + <li>Language files has been added for the following languages: + <ul> + <li><strong>Brazilian Portuguese</strong> (pt-br) </li> + <li><strong>Czech</strong> (cz) </li> + <li><strong>Dutch</strong> (nl) </li> + <li><strong>Russian</strong> (ru) </li> + <li><strong>Chinese (Taiwan)</strong> (zh-tw) </li> + <li><strong>Greek</strong> (gr) </li> + <li><strong>German</strong> (de)</li> + </ul> + </li> + </ul> + <h3> + Version 1.1</h3> + <ul> + <li>The "<strong>Multi Language</strong>" system is now available. This version + ships with English and Italian versions completed. Other languages will be available + soon. The editor automatically detects the client language and sets all labels, + tooltips and dialog boxes to it, if available. The auto detection and the default + language can be set in the <strong>fck_config.file</strong>. </li> + <li>Two files can now be created to isolate customizations code from the original source + code of the editor: <strong>fckeditor.config.js</strong> and <strong>fckeditor.custom.js</strong>. + Create these files in the root folder of your web site, if needed. The first one + can be used to add or override configurations set on fck_config.js. The second one + is used for custom actions and behaviors. </li> + <li>A problem with relative links and images like "/test/test.doc" has been + solved. In prior versions, only with XHTML support enabled, the URL was changed + to something like "http://www.mysite.xxx/test/test.doc" (The domain was + automatically added). Now the XHTML cleaning procedure gets the URLs exactly how + they are defined in the editor’s HTML. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=742168&group_id=75348&atid=543653">SF + BUG-742168</a>] Mouse drag and drop from toolbar buttons has been disabled. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=768210&group_id=75348&atid=543653">SF + BUG-768210</a>] HTML entities, like <strong><</strong>, were not load correctly. + The problem is solved. </li> + <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=748812&group_id=75348&atid=543653">SF + BUG-748812</a>] The link dialog window doesn't open when the link button is grayed. + </li> + </ul> + <h3> + Version 1.0</h3> + <ul> + <li>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. </li> + <li>Upload options, for links and images, are automatically hidden on IE 5.0 browsers + (it's not compatible). </li> + <li>[SF BUG-734894] Fixed a problem on XHTML cleaning: the value on INPUT fields were + lost. </li> + <li>[SF BUG-713797] Fixed some image dialog errors when trying to set image properties + when no image is available. </li> + <li>[SF BUG-736414] Developed a workaround for a DHTML control bug when loading in the + editor some HTML started with <p><hr></p>. </li> + <li>[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. </li> + <li>[SF BUG-737233] CSS mappings are now OK on the PHP image browser module. </li> + <li>[SF BUG-737495] The image preview in the image dialog box is now working correctly. + </li> + <li>[SF BUG-737532] The editor automatically switches to WYSIWYG mode when the form + is posted. </li> + <li>[SF BUG-739571] The editor is now working well over Opera (as for Netscape, a TEXTAREA + is shown). </li> + </ul> + <h3> + Version 1.0 Final Candidate</h3> + <ul> + <li>A new dialog box for the "Link" command is available. Now you can upload + and browse the server exactly like the image dialog box. It's also possible to define + the link title and target window (_blank, _self, _parent and _top). As with the + image dialog box, a sample (and simple) file server browser is available. </li> + <li>A new configuration option is available to force every paste action to be handled + as plain text. See "config.ForcePasteAsPlainText" in fck_config.js. </li> + <li>A new Toolbar button is available: "Paste from Word". It automatically + 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> + <li>The editor automatically detects Word clipboard data on pasting operations 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. + </li> + <li>Table properties are now available in cells' right click context menu. </li> + <li>It's now possible to edit cells advanced properties from it's right click context + menu. </li> + </ul> + <h3> + Version 1.0 Release Candidate 1 (RC1)</h3> + <ul> + <li>Some performance improvements. </li> + <li>The file dhtmled.cab has been added to the package for clients ho needs to install + the Microsoft DHTML Editor component. </li> + <li>[SF BUG-713952] The format command options are localized, so it depends 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 language. + </li> + <li>[SF BUG-712103] The style command is localized, so it depends on the IE 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. </li> + <li>[SF BUG-726137] On version 0.9.5, some commands (special chars, image, emoticons, + ...) remove the next available character before inserting the required content even + if no selection was made in the editor. Now the editor replaces only the selected + content (if available). </li> + </ul> + <h3> + Version 0.9.5 beta</h3> + <ul> + <li>XHTML support is now available! It can be enabled/disabled in the fck_config.js + file. </li> + <li>"Show Table Borders" option: show borders for tables with borders size + set to zero. </li> + <li>"Show Details" option: show hidden elements (comments, scripts, paragraphs, + line breaks) </li> + <li>IE behavior integration module. Thanks to Daniel Shryock. </li> + <li>"Find" option: to find text in the document. </li> + <li>More performance enhancements. </li> + <li>New testsubmit.php file. Thansk to Jim Michaels. </li> + <li>Two initial PHP upload manager implementations (not working yet). Thanks to Frederic + Tyndiuk and Christian Liljedahl. </li> + <li>Initial PHP image browser implementation (not working yet). Thanks to Frederic Tyndiuk. + </li> + <li>Initial CFM upload manager implementation. Thanks to John Watson. </li> + </ul> + <h3> + Version 0.9.4 beta</h3> + <ul> + <li>ColdFusion module integration is now available! Thanks to John Watson. </li> + <li>"Insert Smiley" toolbar option! Thanks to Fredox. Take a look at fck_config.js + for configuration options. </li> + <li>"Paste as plain text" toolbar option! </li> + <li>Right click support for links (edit / remove). </li> + <li>Buttons now are shown in gray when disabled. </li> + <li>Buttons are shown just when the image is downloaded (no more "red x" while + waiting for it). </li> + <li>The toolbar background color can be set with a CSS style (see fck_editor.css). </li> + <li>Toolbar images have been reviewed: + <ul> + <li>Now they are transparent. </li> + <li>No more over...gif for every button (so the editor loads quicker). </li> + <li>Buttons states are controlled with CSS styles. (see fck_editor.css).</li> + </ul> + </li> + <li>Internet Explorer 5.0 compatibility, except for the image uploading popup. </li> + <li>Optimizations when loading the editor. </li> + <li>[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 user changes + position inside the editor). </li> + <li>JavaScript integration is now Object Oriented. CreateFCKeditor function is not available + anymore. Take a look in test.html. </li> + <li>Two new configuration options, ImageBrowser and ImageUpload, are available to turn + on and off the image upload and image browsing options in the Image dialog box. + This options can be hidden for a specific editor instance throw specific URL parameter + in the editor’s IFRAME (upload=true/false&browse=true/false). All specific + language integration modules handle this option. For sample see the _test directory. + </li> + </ul> +</body> +</html> Added: trunk/lutinrss/src/main/webapp/fckeditor/editor/fckdebug.html =================================================================== --- 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 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<!-- + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * 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 + * + * == END LICENSE == + * + * This is the Debug window. + * It automatically popups if the Debug = true in the configuration file. +--> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>FCKeditor Debug Window</title> + <meta name="robots" content="noindex, nofollow" /> + <script type="text/javascript"> + +var oWindow ; +var oDiv ; + +if ( !window.FCKMessages ) + window.FCKMessages = new Array() ; + +window.onload = function() +{ + oWindow = document.getElementById('xOutput').contentWindow ; + oWindow.document.open() ; + oWindow.document.write( '<div id="divMsg"><\/div>' ) ; + oWindow.document.close() ; + oDiv = oWindow.document.getElementById('divMsg') ; +} + +function Output( message, color, noParse ) +{ + if ( !noParse && message != null && isNaN( message ) ) + message = message.replace(/</g, "<") ; + + if ( color ) + message = '<font color="' + color + '">' + message + '<\/font>' ; + + window.FCKMessages[ window.FCKMessages.length ] = message ; + StartTimer() ; +} + +function OutputObject( anyObject, color ) +{ + var message ; + + if ( anyObject != null ) + { + message = 'Properties of: ' + anyObject + '</b><blockquote>' ; + + for (var prop in anyObject) + { + try + { + var sVal = anyObject[ prop ] != null ? anyObject[ prop ] + '' : '[null]' ; + message += '<b>' + prop + '</b> : ' + sVal.replace(/</g, '<') + '<br>' ; + } + catch (e) + { + try + { + message += '<b>' + prop + '</b> : [' + typeof( anyObject[ prop ] ) + ']<br>' ; + } + catch (e) + { + message += '<b>' + prop + '</b> : [-error-]<br>' ; + } + } + } + + message += '</blockquote><b>' ; + } else + message = 'OutputObject : Object is "null".' ; + + Output( message, color, true ) ; +} + +function StartTimer() +{ + window.setTimeout( 'CheckMessages()', 100 ) ; +} + +function CheckMessages() +{ + if ( window.FCKMessages.length > 0 ) + { + // Get the first item in the queue + var sMessage = window.FCKMessages[0] ; + + // Removes the first item from the queue + var oTempArray = new Array() ; + for ( i = 1 ; i < window.FCKMessages.length ; i++ ) + oTempArray[ i - 1 ] = window.FCKMessages[ i ] ; + window.FCKMessages = oTempArray ; + + var d = new Date() ; + var sTime = + ( d.getHours() + 100 + '' ).substr( 1,2 ) + ':' + + ( d.getMinutes() + 100 + '' ).substr( 1,2 ) + ':' + + ( d.getSeconds() + 100 + '' ).substr( 1,2 ) + ':' + + ( d.getMilliseconds() + 1000 + '' ).substr( 1,3 ) ; + + var oMsgDiv = oWindow.document.createElement( 'div' ) ; + oMsgDiv.innerHTML = sTime + ': <b>' + sMessage + '<\/b>' ; + oDiv.appendChild( oMsgDiv ) ; + oMsgDiv.scrollIntoView() ; + } +} + +function Clear() +{ + oDiv.innerHTML = '' ; +} + </script> +</head> +<body style="margin: 10px"> + <table style="height: 100%" cellspacing="5" cellpadding="0" width="100%" border="0"> + <tr> + <td> + <table cellspacing="0" cellpadding="0" width="100%" border="0"> + <tr> + <td style="font-weight: bold; font-size: 1.2em;"> + FCKeditor Debug Window</td> + <td align="right"> + <input type="button" value="Clear" onclick="Clear();" /></td> + </tr> + </table> + </td> + </tr> + <tr style="height: 100%"> + <td style="border: #696969 1px solid"> + <iframe id="xOutput" width="100%" height="100%" scrolling="auto" src="javascript:void(0)" + frameborder="0"></iframe> + </td> + </tr> + </table> +</body> +</html> Added: trunk/lutinrss/src/main/webapp/fckeditor/editor/fckdialog.html =================================================================== --- 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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!-- + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * 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 + * + * == END LICENSE == + * + * This page is used by all dialog box as the container. +--> +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title></title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta name="robots" content="noindex, nofollow" /> + <script type="text/javascript"> +// Domain relaxation logic. +(function() +{ + var d = document.domain ; + + while ( true ) + { + // Test if we can access a parent property. + try + { + var parentDomain = ( Args().TopWindow || E ).document.domain ; + + if ( document.domain != parentDomain ) + document.domain = parentDomain ; + + break ; + } + catch( e ) {} + + // Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ... + d = d.replace( /.*?(?:\.|$)/, '' ) ; + + if ( d.length == 0 ) + break ; // It was not able to detect the domain. + + document.domain = d ; + } +})() ; + +var E = frameElement._DialogArguments.Editor ; + +// It seems referencing to frameElement._DialogArguments directly would lead to memory leaks in IE. +// So let's use functions to access its members instead. +function Args() +{ + return frameElement._DialogArguments ; +} + +function ParentDialog( dialog ) +{ + return dialog ? dialog._ParentDialog : frameElement._ParentDialog ; +} + +var FCK = E.FCK ; +var FCKTools = E.FCKTools ; +var FCKDomTools = E.FCKDomTools ; +var FCKDialog = E.FCKDialog ; +var FCKBrowserInfo = E.FCKBrowserInfo ; +var FCKConfig = E.FCKConfig ; + +// Steal the focus so that the caret would no longer stay in the editor iframe. +window.focus() ; + +// Sets the Skin CSS +document.write( FCKTools.GetStyleHtml( FCKConfig.SkinDialogCSS ) ) ; + +// Sets the language direction. +var langDir = document.documentElement.dir = E.FCKLang.Dir ; + +// For IE6-, the fck_dialog_ie6.js is loaded, used to fix limitations in the browser. +if ( FCKBrowserInfo.IsIE && !FCKBrowserInfo.IsIE7 ) + document.write( '<' + 'script type="text/javascript" src="' + FCKConfig.SkinPath + 'fck_dialog_ie6.js"><' + '\/script>' ) ; + +FCKTools.RegisterDollarFunction( window ) ; + +// Resize related functions. +var Sizer = function() +{ + var bAutoSize = false ; + + var retval = { + // Sets whether the dialog should auto-resize according to its content's height. + SetAutoSize : function( autoSize ) + { + bAutoSize = autoSize ; + this.RefreshSize() ; + }, + + // Fit the dialog container's layout to the inner iframe's external size. + RefreshContainerSize : function() + { + var frmMain = $( 'frmMain' ) ; + + if ( frmMain ) + { + // Get the container size. + var height = $( 'contents' ).offsetHeight ; + + // Subtract the size of other elements. + height -= $( 'TitleArea' ).offsetHeight ; + height -= $( 'TabsRow' ).offsetHeight ; + height -= $( 'PopupButtons' ).offsetHeight ; + + frmMain.style.height = Math.max( height, 0 ) + 'px' ; + } + }, + + // Resize and re-layout the dialog. + // Triggers the onresize event for the layout logic. + ResizeDialog : function( width, height ) + { + FCKDomTools.SetElementStyles( window.frameElement, + { + 'width' : width + 'px', + 'height' : height + 'px' + } ) ; + + // If the skin have defined a function for resize fixes, call it now. + if ( typeof window.DoResizeFixes == 'function' ) + window.DoResizeFixes() ; + }, + + // if bAutoSize is true, automatically fit the dialog size and layout to + // accomodate the inner iframe's internal height. + // if bAutoSize is false, then only the layout logic for the dialog decorations + // is run to accomodate the inner iframe's external height. + RefreshSize : function() + { + if ( bAutoSize ) + { + var frmMain = $( 'frmMain' ) ; + var innerDoc = frmMain.contentWindow.document ; + var isStrict = FCKTools.IsStrictMode( innerDoc ) ; + + // Get the size of the frame contents. + var innerWidth = isStrict ? innerDoc.documentElement.scrollWidth : innerDoc.body.scrollWidth ; + var innerHeight = isStrict ? innerDoc.documentElement.scrollHeight : innerDoc.body.scrollHeight ; + + // Get the current frame size. + var frameSize = FCKTools.GetViewPaneSize( frmMain.contentWindow ) ; + + var deltaWidth = innerWidth - frameSize.Width ; + var deltaHeight = innerHeight - frameSize.Height ; + + // If the contents fits the current size. + if ( deltaWidth <= 0 && deltaHeight <= 0 ) + return ; + + var dialogWidth = frameElement.offsetWidth + Math.max( deltaWidth, 0 ) ; + var dialogHeight = frameElement.offsetHeight + Math.max( deltaHeight, 0 ) ; + + this.ResizeDialog( dialogWidth, dialogHeight ) ; + } + this.RefreshContainerSize() ; + } + } + + /** + * Safari seems to have a bug with the time when RefreshSize() is executed - it + * thinks frmMain's innerHeight is 0 if we query the value too soon after the + * page is loaded in some circumstances. (#1316) + * TODO : Maybe this is not needed anymore after #35. + */ + if ( FCKBrowserInfo.IsSafari ) + { + var originalRefreshSize = retval.RefreshSize ; + + retval.RefreshSize = function() + { + FCKTools.SetTimeout( originalRefreshSize, 1, retval ) ; + } + } + + window.onresize = function() + { + retval.RefreshContainerSize() ; + } + + window.SetAutoSize = FCKTools.Bind( retval, retval.SetAutoSize ) ; + + return retval ; +}() ; + +// Manages the throbber image that appears if the inner part of dialog is taking too long to load. +var Throbber = function() +{ + var timer ; + + var updateThrobber = function() + { + var throbberParent = $( 'throbberBlock' ) ; + var throbberBlocks = throbberParent.childNodes ; + var lastClass = throbberParent.lastChild.className ; + + // From the last to the second one, copy the class from the previous one. + for ( var i = throbberBlocks.length - 1 ; i > 0 ; i-- ) + throbberBlocks[i].className = throbberBlocks[i-1].className ; + + // For the first one, copy the last class (rotation). + throbberBlocks[0].className = lastClass ; + } + + return { + Show : function( waitMilliseconds ) + { + // Auto-setup the Show function to be called again after the + // requested amount of time. + if ( waitMilliseconds && waitMilliseconds > 0 ) + { + timer = FCKTools.SetTimeout( this.Show, waitMilliseconds, this, null, window ) ; + return ; + } + + var throbberParent = $( 'throbberBlock' ) ; + + // Create the throbber blocks. + var classIds = [ 1,2,3,4,5,4,3,2 ] ; + while ( classIds.length > 0 ) + throbberParent.appendChild( document.createElement( 'div' ) ).className = ' throbber_' + classIds.shift() ; + + // Center the throbber. + var frm = $( 'contents' ) ; + var frmCoords = FCKTools.GetDocumentPosition( window, frm ) ; + var x = frmCoords.x + ( frm.offsetWidth - throbberParent.offsetWidth ) / 2 ; + var y = frmCoords.y + ( frm.offsetHeight - throbberParent.offsetHeight ) / 2 ; + throbberParent.style.left = parseInt( x, 10 ) + 'px' ; + throbberParent.style.top = parseInt( y, 10 ) + 'px' ; + + // Show it. + throbberParent.style.visibility = '' ; + + // Setup the animation interval. + timer = setInterval( updateThrobber, 100 ) ; + }, + + Hide : function() + { + if ( timer ) + { + clearInterval( timer ) ; + timer = null ; + } + + var throbberParent = document.getElementById( 'throbberBlock' ) ; + if ( throbberParent ) + FCKDomTools.RemoveNode( throbberParent ) ; + } + } ; +}() ; + +// Drag and drop handlers. +var DragAndDrop = function() +{ + var registeredWindows = [] ; + var lastCoords ; + var currentPos ; + + var cleanUpHandlers = function() + { + for ( var i = 0 ; i < registeredWindows.length ; i++ ) + { + FCKTools.RemoveEventListener( registeredWindows[i].document, 'mousemove', dragMouseMoveHandler ) ; + FCKTools.RemoveEventListener( registeredWindows[i].document, 'mouseup', dragMouseUpHandler ) ; + } + } + + var dragMouseMoveHandler = function( evt ) + { + if ( !lastCoords ) + return ; + + if ( !evt ) + evt = FCKTools.GetElementDocument( this ).parentWindow.event ; + + // Updated the last coordinates. + var currentCoords = + { + x : evt.screenX, + y : evt.screenY + } ; + + currentPos = + { + x : currentPos.x + ( currentCoords.x - lastCoords.x ), + y : currentPos.y + ( currentCoords.y - lastCoords.y ) + } ; + + lastCoords = currentCoords ; + + frameElement.style.left = currentPos.x + 'px' ; + frameElement.style.top = currentPos.y + 'px' ; + + if ( evt.preventDefault ) + evt.preventDefault() ; + else + evt.returnValue = false ; + } + + var dragMouseUpHandler = function( evt ) + { + if ( !lastCoords ) + return ; + if ( !evt ) + evt = FCKTools.GetElementDocument( this ).parentWindow.event ; + cleanUpHandlers() ; + lastCoords = null ; + } + + return { + + MouseDownHandler : function( evt ) + { + var view = null ; + if ( !evt ) + { + view = FCKTools.GetElementDocument( this ).parentWindow ; + evt = view.event ; + } + else + view = evt.view ; + + var target = evt.srcElement || evt.target ; + if ( target.id == 'closeButton' || target.className == 'PopupTab' || target.className == 'PopupTabSelected' ) + return ; + + lastCoords = + { + x : evt.screenX, + y : evt.screenY + } ; + + // Save the current IFRAME position. + currentPos = + { + x : parseInt( FCKDomTools.GetCurrentElementStyle( frameElement, 'left' ), 10 ), + y : parseInt( FCKDomTools.GetCurrentElementStyle( frameElement, 'top' ), 10 ) + } ; + + for ( var i = 0 ; i < registeredWindows.length ; i++ ) + { + FCKTools.AddEventListener( registeredWindows[i].document, 'mousemove', dragMouseMoveHandler ) ; + FCKTools.AddEventListener( registeredWindows[i].document, 'mouseup', dragMouseUpHandler ) ; + } + + if ( evt.preventDefault ) + evt.preventDefault() ; + else + evt.returnValue = false ; + }, + + RegisterHandlers : function( w ) + { + registeredWindows.push( w ) ; + } + } +}() ; + +// Selection related functions. +//(Became simple shortcuts after the fix for #1990) +var Selection = +{ + /** + * Ensures that the editing area contains an active selection. This is a + * requirement for IE, as it looses the selection when the focus moves to other + * frames. + */ + EnsureSelection : function() + { + FCK.Selection.Restore() ; + }, + + /** + * Get the FCKSelection object for the editor instance. + */ + GetSelection : function() + { + return FCK.Selection ; + }, + + /** + * Get the selected element in the editing area (for object selections). + */ + GetSelectedElement : function() + { + return FCK.Selection.GetSelectedElement() ; + } +} + +// Tab related functions. +var Tabs = function() +{ + // Only element ids should be stored here instead of element references since setSelectedTab and TabDiv_OnClick + // would build circular references with the element references inside and cause memory leaks in IE6. + var oTabs = new Object() ; + + var setSelectedTab = function( tabCode ) + { + for ( var sCode in oTabs ) + { + if ( sCode == tabCode ) + $( oTabs[sCode] ).className = 'PopupTabSelected' ; + else + $( oTabs[sCode] ).className = 'PopupTab' ; + } + + if ( typeof( window.frames["frmMain"].OnDialogTabChange ) == 'function' ) + window.frames["frmMain"].OnDialogTabChange( tabCode ) ; + } + + function TabDiv_OnClick() + { + setSelectedTab( this.TabCode ) ; + } + + window.AddTab = function( tabCode, tabText, startHidden ) + { + if ( typeof( oTabs[ tabCode ] ) != 'undefined' ) + return ; + + var eTabsRow = $( 'Tabs' ) ; + + var oCell = eTabsRow.insertCell( eTabsRow.cells.length - 1 ) ; + oCell.noWrap = true ; + + var oDiv = document.createElement( 'DIV' ) ; + oDiv.className = 'PopupTab' ; + oDiv.innerHTML = tabText ; + oDiv.TabCode = tabCode ; + oDiv.onclick = TabDiv_OnClick ; + oDiv.id = Math.random() ; + + if ( startHidden ) + oDiv.style.display = 'none' ; + + eTabsRow = $( 'TabsRow' ) ; + + oCell.appendChild( oDiv ) ; + + if ( eTabsRow.style.display == 'none' ) + { + var eTitleArea = $( 'TitleArea' ) ; + eTitleArea.className = 'PopupTitle' ; + + oDiv.className = 'PopupTabSelected' ; + eTabsRow.style.display = '' ; + + if ( window.onresize ) + window.onresize() ; + } + + oTabs[ tabCode ] = oDiv.id ; + + FCKTools.DisableSelection( oDiv ) ; + } ; + + window.SetSelectedTab = setSelectedTab ; + + window.SetTabVisibility = function( tabCode, isVisible ) + { + var oTab = $( oTabs[ tabCode ] ) ; + oTab.style.display = isVisible ? '' : 'none' ; + + if ( ! isVisible && oTab.className == 'PopupTabSelected' ) + { + for ( var sCode in oTabs ) + { + if ( $( oTabs[sCode] ).style.display != 'none' ) + { + setSelectedTab( sCode ) ; + break ; + } + } + } + } ; +}() ; + +// readystatechange handler for registering drag and drop handlers in cover +// iframes, defined out here to avoid memory leak. +// Do NOT put this function as a private function as it will induce memory leak +// in IE and it's not detectable with Drip or sIEve and undetectable leaks are +// really nasty (sigh). +var onReadyRegister = function() +{ + if ( this.readyState != 'complete' ) + return ; + DragAndDrop.RegisterHandlers( this.contentWindow ) ; +} ; + +// The business logic of the dialog, dealing with operational things like +// dialog open/dialog close/enable/disable/etc. +(function() +{ + var setOnKeyDown = function( targetDocument ) + { + targetDocument.onkeydown = function ( e ) + { + e = e || event || this.parentWindow.event ; + switch ( e.keyCode ) + { + case 13 : // ENTER + var oTarget = e.srcElement || e.target ; + if ( oTarget.tagName == 'TEXTAREA' ) + return true ; + Ok() ; + return false ; + + case 27 : // ESC + Cancel() ; + return false ; + } + return true ; + } + } ; + + var contextMenuBlocker = function( e ) + { + var sTagName = e.target.tagName ; + if ( ! ( ( sTagName == "INPUT" && e.target.type == "text" ) || sTagName == "TEXTAREA" ) ) + e.preventDefault() ; + } ; + + var disableContextMenu = function( targetDocument ) + { + if ( FCKBrowserInfo.IsIE ) + return ; + + targetDocument.addEventListener( 'contextmenu', contextMenuBlocker, true ) ; + } ; + + // Program entry point. + window.Init = function() + { + // Start the throbber timer. + Throbber.Show( 1000 ) ; + + Sizer.RefreshContainerSize() ; + LoadInnerDialog() ; + + FCKTools.DisableSelection( document.body ) ; + + // Make the title area draggable. + var titleElement = $( 'header' ) ; + titleElement.onmousedown = DragAndDrop.MouseDownHandler ; + + // Connect mousemove and mouseup events from dialog frame and outer window to dialog dragging logic. + DragAndDrop.RegisterHandlers( window ) ; + DragAndDrop.RegisterHandlers( Args().TopWindow ) ; + + // Disable the previous dialog if it exists. + if ( ParentDialog() ) + { + ParentDialog().contentWindow.SetEnabled( false ) ; + if ( FCKBrowserInfo.IsIE && !FCKBrowserInfo.IsIE7 ) + { + var currentParent = ParentDialog() ; + while ( currentParent ) + { + var blockerFrame = currentParent.contentWindow.$( 'blocker' ) ; + if ( blockerFrame.readyState == 'complete' ) + DragAndDrop.RegisterHandlers( blockerFrame.contentWindow ) ; + else + blockerFrame.onreadystatechange = onReadyRegister ; + currentParent = ParentDialog( currentParent ) ; + } + } + else + { + var currentParent = ParentDialog() ; + while ( currentParent ) + { + DragAndDrop.RegisterHandlers( currentParent.contentWindow ) ; + currentParent = ParentDialog( currentParent ) ; + } + } + } + + // If this is the only dialog on screen, enable the background cover. + if ( FCKBrowserInfo.IsIE && !FCKBrowserInfo.IsIE7 ) + { + var blockerFrame = FCKDialog.GetCover().firstChild ; + if ( blockerFrame.readyState == 'complete' ) + DragAndDrop.RegisterHandlers( blockerFrame.contentWindow ) ; + else + blockerFrame.onreadystatechange = onReadyRegister; + } + + // Add Enter/Esc hotkeys and disable context menu for the dialog. + setOnKeyDown( document ) ; + disableContextMenu( document ) ; + } ; + + window.LoadInnerDialog = function() + { + if ( window.onresize ) + window.onresize() ; + + // First of all, translate the dialog box contents. + E.FCKLanguageManager.TranslatePage( document ) ; + + // Create the IFRAME that holds the dialog contents. + $( 'innerContents' ).innerHTML = '<iframe id="frmMain" src="' + Args().Page + '" name="frmMain" frameborder="0" width="100%" height="100%" scrolling="auto" style="visibility: hidden;" allowtransparency="true"></iframe>' ; + } ; + + window.InnerDialogLoaded = function() + { + // If the dialog has been closed before the iframe is loaded, do nothing. + if ( !frameElement.parentNode ) + return null ; + + Throbber.Hide() ; + + var frmMain = $('frmMain') ; + var innerWindow = frmMain.contentWindow ; + var innerDoc = innerWindow.document ; + + // Show the loaded iframe. + frmMain.style.visibility = '' ; + + // Set the language direction. + innerDoc.documentElement.dir = langDir ; + + // Sets the Skin CSS. + innerDoc.write( FCKTools.GetStyleHtml( FCKConfig.SkinDialogCSS ) ) ; + + setOnKeyDown( innerDoc ) ; + disableContextMenu( innerDoc ) ; + + Sizer.RefreshContainerSize(); + + DragAndDrop.RegisterHandlers( innerWindow ) ; + + innerWindow.focus() ; + + return E ; + } ; + + window.SetOkButton = function( showIt ) + { + $('btnOk').style.visibility = ( showIt ? '' : 'hidden' ) ; + } ; + + window.Ok = function() + { + Selection.EnsureSelection() ; + + var frmMain = window.frames["frmMain"] ; + + if ( frmMain.Ok && frmMain.Ok() ) + CloseDialog() ; + else + frmMain.focus() ; + } ; + + window.Cancel = function( dontFireChange ) + { + Selection.EnsureSelection() ; + return CloseDialog( dontFireChange ) ; + } ; + + window.CloseDialog = function( dontFireChange ) + { + Throbber.Hide() ; + + // Points the src to a non-existent location to avoid loading errors later, in case the dialog + // haven't been completed loaded at this point. + if ( $( 'frmMain' ) ) + $( 'frmMain' ).src = FCKTools.GetVoidUrl() ; + + if ( !dontFireChange && !FCK.EditMode ) + { + // All dialog windows, by default, will fire the "OnSelectionChange" + // event, no matter the Ok or Cancel button has been pressed. + // It seems that OnSelectionChange may enter on a concurrency state + // on some situations (#1965), so we should put the event firing in + // the execution queue instead of executing it immediately. + setTimeout( function() + { + FCK.Events.FireEvent( 'OnSelectionChange' ) ; + }, 0 ) ; + } + + FCKDialog.OnDialogClose( window ) ; + } ; + + window.SetEnabled = function( isEnabled ) + { + var cover = $( 'cover' ) ; + cover.style.display = isEnabled ? 'none' : '' ; + + if ( FCKBrowserInfo.IsIE && !FCKBrowserInfo.IsIE7 ) + { + if ( !isEnabled ) + { + // Inser the blocker IFRAME before the cover. + var blocker = document.createElement( 'iframe' ) ; + blocker.src = FCKTools.GetVoidUrl() ; + blocker.hideFocus = true ; + blocker.frameBorder = 0 ; + blocker.id = blocker.className = 'blocker' ; + cover.appendChild( blocker ) ; + } + else + { + var blocker = $( 'blocker' ) ; + if ( blocker && blocker.parentNode ) + blocker.parentNode.removeChild( blocker ) ; + } + } + } ; +})() ; + </script> + </head> + <body onload="Init();" class="PopupBody"> + <div class="contents" id="contents"> + <div id="header"> + <div id="TitleArea" class="PopupTitle PopupTitleBorder"> + <script type="text/javascript"> +document.write( Args().Title ) ; + </script> + <div id="closeButton" onclick="Cancel();"></div> + </div> + <div id="TabsRow" class="PopupTabArea" style="display: none"> + <table border="0" cellpadding="0" cellspacing="0" width="100%"> + <tr id="Tabs"> + <td class="PopupTabEmptyArea"> </td> + <td class="PopupTabEmptyArea" width="100%"> </td> + </tr> + </table> + </div> + </div> + <div id="innerContents"></div> + <div id="PopupButtons" class="PopupButtons"> + <table border="0" cellpadding="0" cellspacing="0"> + <tr> + <td width="100%"> </td> + <td nowrap="nowrap"> + <input id="btnOk" style="visibility: hidden;" type="button" value="Ok" class="Button" onclick="Ok();" fckLang="DlgBtnOK" /> + + <input id="btnCancel" type="button" value="Cancel" class="Button" onclick="Cancel();" fckLang="DlgBtnCancel" /> + </td> + </tr> + </table> + </div> + </div> + <div class="tl"></div> + <div class="tc"></div> + <div class="tr"></div> + <div class="ml"></div> + <div class="mr"></div> + <div class="bl"></div> + <div class="bc"></div> + <div class="br"></div> + <div class="cover" id="cover" style="display:none"></div> + <div id="throbberBlock" style="position: absolute; visibility: hidden"></div> + <script type="text/javascript"> + // Set the class name for language direction. + document.body.className += ' ' + langDir ; + + var cover = $( 'cover' ) ; + cover.style.backgroundColor = FCKConfig.BackgroundBlockerColor ; + FCKDomTools.SetOpacity( cover, FCKConfig.BackgroundBlockerOpacity ) ; + </script> + </body> +</html> Added: trunk/lutinrss/src/main/webapp/fckeditor/editor/fckeditor.html =================================================================== --- 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 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<!-- + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * 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 + * + * == END LICENSE == + * + * Main page that holds the editor. +--> +<html> +<head> + <title>FCKeditor</title> + <meta name="robots" content="noindex, nofollow"> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <meta http-equiv="Cache-Control" content="public"> + <script type="text/javascript"> + +// Save a reference to the default domain. +var FCK_ORIGINAL_DOMAIN ; + +// Automatically detect the correct document.domain (#123). +(function() +{ + var d = FCK_ORIGINAL_DOMAIN = document.domain ; + + while ( true ) + { + // Test if we can access a parent property. + try + { + var test = window.parent.document.domain ; + break ; + } + catch( e ) {} + + // Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ... + d = d.replace( /.*?(?:\.|$)/, '' ) ; + + if ( d.length == 0 ) + break ; // It was not able to detect the domain. + + try + { + document.domain = d ; + } + catch (e) + { + break ; + } + } +})() ; + +// Save a reference to the detected runtime domain. +var FCK_RUNTIME_DOMAIN = document.domain ; + +var FCK_IS_CUSTOM_DOMAIN = ( FCK_ORIGINAL_DOMAIN != FCK_RUNTIME_DOMAIN ) ; + +// Instead of loading scripts and CSSs using inline tags, all scripts are +// loaded by code. In this way we can guarantee the correct processing order, +// otherwise external scripts and inline scripts could be executed in an +// unwanted order (IE). + +function LoadScript( url ) +{ + document.write( '<scr' + 'ipt type="text/javascript" src="' + url + '"><\/scr' + 'ipt>' ) ; +} + +// Main editor scripts. +var sSuffix = ( /*@cc_on!@*/false ) ? 'ie' : 'gecko' ; + +LoadScript( 'js/fckeditorcode_' + sSuffix + '.js' ) ; + +// Base configuration file. +LoadScript( '../fckconfig.js' ) ; + + </script> + <script type="text/javascript"> + +// Adobe AIR compatibility file. +if ( FCKBrowserInfo.IsAIR ) + LoadScript( 'js/fckadobeair.js' ) ; + +if ( FCKBrowserInfo.IsIE ) +{ + // Remove IE mouse flickering. + try + { + document.execCommand( 'BackgroundImageCache', false, true ) ; + } + catch (e) + { + // We have been reported about loading problems caused by the above + // line. For safety, let's just ignore errors. + } + + // Create the default cleanup object used by the editor. + FCK.IECleanup = new FCKIECleanup( window ) ; + FCK.IECleanup.AddItem( FCKTempBin, FCKTempBin.Reset ) ; + FCK.IECleanup.AddItem( FCK, FCK_Cleanup ) ; +} + +// The first function to be called on selection change must the the styles +// change checker, because the result of its processing may be used by another +// functions listening to the same event. +FCK.Events.AttachEvent( 'OnSelectionChange', function() { FCKStyles.CheckSelectionChanges() ; } ) ; + +// The config hidden field is processed immediately, because +// CustomConfigurationsPath may be set in the page. +FCKConfig.ProcessHiddenField() ; + +// Load the custom configurations file (if defined). +if ( FCKConfig.CustomConfigurationsPath.length > 0 ) + LoadScript( FCKConfig.CustomConfigurationsPath ) ; + + </script> + <script type="text/javascript"> + +// Load configurations defined at page level. +FCKConfig_LoadPageConfig() ; + +FCKConfig_PreProcess() ; + +// CSS minified by http://iceyboard.no-ip.org/projects/css_compressor +var FCK_InternalCSS = FCKTools.FixCssUrls( FCKConfig.FullBasePath + 'css/', 'html{min-height:100%}table.FCK__ShowTableBorders,table.FCK__ShowTableBorders td,table.FCK__ShowTableBorders th{border:#d3d3d3 1px solid}form{border:1px dotted #F00;padding:2px}.FCK__Flash{border:#a9a9a9 1px solid;background-position:center center;background-image:url(images/fck_flashlogo.gif);background-repeat:no-repeat;width:80px;height:80px}.FCK__Anchor{border:1px dotted #00F;background-position:center center;background-image:url(images/fck_anchor.gif);background-repeat:no-repeat;width:16px;height:15px;vertical-align:middle}.FCK__AnchorC{border:1px dotted #00F;background-position:1px center;background-image:url(images/fck_anchor.gif);background-repeat:no-repeat;padding-left:18px}a[name]{border:1px dotted #00F;background-position:0 center;background-image:url(images/fck_anchor.gif);background-repeat:no-repeat;padding-left:18px}.FCK__PageBreak{background-position:center center;background-image:url(images/fck_pagebreak.gif);background-repeat:no-repeat;clear:both;display:block;float:none;width:100%;border-top:#999 1px dotted;border-bottom:#999 1px dotted;border-right:0;border-left:0;height:5px}.FCK__InputHidden{width:19px;height:18px;background-image:url(images/fck_hiddenfield.gif);background-repeat:no-repeat;vertical-align:text-bottom;background-position:center center}.FCK__ShowBlocks p,.FCK__ShowBlocks div,.FCK__ShowBlocks pre,.FCK__ShowBlocks address,.FCK__ShowBlocks blockquote,.FCK__ShowBlocks h1,.FCK__ShowBlocks h2,.FCK__ShowBlocks h3,.FCK__ShowBlocks h4,.FCK__ShowBlocks h5,.FCK__ShowBlocks h6{background-repeat:no-repeat;border:1px dotted gray;padding-top:8px;padding-left:8px}.FCK__ShowBlocks p{background-image:url(images/block_p.png)}.FCK__ShowBlocks div{background-image:url(images/block_div.png)}.FCK__ShowBlocks pre{background-image:url(images/block_pre.png)}.FCK__ShowBlocks address{background-image:url(images/block_address.png)}.FCK__ShowBlocks blockquote{background-image:url(images/block_blockquote.png)}.FCK__ShowBlocks h1{background-image:url(images/block_h1.png)}.FCK__ShowBlocks h2{background-image:url(images/block_h2.png)}.FCK__ShowBlocks h3{background-image:url(images/block_h3.png)}.FCK__ShowBlocks h4{background-image:url(images/block_h4.png)}.FCK__ShowBlocks h5{background-image:url(images/block_h5.png)}.FCK__ShowBlocks h6{background-image:url(images/block_h6.png)}' ) ; +var FCK_ShowTableBordersCSS = FCKTools.FixCssUrls( FCKConfig.FullBasePath + 'css/', 'table:not([border]),table:not([border]) > tr > td,table:not([border]) > tr > th,table:not([border]) > tbody > tr > td,table:not([border]) > tbody > tr > th,table:not([border]) > thead > tr > td,table:not([border]) > thead > tr > th,table:not([border]) > tfoot > tr > td,table:not([border]) > tfoot > tr > th,table[border=\"0\"],table[border=\"0\"] > tr > td,table[border=\"0\"] > tr > th,table[border=\"0\"] > tbody > tr > td,table[border=\"0\"] > tbody > tr > th,table[border=\"0\"] > thead > tr > td,table[border=\"0\"] > thead > tr > th,table[border=\"0\"] > tfoot > tr > td,table[border=\"0\"] > tfoot > tr > th{border:#d3d3d3 1px dotted}' ) ; + +// Popup the debug window if debug mode is set to true. It guarantees that the +// first debug message will not be lost. +if ( FCKConfig.Debug ) + FCKDebug._GetWindow() ; + +// Load the active skin CSS. +document.write( FCKTools.GetStyleHtml( FCKConfig.SkinEditorCSS ) ) ; + +// Load the language file. +FCKLanguageManager.Initialize() ; +LoadScript( 'lang/' + FCKLanguageManager.ActiveLanguage.Code + '.js' ) ; + + </script> + <script type="text/javascript"> + +// Initialize the editing area context menu. +FCK_ContextMenu_Init() ; + +FCKPlugins.Load() ; + + </script> + <script type="text/javascript"> + +// Set the editor interface direction. +window.document.dir = FCKLang.Dir ; + + </script> + <script type="text/javascript"> + +window.onload = function() +{ + InitializeAPI() ; + + if ( FCKBrowserInfo.IsIE ) + FCK_PreloadImages() ; + else + LoadToolbarSetup() ; +} + +function LoadToolbarSetup() +{ + FCKeditorAPI._FunctionQueue.Add( LoadToolbar ) ; +} + +function LoadToolbar() +{ + var oToolbarSet = FCK.ToolbarSet = FCKToolbarSet_Create() ; + + if ( oToolbarSet.IsLoaded ) + StartEditor() ; + else + { + oToolbarSet.OnLoad = StartEditor ; + oToolbarSet.Load( FCKURLParams['Toolbar'] || 'Default' ) ; + } +} + +function StartEditor() +{ + // Remove the onload listener. + FCK.ToolbarSet.OnLoad = null ; + + FCKeditorAPI._FunctionQueue.Remove( LoadToolbar ) ; + + FCK.Events.AttachEvent( 'OnStatusChange', WaitForActive ) ; + + // Start the editor. + FCK.StartEditor() ; +} + +function WaitForActive( editorInstance, newStatus ) +{ + if ( newStatus == FCK_STATUS_ACTIVE ) + { + if ( FCKBrowserInfo.IsGecko ) + FCKTools.RunFunction( window.onresize ) ; + + _AttachFormSubmitToAPI() ; + + FCK.SetStatus( FCK_STATUS_COMPLETE ) ; + + // Call the special "FCKeditor_OnComplete" function that should be present in + // the HTML page where the editor is located. + if ( typeof( window.parent.FCKeditor_OnComplete ) == 'function' ) + window.parent.FCKeditor_OnComplete( FCK ) ; + } +} + +// Gecko browsers doesn't calculate well the IFRAME size so we must +// recalculate it every time the window size changes. +if ( FCKBrowserInfo.IsGecko && !FCKBrowserInfo.IsOpera ) +{ + window.onresize = function( e ) + { + // Running in Chrome makes the window receive the event including subframes. + // we care only about this window. Ticket #1642. + // #2002: The originalTarget from the event can be the current document, the window, or the editing area. + if ( e && e.originalTarget !== document && e.originalTarget !== window && (!e.originalTarget.ownerDocument || e.originalTarget.ownerDocument != document )) + return ; + + var oCell = document.getElementById( 'xEditingArea' ) ; + + var eInnerElement = oCell.firstChild ; + if ( eInnerElement ) + { + eInnerElement.style.height = '0px' ; + eInnerElement.style.height = ( oCell.scrollHeight - 2 ) + 'px' ; + } + } +} + + </script> +</head> +<body> + <table width="100%" cellpadding="0" cellspacing="0" style="height: 100%; table-layout: fixed"> + <tr id="xToolbarRow" style="display: none"> + <td id="xToolbarSpace" style="overflow: hidden"> + <table width="100%" cellpadding="0" cellspacing="0"> + <tr id="xCollapsed" style="display: none"> + <td id="xExpandHandle" class="TB_Expand" colspan="3"> + <img class="TB_ExpandImg" alt="" src="images/spacer.gif" width="8" height="4" /></td> + </tr> + <tr id="xExpanded" style="display: none"> + <td id="xTBLeftBorder" class="TB_SideBorder" style="width: 1px; display: none;"></td> + <td id="xCollapseHandle" style="display: none" class="TB_Collapse" valign="bottom"> + <img class="TB_CollapseImg" alt="" src="images/spacer.gif" width="8" height="4" /></td> + <td id="xToolbar" class="TB_ToolbarSet"></td> + <td class="TB_SideBorder" style="width: 1px"></td> + </tr> + </table> + </td> + </tr> + <tr> + <td id="xEditingArea" valign="top" style="height: 100%"></td> + </tr> + </table> +</body> +</html> Added: trunk/lutinrss/src/main/webapp/fckeditor/editor/fckeditor.original.html =================================================================== --- trunk/lutinrss/src/main/webapp/fckeditor/editor/fckeditor.original.html (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/editor/fckeditor.original.html 2008-05-18 11:52:05 UTC (rev 46) @@ -0,0 +1,385 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<!-- + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * 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 + * + * == END LICENSE == + * + * Main page that holds the editor. +--> +<html> +<head> + <title>FCKeditor</title> + <meta name="robots" content="noindex, nofollow"> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <!-- @Packager.RemoveLine + <meta http-equiv="Cache-Control" content="public"> + @Packager.RemoveLine --> + <script type="text/javascript"> + +// Save a reference to the default domain. +var FCK_ORIGINAL_DOMAIN ; + +// Automatically detect the correct document.domain (#123). +(function() +{ + var d = FCK_ORIGINAL_DOMAIN = document.domain ; + + while ( true ) + { + // Test if we can access a parent property. + try + { + var test = window.parent.document.domain ; + break ; + } + catch( e ) {} + + // Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ... + d = d.replace( /.*?(?:\.|$)/, '' ) ; + + if ( d.length == 0 ) + break ; // It was not able to detect the domain. + + try + { + document.domain = d ; + } + catch (e) + { + break ; + } + } +})() ; + +// Save a reference to the detected runtime domain. +var FCK_RUNTIME_DOMAIN = document.domain ; + +var FCK_IS_CUSTOM_DOMAIN = ( FCK_ORIGINAL_DOMAIN != FCK_RUNTIME_DOMAIN ) ; + +// Instead of loading scripts and CSSs using inline tags, all scripts are +// loaded by code. In this way we can guarantee the correct processing order, +// otherwise external scripts and inline scripts could be executed in an +// unwanted order (IE). + +function LoadScript( url ) +{ + document.write( '<scr' + 'ipt type="text/javascript" src="' + url + '"><\/scr' + 'ipt>' ) ; +} + +// Main editor scripts. +var sSuffix = ( /*@cc_on!@*/false ) ? 'ie' : 'gecko' ; + +/* @Packager.RemoveLine +LoadScript( 'js/fckeditorcode_' + sSuffix + '.js' ) ; +@Packager.RemoveLine */ +// @Packager.Remove.Start + +LoadScript( '_source/fckconstants.js' ) ; +LoadScript( '_source/fckjscoreextensions.js' ) ; + +if ( sSuffix == 'ie' ) + LoadScript( '_source/classes/fckiecleanup.js' ) ; + +LoadScript( '_source/internals/fckbrowserinfo.js' ) ; +LoadScript( '_source/internals/fckurlparams.js' ) ; +LoadScript( '_source/classes/fckevents.js' ) ; +LoadScript( '_source/classes/fckdataprocessor.js' ) ; +LoadScript( '_source/internals/fck.js' ) ; +LoadScript( '_source/internals/fck_' + sSuffix + '.js' ) ; +LoadScript( '_source/internals/fckconfig.js' ) ; + +LoadScript( '_source/internals/fckdebug.js' ) ; +LoadScript( '_source/internals/fckdomtools.js' ) ; +LoadScript( '_source/internals/fcktools.js' ) ; +LoadScript( '_source/internals/fcktools_' + sSuffix + '.js' ) ; +LoadScript( '_source/fckeditorapi.js' ) ; +LoadScript( '_source/classes/fckimagepreloader.js' ) ; +LoadScript( '_source/internals/fckregexlib.js' ) ; +LoadScript( '_source/internals/fcklistslib.js' ) ; +LoadScript( '_source/internals/fcklanguagemanager.js' ) ; +LoadScript( '_source/internals/fckxhtmlentities.js' ) ; +LoadScript( '_source/internals/fckxhtml.js' ) ; +LoadScript( '_source/internals/fckxhtml_' + sSuffix + '.js' ) ; +LoadScript( '_source/internals/fckcodeformatter.js' ) ; +LoadScript( '_source/internals/fckundo.js' ) ; +LoadScript( '_source/classes/fckeditingarea.js' ) ; +LoadScript( '_source/classes/fckkeystrokehandler.js' ) ; + +LoadScript( 'dtd/fck_xhtml10transitional.js' ) ; +LoadScript( '_source/classes/fckstyle.js' ) ; +LoadScript( '_source/internals/fckstyles.js' ) ; + +LoadScript( '_source/internals/fcklisthandler.js' ) ; +LoadScript( '_source/classes/fckelementpath.js' ) ; +LoadScript( '_source/classes/fckdomrange.js' ) ; +LoadScript( '_source/classes/fckdocumentfragment_' + sSuffix + '.js' ) ; +LoadScript( '_source/classes/fckw3crange.js' ) ; +LoadScript( '_source/classes/fckdomrange_' + sSuffix + '.js' ) ; +LoadScript( '_source/classes/fckdomrangeiterator.js' ) ; +LoadScript( '_source/classes/fckenterkey.js' ) ; + +LoadScript( '_source/internals/fckdocumentprocessor.js' ) ; +LoadScript( '_source/internals/fckselection.js' ) ; +LoadScript( '_source/internals/fckselection_' + sSuffix + '.js' ) ; + +LoadScript( '_source/internals/fcktablehandler.js' ) ; +LoadScript( '_source/internals/fcktablehandler_' + sSuffix + '.js' ) ; +LoadScript( '_source/classes/fckxml.js' ) ; +LoadScript( '_source/classes/fckxml_' + sSuffix + '.js' ) ; + +LoadScript( '_source/commandclasses/fcknamedcommand.js' ) ; +LoadScript( '_source/commandclasses/fckstylecommand.js' ) ; +LoadScript( '_source/commandclasses/fck_othercommands.js' ) ; +LoadScript( '_source/commandclasses/fckshowblocks.js' ) ; +LoadScript( '_source/commandclasses/fckspellcheckcommand_' + sSuffix + '.js' ) ; +LoadScript( '_source/commandclasses/fcktextcolorcommand.js' ) ; +LoadScript( '_source/commandclasses/fckpasteplaintextcommand.js' ) ; +LoadScript( '_source/commandclasses/fckpastewordcommand.js' ) ; +LoadScript( '_source/commandclasses/fcktablecommand.js' ) ; +LoadScript( '_source/commandclasses/fckfitwindow.js' ) ; +LoadScript( '_source/commandclasses/fcklistcommands.js' ) ; +LoadScript( '_source/commandclasses/fckjustifycommands.js' ) ; +LoadScript( '_source/commandclasses/fckindentcommands.js' ) ; +LoadScript( '_source/commandclasses/fckblockquotecommand.js' ) ; +LoadScript( '_source/commandclasses/fckcorestylecommand.js' ) ; +LoadScript( '_source/commandclasses/fckremoveformatcommand.js' ) ; +LoadScript( '_source/internals/fckcommands.js' ) ; + +LoadScript( '_source/classes/fckpanel.js' ) ; +LoadScript( '_source/classes/fckicon.js' ) ; +LoadScript( '_source/classes/fcktoolbarbuttonui.js' ) ; +LoadScript( '_source/classes/fcktoolbarbutton.js' ) ; +LoadScript( '_source/classes/fckspecialcombo.js' ) ; +LoadScript( '_source/classes/fcktoolbarspecialcombo.js' ) ; +LoadScript( '_source/classes/fcktoolbarstylecombo.js' ) ; +LoadScript( '_source/classes/fcktoolbarfontformatcombo.js' ) ; +LoadScript( '_source/classes/fcktoolbarfontscombo.js' ) ; +LoadScript( '_source/classes/fcktoolbarfontsizecombo.js' ) ; +LoadScript( '_source/classes/fcktoolbarpanelbutton.js' ) ; +LoadScript( '_source/internals/fcktoolbaritems.js' ) ; +LoadScript( '_source/classes/fcktoolbar.js' ) ; +LoadScript( '_source/classes/fcktoolbarbreak_' + sSuffix + '.js' ) ; +LoadScript( '_source/internals/fcktoolbarset.js' ) ; +LoadScript( '_source/internals/fckdialog.js' ) ; +LoadScript( '_source/classes/fckmenuitem.js' ) ; +LoadScript( '_source/classes/fckmenublock.js' ) ; +LoadScript( '_source/classes/fckmenublockpanel.js' ) ; +LoadScript( '_source/classes/fckcontextmenu.js' ) ; +LoadScript( '_source/internals/fck_contextmenu.js' ) ; +LoadScript( '_source/classes/fckhtmliterator.js' ) ; +LoadScript( '_source/classes/fckplugin.js' ) ; +LoadScript( '_source/internals/fckplugins.js' ) ; + +// @Packager.Remove.End + +// Base configuration file. +LoadScript( '../fckconfig.js' ) ; + + </script> + <script type="text/javascript"> + +// Adobe AIR compatibility file. +if ( FCKBrowserInfo.IsAIR ) + LoadScript( 'js/fckadobeair.js' ) ; + +if ( FCKBrowserInfo.IsIE ) +{ + // Remove IE mouse flickering. + try + { + document.execCommand( 'BackgroundImageCache', false, true ) ; + } + catch (e) + { + // We have been reported about loading problems caused by the above + // line. For safety, let's just ignore errors. + } + + // Create the default cleanup object used by the editor. + FCK.IECleanup = new FCKIECleanup( window ) ; + FCK.IECleanup.AddItem( FCKTempBin, FCKTempBin.Reset ) ; + FCK.IECleanup.AddItem( FCK, FCK_Cleanup ) ; +} + +// The first function to be called on selection change must the the styles +// change checker, because the result of its processing may be used by another +// functions listening to the same event. +FCK.Events.AttachEvent( 'OnSelectionChange', function() { FCKStyles.CheckSelectionChanges() ; } ) ; + +// The config hidden field is processed immediately, because +// CustomConfigurationsPath may be set in the page. +FCKConfig.ProcessHiddenField() ; + +// Load the custom configurations file (if defined). +if ( FCKConfig.CustomConfigurationsPath.length > 0 ) + LoadScript( FCKConfig.CustomConfigurationsPath ) ; + + </script> + <script type="text/javascript"> + +// Load configurations defined at page level. +FCKConfig_LoadPageConfig() ; + +FCKConfig_PreProcess() ; + +var FCK_InternalCSS = FCKConfig.FullBasePath + 'css/fck_internal.css' ; // @Packager.RemoveLine +var FCK_ShowTableBordersCSS = FCKConfig.FullBasePath + 'css/fck_showtableborders_gecko.css' ; // @Packager.RemoveLine +/* @Packager.RemoveLine +// CSS minified by http://iceyboard.no-ip.org/projects/css_compressor +var FCK_InternalCSS = FCKTools.FixCssUrls( FCKConfig.FullBasePath + 'css/', 'html{min-height:100%}table.FCK__ShowTableBorders,table.FCK__ShowTableBorders td,table.FCK__ShowTableBorders th{border:#d3d3d3 1px solid}form{border:1px dotted #F00;padding:2px}.FCK__Flash{border:#a9a9a9 1px solid;background-position:center center;background-image:url(images/fck_flashlogo.gif);background-repeat:no-repeat;width:80px;height:80px}.FCK__Anchor{border:1px dotted #00F;background-position:center center;background-image:url(images/fck_anchor.gif);background-repeat:no-repeat;width:16px;height:15px;vertical-align:middle}.FCK__AnchorC{border:1px dotted #00F;background-position:1px center;background-image:url(images/fck_anchor.gif);background-repeat:no-repeat;padding-left:18px}a[name]{border:1px dotted #00F;background-position:0 center;background-image:url(images/fck_anchor.gif);background-repeat:no-repeat;padding-left:18px}.FCK__PageBreak{background-position:center center;background-image:url(images/fck_pagebreak.gif);background-repeat:no-repeat;clear:both;display:block;float:none;width:100%;border-top:#999 1px dotted;border-bottom:#999 1px dotted;border-right:0;border-left:0;height:5px}.FCK__InputHidden{width:19px;height:18px;background-image:url(images/fck_hiddenfield.gif);background-repeat:no-repeat;vertical-align:text-bottom;background-position:center center}.FCK__ShowBlocks p,.FCK__ShowBlocks div,.FCK__ShowBlocks pre,.FCK__ShowBlocks address,.FCK__ShowBlocks blockquote,.FCK__ShowBlocks h1,.FCK__ShowBlocks h2,.FCK__ShowBlocks h3,.FCK__ShowBlocks h4,.FCK__ShowBlocks h5,.FCK__ShowBlocks h6{background-repeat:no-repeat;border:1px dotted gray;padding-top:8px;padding-left:8px}.FCK__ShowBlocks p{background-image:url(images/block_p.png)}.FCK__ShowBlocks div{background-image:url(images/block_div.png)}.FCK__ShowBlocks pre{background-image:url(images/block_pre.png)}.FCK__ShowBlocks address{background-image:url(images/block_address.png)}.FCK__ShowBlocks blockquote{background-image:url(images/block_blockquote.png)}.FCK__ShowBlocks h1{background-image:url(images/block_h1.png)}.FCK__ShowBlocks h2{background-image:url(images/block_h2.png)}.FCK__ShowBlocks h3{background-image:url(images/block_h3.png)}.FCK__ShowBlocks h4{background-image:url(images/block_h4.png)}.FCK__ShowBlocks h5{background-image:url(images/block_h5.png)}.FCK__ShowBlocks h6{background-image:url(images/block_h6.png)}' ) ; +var FCK_ShowTableBordersCSS = FCKTools.FixCssUrls( FCKConfig.FullBasePath + 'css/', 'table:not([border]),table:not([border]) > tr > td,table:not([border]) > tr > th,table:not([border]) > tbody > tr > td,table:not([border]) > tbody > tr > th,table:not([border]) > thead > tr > td,table:not([border]) > thead > tr > th,table:not([border]) > tfoot > tr > td,table:not([border]) > tfoot > tr > th,table[border=\"0\"],table[border=\"0\"] > tr > td,table[border=\"0\"] > tr > th,table[border=\"0\"] > tbody > tr > td,table[border=\"0\"] > tbody > tr > th,table[border=\"0\"] > thead > tr > td,table[border=\"0\"] > thead > tr > th,table[border=\"0\"] > tfoot > tr > td,table[border=\"0\"] > tfoot > tr > th{border:#d3d3d3 1px dotted}' ) ; +@Packager.RemoveLine */ + +// Popup the debug window if debug mode is set to true. It guarantees that the +// first debug message will not be lost. +if ( FCKConfig.Debug ) + FCKDebug._GetWindow() ; + +// Load the active skin CSS. +document.write( FCKTools.GetStyleHtml( FCKConfig.SkinEditorCSS ) ) ; + +// Load the language file. +FCKLanguageManager.Initialize() ; +LoadScript( 'lang/' + FCKLanguageManager.ActiveLanguage.Code + '.js' ) ; + + </script> + <script type="text/javascript"> + +// Initialize the editing area context menu. +FCK_ContextMenu_Init() ; + +FCKPlugins.Load() ; + + </script> + <script type="text/javascript"> + +// Set the editor interface direction. +window.document.dir = FCKLang.Dir ; + + </script> + <script type="text/javascript"> + +window.onload = function() +{ + InitializeAPI() ; + + if ( FCKBrowserInfo.IsIE ) + FCK_PreloadImages() ; + else + LoadToolbarSetup() ; +} + +function LoadToolbarSetup() +{ + FCKeditorAPI._FunctionQueue.Add( LoadToolbar ) ; +} + +function LoadToolbar() +{ + var oToolbarSet = FCK.ToolbarSet = FCKToolbarSet_Create() ; + + if ( oToolbarSet.IsLoaded ) + StartEditor() ; + else + { + oToolbarSet.OnLoad = StartEditor ; + oToolbarSet.Load( FCKURLParams['Toolbar'] || 'Default' ) ; + } +} + +function StartEditor() +{ + // Remove the onload listener. + FCK.ToolbarSet.OnLoad = null ; + + FCKeditorAPI._FunctionQueue.Remove( LoadToolbar ) ; + + FCK.Events.AttachEvent( 'OnStatusChange', WaitForActive ) ; + + // Start the editor. + FCK.StartEditor() ; +} + +function WaitForActive( editorInstance, newStatus ) +{ + if ( newStatus == FCK_STATUS_ACTIVE ) + { + if ( FCKBrowserInfo.IsGecko ) + FCKTools.RunFunction( window.onresize ) ; + + _AttachFormSubmitToAPI() ; + + FCK.SetStatus( FCK_STATUS_COMPLETE ) ; + + // Call the special "FCKeditor_OnComplete" function that should be present in + // the HTML page where the editor is located. + if ( typeof( window.parent.FCKeditor_OnComplete ) == 'function' ) + window.parent.FCKeditor_OnComplete( FCK ) ; + } +} + +// Gecko browsers doesn't calculate well the IFRAME size so we must +// recalculate it every time the window size changes. +if ( FCKBrowserInfo.IsGecko && !FCKBrowserInfo.IsOpera ) +{ + window.onresize = function( e ) + { + // Running in Chrome makes the window receive the event including subframes. + // we care only about this window. Ticket #1642. + // #2002: The originalTarget from the event can be the current document, the window, or the editing area. + if ( e && e.originalTarget !== document && e.originalTarget !== window && (!e.originalTarget.ownerDocument || e.originalTarget.ownerDocument != document )) + return ; + + var oCell = document.getElementById( 'xEditingArea' ) ; + + var eInnerElement = oCell.firstChild ; + if ( eInnerElement ) + { + eInnerElement.style.height = '0px' ; + eInnerElement.style.height = ( oCell.scrollHeight - 2 ) + 'px' ; + } + } +} + + </script> +</head> +<body> + <table width="100%" cellpadding="0" cellspacing="0" style="height: 100%; table-layout: fixed"> + <tr id="xToolbarRow" style="display: none"> + <td id="xToolbarSpace" style="overflow: hidden"> + <table width="100%" cellpadding="0" cellspacing="0"> + <tr id="xCollapsed" style="display: none"> + <td id="xExpandHandle" class="TB_Expand" colspan="3"> + <img class="TB_ExpandImg" alt="" src="images/spacer.gif" width="8" height="4" /></td> + </tr> + <tr id="xExpanded" style="display: none"> + <td id="xTBLeftBorder" class="TB_SideBorder" style="width: 1px; display: none;"></td> + <td id="xCollapseHandle" style="display: none" class="TB_Collapse" valign="bottom"> + <img class="TB_CollapseImg" alt="" src="images/spacer.gif" width="8" height="4" /></td> + <td id="xToolbar" class="TB_ToolbarSet"></td> + <td class="TB_SideBorder" style="width: 1px"></td> + </tr> + </table> + </td> + </tr> + <tr> + <td id="xEditingArea" valign="top" style="height: 100%"></td> + </tr> + </table> +</body> +</html> Added: trunk/lutinrss/src/main/webapp/fckeditor/fckconfig.js =================================================================== --- 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 @@ +/* + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * 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 + * + * == END LICENSE == + * + * Editor configuration settings. + * + * Follow this link for more information: + * http://wiki.fckeditor.net/Developer%27s_Guide/Configuration/Configurations_S... + */ + +FCKConfig.CustomConfigurationsPath = '' ; + +FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ; +FCKConfig.EditorAreaStyles = '' ; +FCKConfig.ToolbarComboPreviewCSS = '' ; + +FCKConfig.DocType = '' ; + +FCKConfig.BaseHref = '' ; + +FCKConfig.FullPage = false ; + +// The following option determines whether the "Show Blocks" feature is enabled or not at startup. +FCKConfig.StartupShowBlocks = false ; + +FCKConfig.Debug = false ; +FCKConfig.AllowQueryStringDebug = true ; + +FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ; +FCKConfig.SkinEditorCSS = '' ; // FCKConfig.SkinPath + "|<minified css>" ; +FCKConfig.SkinDialogCSS = '' ; // FCKConfig.SkinPath + "|<minified css>" ; + +FCKConfig.PreloadImages = [ FCKConfig.SkinPath + 'images/toolbar.start.gif', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ; + +FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ; + +// FCKConfig.Plugins.Add( 'autogrow' ) ; +// FCKConfig.Plugins.Add( 'dragresizetable' ); +FCKConfig.AutoGrowMax = 400 ; + +// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ; // ASP style server side code <%...%> +// FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ; // PHP style server side code +// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ; // ASP.Net style tags <asp:control> + +FCKConfig.AutoDetectLanguage = true ; +FCKConfig.DefaultLanguage = 'en' ; +FCKConfig.ContentLangDirection = 'ltr' ; + +FCKConfig.ProcessHTMLEntities = true ; +FCKConfig.IncludeLatinEntities = true ; +FCKConfig.IncludeGreekEntities = true ; + +FCKConfig.ProcessNumericEntities = false ; + +FCKConfig.AdditionalNumericEntities = '' ; // Single Quote: "'" + +FCKConfig.FillEmptyBlocks = true ; + +FCKConfig.FormatSource = true ; +FCKConfig.FormatOutput = true ; +FCKConfig.FormatIndentator = ' ' ; + +FCKConfig.StartupFocus = false ; +FCKConfig.ForcePasteAsPlainText = false ; +FCKConfig.AutoDetectPasteFromWord = true ; // IE only. +FCKConfig.ShowDropDialog = true ; +FCKConfig.ForceSimpleAmpersand = false ; +FCKConfig.TabSpaces = 0 ; +FCKConfig.ShowBorders = true ; +FCKConfig.SourcePopup = false ; +FCKConfig.ToolbarStartExpanded = true ; +FCKConfig.ToolbarCanCollapse = true ; +FCKConfig.IgnoreEmptyParagraphValue = true ; +FCKConfig.PreserveSessionOnFileBrowser = false ; +FCKConfig.FloatingPanelsZIndex = 10000 ; +FCKConfig.HtmlEncodeOutput = false ; + +FCKConfig.TemplateReplaceAll = true ; +FCKConfig.TemplateReplaceCheckbox = true ; + +FCKConfig.ToolbarLocation = 'In' ; + +FCKConfig.ToolbarSets["Default"] = [ + ['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','ImageButton','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"] = [ + ['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About'] +] ; + +FCKConfig.EnterMode = 'p' ; // p | div | br +FCKConfig.ShiftEnterMode = 'br' ; // p | div | br + +FCKConfig.Keystrokes = [ + [ 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 = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ; +FCKConfig.BrowserContextMenuOnCtrl = false ; + +FCKConfig.EnableMoreFontColors = true ; +FCKConfig.FontColors = '000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,808080,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF' ; + +FCKConfig.FontFormats = 'p;h1;h2;h3;h4;h5;h6;pre;address;div' ; +FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ; +FCKConfig.FontSizes = 'smaller;larger;xx-small;x-small;small;medium;large;x-large;xx-large' ; + +FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml' ; +FCKConfig.TemplatesXmlPath = FCKConfig.EditorPath + 'fcktemplates.xml' ; + +FCKConfig.SpellChecker = 'ieSpell' ; // 'ieSpell' | 'SpellerPages' +FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ; +FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl +FCKConfig.FirefoxSpellChecker = false ; + +FCKConfig.MaxUndoLevels = 15 ; + +FCKConfig.DisableObjectResizing = false ; +FCKConfig.DisableFFTableHandles = true ; + +FCKConfig.LinkDlgHideTarget = false ; +FCKConfig.LinkDlgHideAdvanced = false ; + +FCKConfig.ImageDlgHideLink = false ; +FCKConfig.ImageDlgHideAdvanced = false ; + +FCKConfig.FlashDlgHideAdvanced = false ; + +FCKConfig.ProtectedTags = '' ; + +// This will be applied to the body element of the editor +FCKConfig.BodyId = '' ; +FCKConfig.BodyClass = '' ; + +FCKConfig.DefaultStyleLabel = '' ; +FCKConfig.DefaultFontFormatLabel = '' ; +FCKConfig.DefaultFontLabel = '' ; +FCKConfig.DefaultFontSizeLabel = '' ; + +FCKConfig.DefaultLinkTarget = '' ; + +// The option switches between trying to keep the html structure or do the changes so the content looks like it was in Word +FCKConfig.CleanWordKeepsStructure = false ; + +// Only inline elements are valid. +FCKConfig.RemoveFormatTags = '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 = 'class,style,lang,width,height,align,hspace,valign' ; + +FCKConfig.CustomStyles = +{ + 'Red Title' : { Element : 'h3', Styles : { 'color' : 'Red' } } +}; + +// Do not add, rename or remove styles here. Only apply definition changes. +FCKConfig.CoreStyles = +{ + // 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' : '#("Color","color")' } }, + + 'SelectionHighlight' : { Element : 'span', Styles : { 'background-color' : 'navy', 'color' : 'white' } } +}; + +// The distance of an indentation step. +FCKConfig.IndentLength = 40 ; +FCKConfig.IndentUnit = 'px' ; + +// Alternatively, FCKeditor allows the use of CSS classes for block indentation. +// This overrides the IndentLength/IndentUnit settings. +FCKConfig.IndentClasses = [] ; + +// [ Left, Center, Right, Justified ] +FCKConfig.JustifyClasses = [] ; + +// The following value defines which File Browser connector and Quick Upload +// "uploader" to use. It is valid for the default implementaion and it is here +// 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 = 'php' ; // asp | aspx | cfm | lasso | perl | php | py +var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | 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 = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ; +var _QuickUploadExtension = _QuickUploadLanguage == 'perl' ? 'cgi' : _QuickUploadLanguage ; + +FCKConfig.LinkBrowser = true ; +FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ; +FCKConfig.LinkBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70% +FCKConfig.LinkBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70% + +FCKConfig.ImageBrowser = true ; +FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ; +FCKConfig.ImageBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70% ; +FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70% ; + +FCKConfig.FlashBrowser = true ; +FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=' + encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ; +FCKConfig.FlashBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; //70% ; +FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; //70% ; + +FCKConfig.LinkUpload = true ; +FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension ; +FCKConfig.LinkUploadAllowedExtensions = ".(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|pxd|qt|ram|rar|rm|rmi|rmvb|rtf|sdc|sitd|swf|sxc|sxw|tar|tgz|tif|tiff|txt|vsd|wav|wma|wmv|xls|xml|zip)$" ; // empty for all +FCKConfig.LinkUploadDeniedExtensions = "" ; // empty for no one + +FCKConfig.ImageUpload = true ; +FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Image' ; +FCKConfig.ImageUploadAllowedExtensions = ".(jpg|gif|jpeg|png|bmp)$" ; // empty for all +FCKConfig.ImageUploadDeniedExtensions = "" ; // empty for no one + +FCKConfig.FlashUpload = true ; +FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Flash' ; +FCKConfig.FlashUploadAllowedExtensions = ".(swf|flv)$" ; // empty for all +FCKConfig.FlashUploadDeniedExtensions = "" ; // empty for no one + +FCKConfig.SmileyPath = FCKConfig.BasePath + 'images/smiley/msn/' ; +FCKConfig.SmileyImages = ['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif','devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif','broken_heart.gif','kiss.gif','envelope.gif'] ; +FCKConfig.SmileyColumns = 8 ; +FCKConfig.SmileyWindowWidth = 320 ; +FCKConfig.SmileyWindowHeight = 210 ; + +FCKConfig.BackgroundBlockerColor = '#ffffff' ; +FCKConfig.BackgroundBlockerOpacity = 0.50 ; Added: trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.afp =================================================================== --- trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.afp (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.afp 2008-05-18 11:52:05 UTC (rev 46) @@ -0,0 +1,159 @@ +<% + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * 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 + * + * == END LICENSE == + * + * This is the integration file for Active FoxPro Pages. + * + +DEFINE CLASS goFckeditor AS CONTAINER OLEPUBLIC + + cInstanceName ="" + BasePath ="" + cWIDTH ="" + cHEIGHT ="" + ToolbarSet ="" + cValue="" + DIMENSION aConfig(10,2) + +&& ----------------------------------------------------------------------- + FUNCTION fckeditor( tcInstanceName ) + LOCAL lnLoop,lnLoop2 + THIS.cInstanceName = tcInstanceName + THIS.BasePath = '/fckeditor/' + THIS.cWIDTH = '100%' + THIS.cHEIGHT = '200' + THIS.ToolbarSet = 'Default' + THIS.cValue = '' + FOR lnLoop=1 TO 10 + FOR lnLoop2=1 TO 2 + THIS.aConfig(lnLoop,lnLoop2) = "" + NEXT + NEXT + RETURN + ENDFUNC + + +&& ----------------------------------------------------------------------- + FUNCTION CREATE() + ? THIS.CreateHtml() + RETURN + ENDFUNC + +&& ----------------------------------------------------------------------- + FUNCTION CreateHtml() + LOCAL html + LOCAL lcLink + + HtmlValue = THIS.cValue && HTMLSPECIALCHARS() + + html = [] + IF THIS.IsCompatible() + lcLink = THIS.BasePath+[editor/fckeditor.html?InstanceName=]+THIS.cInstanceName + + IF ( !THIS.ToolbarSet == '' ) + lcLink = lcLink + [&Toolbar=]+THIS.ToolbarSet + ENDIF + + && Render the LINKED HIDDEN FIELD. + html = html + [<input type="hidden" id="]+THIS.cInstanceName +[" name="]+THIS.cInstanceName +[" value="]+HtmlValue+[" style="display:none" />] + + && Render the configurations HIDDEN FIELD. + html = html + [<input type="hidden" id="]+THIS.cInstanceName +[___Config" value="]+THIS.GetConfigFieldString() + [" style="display:none" />] +CHR(13)+CHR(10) + + && Render the EDITOR IFRAME. + html = html + [<iframe id="]+THIS.cInstanceName +[___Frame" src="Link" width="]+THIS.cWIDTH+[" height="]+THIS.cHEIGHT+[" frameborder="0" scrolling="no"></iframe>] + ELSE + IF ( AT("%", THIS.cWIDTH)=0 ) + WidthCSS = THIS.cWIDTH + 'px' + ELSE + WidthCSS = THIS.cWIDTH + ENDIF + + IF ( AT("%",THIS.cHEIGHT)=0 ) + HeightCSS = THIS.cHEIGHT + 'px' + ELSE + HeightCSS = THIS.cHEIGHT + ENDIF + + html = html + [<textarea name="]+THIS.cInstanceName +[" rows="4" cols="40" style="width: ]+WidthCSS+[ height: ]+HeightCSS+[">]+HtmlValue+[</textarea>] + ENDIF + + RETURN (html) + ENDFUNC + + +&& ----------------------------------------------------------------------- + FUNCTION IsCompatible() + LOCAL llRetval + LOCAL sAgent + + llRetval=.F. + + SET POINT TO "." + + sAgent = LOWER(ALLTRIM(request.servervariables("HTTP_USER_AGENT"))) + + IF AT("msie",sAgent) >0 .AND. AT("mac",sAgent)=0 .AND. AT("opera",sAgent)=0 + iVersion=VAL(SUBSTR(sAgent,AT("msie",sAgent)+5,3)) + llRetval= iVersion > 5.5 + ELSE + IF AT("gecko/",sAgent)>0 + iVersion=VAL(SUBSTR(sAgent,AT("gecko/",sAgent)+6,8)) + llRetval =iVersion > 20030210 + ENDIF + ELSE + IF AT("opera/",sAgent)>0 + iVersion=VAL(SUBSTR(sAgent,AT("opera/",sAgent)+6,4)) + llRetval =iVersion >= 9.5 + ENDIF + ELSE + IF AT("applewebkit/",sAgent)>0 + iVersion=VAL(SUBSTR(sAgent,AT("applewebkit/",sAgent)+12,3)) + llRetval =iVersion >= 522 + ENDIF + ENDIF + + SET POINT TO + + RETURN (llRetval) + ENDFUNC + +&& ----------------------------------------------------------------------- + FUNCTION GetConfigFieldString() + LOCAL sParams + LOCAL bFirst + LOCAL sKey + sParams = "" + bFirst = .T. + FOR lnLoop=1 TO 10 && ALEN(this.aconfig) + IF !EMPTY(THIS.aConfig(lnLoop,1)) + IF bFirst = .F. + sParams = sParams + "&" + ELSE + bFirst = .F. + ENDIF + sParams = sParams +THIS.aConfig(lnLoop,1)+[=]+THIS.aConfig(lnLoop,2) + ELSE + EXIT + ENDIF + NEXT + RETURN(sParams) + ENDFUNC +ENDDEFINE +%> Added: trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.asp =================================================================== --- trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.asp (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.asp 2008-05-18 11:52:05 UTC (rev 46) @@ -0,0 +1,235 @@ +<!-- + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * 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 + * + * == END LICENSE == + * + * This is the integration file for ASP. + * + * It defines the FCKeditor class that can be used to create editor + * instances in ASP pages on server side. +--> +<% +Class FCKeditor + + private sBasePath + private sInstanceName + private sWidth + private sHeight + private sToolbarSet + private sValue + + private oConfig + + Private Sub Class_Initialize() + sBasePath = "/fckeditor/" + sWidth = "100%" + sHeight = "200" + sToolbarSet = "Default" + sValue = "" + + Set oConfig = CreateObject("Scripting.Dictionary") + End Sub + + Public Property Let BasePath( basePathValue ) + sBasePath = basePathValue + End Property + + Public Property Let InstanceName( instanceNameValue ) + sInstanceName = instanceNameValue + End Property + + Public Property Let Width( widthValue ) + sWidth = widthValue + End Property + + Public Property Let Height( heightValue ) + sHeight = heightValue + End Property + + Public Property Let ToolbarSet( toolbarSetValue ) + sToolbarSet = toolbarSetValue + End Property + + Public Property Let Value( newValue ) + If ( IsNull( newValue ) OR IsEmpty( newValue ) ) Then + sValue = "" + Else + sValue = newValue + End If + End Property + + Public Property Let Config( configKey, configValue ) + oConfig.Add configKey, configValue + End Property + + ' Generates the instace of the editor in the HTML output of the page. + Public Sub Create( instanceName ) + response.write CreateHtml( instanceName ) + end Sub + + ' Returns the html code that must be used to generate an instance of FCKeditor. + Public Function CreateHtml( instanceName ) + dim html + + If IsCompatible() Then + + Dim sFile, sLink + If Request.QueryString( "fcksource" ) = "true" Then + sFile = "fckeditor.original.html" + Else + sFile = "fckeditor.html" + End If + + sLink = sBasePath & "editor/" & sFile & "?InstanceName=" + instanceName + + If (sToolbarSet & "") <> "" Then + sLink = sLink + "&Toolbar=" & sToolbarSet + End If + + html = "" + ' Render the linked hidden field. + html = html & "<input type=""hidden"" id=""" & instanceName & """ name=""" & instanceName & """ value=""" & Server.HTMLEncode( sValue ) & """ style=""display:none"" />" + + ' Render the configurations hidden field. + html = html & "<input type=""hidden"" id=""" & instanceName & "___Config"" value=""" & GetConfigFieldString() & """ style=""display:none"" />" + + ' Render the editor IFRAME. + html = html & "<iframe id=""" & instanceName & "___Frame"" src=""" & sLink & """ width=""" & sWidth & """ height=""" & sHeight & """ frameborder=""0"" scrolling=""no""></iframe>" + + Else + + Dim sWidthCSS, sHeightCSS + + If InStr( sWidth, "%" ) > 0 Then + sWidthCSS = sWidth + Else + sWidthCSS = sWidth & "px" + End If + + If InStr( sHeight, "%" ) > 0 Then + sHeightCSS = sHeight + Else + sHeightCSS = sHeight & "px" + End If + + html = "<textarea name=""" & instanceName & """ rows=""4"" cols=""40"" style=""width: " & sWidthCSS & "; height: " & sHeightCSS & """>" & Server.HTMLEncode( sValue ) & "</textarea>" + + End If + + CreateHtml = html + + End Function + + Private Function IsCompatible() + + IsCompatible = FCKeditor_IsCompatibleBrowser() + + End Function + + Private Function GetConfigFieldString() + + Dim sParams + + Dim bFirst + bFirst = True + + Dim sKey + For Each sKey in oConfig + + If bFirst = False Then + sParams = sParams & "&" + Else + bFirst = False + End If + + sParams = sParams & EncodeConfig( sKey ) & "=" & EncodeConfig( oConfig(sKey) ) + + Next + + GetConfigFieldString = 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) = vbBoolean then + If valueToEncode=True Then + EncodeConfig="True" + Else + EncodeConfig="False" + End If + Else + EncodeConfig = Replace( valueToEncode, "&", "%26" ) + EncodeConfig = Replace( EncodeConfig , "=", "%3D" ) + EncodeConfig = 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 = Request.ServerVariables("HTTP_USER_AGENT") + + Dim iVersion + Dim re, Matches + + If InStr(sAgent, "MSIE") > 0 AND InStr(sAgent, "mac") <= 0 AND InStr(sAgent, "Opera") <= 0 Then + iVersion = CInt( FCKeditor_ToNumericFormat( Mid(sAgent, InStr(sAgent, "MSIE") + 5, 3) ) ) + FCKeditor_IsCompatibleBrowser = ( iVersion >= 5.5 ) + ElseIf InStr(sAgent, "Gecko/") > 0 Then + iVersion = CLng( Mid( sAgent, InStr( sAgent, "Gecko/" ) + 6, 8 ) ) + FCKeditor_IsCompatibleBrowser = ( iVersion >= 20030210 ) + ElseIf InStr(sAgent, "Opera/") > 0 Then + iVersion = CSng( FCKeditor_ToNumericFormat( Mid( sAgent, InStr( sAgent, "Opera/" ) + 6, 4 ) ) ) + FCKeditor_IsCompatibleBrowser = ( iVersion >= 9.5 ) + ElseIf InStr(sAgent, "AppleWebKit/") > 0 Then + Set re = new RegExp + re.IgnoreCase = true + re.global = false + re.Pattern = "AppleWebKit/(\d+)" + Set Matches = re.Execute(sAgent) + FCKeditor_IsCompatibleBrowser = ( re.Replace(Matches.Item(0).Value, "$1") >= 522 ) + Else + FCKeditor_IsCompatibleBrowser = 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 = Replace( numberStr, ",", ".") + Else + FCKeditor_ToNumericFormat = Replace( numberStr, ".", ",") + End If + +End Function + +%> Added: trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.cfc =================================================================== --- trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.cfc (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.cfc 2008-05-18 11:52:05 UTC (rev 46) @@ -0,0 +1,232 @@ +<cfcomponent output="false" displayname="FCKeditor" hint="Create an instance of the FCKeditor."> + +<!--- + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * 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 + * + * == END LICENSE == + * + * ColdFusion MX integration. + * Note this CFC is created for use only with Coldfusion MX and above. + * For older version, check the fckeditor.cfm. + * + * Syntax: + * + * <cfscript> + * fckEditor = createObject("component", "fckeditor.fckeditor"); + * fckEditor.instanceName="myEditor"; + * fckEditor.basePath="/fckeditor/"; + * fckEditor.value="<p>This is my <strong>initial</strong> html text.</p>"; + * fckEditor.width="100%"; + * fckEditor.height="200"; + * // ... additional parameters ... + * fckEditor.create(); // create instance now. + * </cfscript> + * + * See your macromedia coldfusion mx documentation for more info. + * + * *** Note: + * Do not use path names with a "." (dot) in the name. This is a coldfusion + * limitation with the cfc invocation. +---> + +<cfinclude template="fckutils.cfm"> + +<cffunction + name="Create" + access="public" + output="true" + returntype="void" + hint="Outputs the editor HTML in the place where the function is called" +> + <cfoutput>#CreateHtml()#</cfoutput> +</cffunction> + +<cffunction + name="CreateHtml" + access="public" + output="false" + returntype="string" + hint="Retrieves the editor HTML" +> + + <cfparam name="this.instanceName" type="string" /> + <cfparam name="this.width" type="string" default="100%" /> + <cfparam name="this.height" type="string" default="200" /> + <cfparam name="this.toolbarSet" type="string" default="Default" /> + <cfparam name="this.value" type="string" default="" /> + <cfparam name="this.basePath" type="string" default="/fckeditor/" /> + <cfparam name="this.checkBrowser" type="boolean" default="true" /> + <cfparam name="this.config" type="struct" default="#structNew()#" /> + + <cfscript> + // display the html editor or a plain textarea? + if( isCompatible() ) + return getHtmlEditor(); + else + return getTextArea(); + </cfscript> + +</cffunction> + +<cffunction + name="isCompatible" + access="private" + output="false" + returnType="boolean" + hint="Check browser compatibility via HTTP_USER_AGENT, if checkBrowser is true" +> + + <cfscript> + var sAgent = lCase( cgi.HTTP_USER_AGENT ); + var stResult = ""; + var sBrowserVersion = ""; + + // do not check if argument "checkBrowser" is false + if( not this.checkBrowser ) + return true; + + return FCKeditor_IsCompatibleBrowser(); + </cfscript> +</cffunction> + +<cffunction + name="getTextArea" + access="private" + output="false" + returnType="string" + hint="Create a textarea field for non-compatible browsers." +> + <cfset var result = "" /> + <cfset var sWidthCSS = "" /> + <cfset var sHeightCSS = "" /> + + <cfscript> + if( Find( "%", this.width ) gt 0) + sWidthCSS = this.width; + else + sWidthCSS = this.width & "px"; + + if( Find( "%", this.width ) gt 0) + sHeightCSS = this.height; + else + sHeightCSS = this.height & "px"; + + result = "<textarea name=""#this.instanceName#"" rows=""4"" cols=""40"" style=""width: #sWidthCSS#; height: #sHeightCSS#"">#HTMLEditFormat(this.value)#</textarea>" & chr(13) & chr(10); + </cfscript> + <cfreturn result /> +</cffunction> + +<cffunction + name="getHtmlEditor" + access="private" + output="false" + returnType="string" + hint="Create the html editor instance for compatible browsers." +> + <cfset var sURL = "" /> + <cfset var result = "" /> + + <cfscript> + // try to fix the basePath, if ending slash is missing + if( len( this.basePath) and right( this.basePath, 1 ) is not "/" ) + this.basePath = this.basePath & "/"; + + // construct the url + sURL = this.basePath & "editor/fckeditor.html?InstanceName=" & this.instanceName; + + // append toolbarset name to the url + if( len( this.toolbarSet ) ) + sURL = sURL & "&Toolbar=" & this.toolbarSet; + </cfscript> + + <cfscript> + result = result & "<input type=""hidden"" id=""#this.instanceName#"" name=""#this.instanceName#"" value=""#HTMLEditFormat(this.value)#"" style=""display:none"" />" & chr(13) & chr(10); + result = result & "<input type=""hidden"" id=""#this.instanceName#___Config"" value=""#GetConfigFieldString()#"" style=""display:none"" />" & chr(13) & chr(10); + result = result & "<iframe id=""#this.instanceName#___Frame"" src=""#sURL#"" width=""#this.width#"" height=""#this.height#"" frameborder=""0"" scrolling=""no""></iframe>" & chr(13) & chr(10); + </cfscript> + <cfreturn result /> +</cffunction> + +<cffunction + name="GetConfigFieldString" + access="private" + output="false" + returnType="string" + hint="Create configuration string: Key1=Value1&Key2=Value2&... (Key/Value:HTML encoded)" +> + <cfset var sParams = "" /> + <cfset var key = "" /> + <cfset var fieldValue = "" /> + <cfset var fieldLabel = "" /> + <cfset var lConfigKeys = "" /> + <cfset var iPos = "" /> + + <cfscript> + /** + * CFML doesn't store casesensitive names for structure keys, but the configuration 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 = lConfigKeys & "CustomConfigurationsPath,EditorAreaCSS,ToolbarComboPreviewCSS,DocType"; + lConfigKeys = lConfigKeys & ",BaseHref,FullPage,Debug,AllowQueryStringDebug,SkinPath"; + lConfigKeys = lConfigKeys & ",PreloadImages,PluginsPath,AutoDetectLanguage,DefaultLanguage,ContentLangDirection"; + lConfigKeys = lConfigKeys & ",ProcessHTMLEntities,IncludeLatinEntities,IncludeGreekEntities,ProcessNumericEntities,AdditionalNumericEntities"; + lConfigKeys = lConfigKeys & ",FillEmptyBlocks,FormatSource,FormatOutput,FormatIndentator"; + lConfigKeys = lConfigKeys & ",StartupFocus,ForcePasteAsPlainText,AutoDetectPasteFromWord,ForceSimpleAmpersand"; + lConfigKeys = lConfigKeys & ",TabSpaces,ShowBorders,SourcePopup,ToolbarStartExpanded,ToolbarCanCollapse"; + lConfigKeys = lConfigKeys & ",IgnoreEmptyParagraphValue,PreserveSessionOnFileBrowser,FloatingPanelsZIndex,TemplateReplaceAll,TemplateReplaceCheckbox"; + lConfigKeys = lConfigKeys & ",ToolbarLocation,ToolbarSets,EnterMode,ShiftEnterMode,Keystrokes"; + lConfigKeys = lConfigKeys & ",ContextMenu,BrowserContextMenuOnCtrl,FontColors,FontNames,FontSizes"; + lConfigKeys = lConfigKeys & ",FontFormats,StylesXmlPath,TemplatesXmlPath,SpellChecker,IeSpellDownloadUrl"; + lConfigKeys = lConfigKeys & ",SpellerPagesServerScript,FirefoxSpellChecker,MaxUndoLevels,DisableObjectResizing,DisableFFTableHandles"; + lConfigKeys = lConfigKeys & ",LinkDlgHideTarget,LinkDlgHideAdvanced,ImageDlgHideLink,ImageDlgHideAdvanced,FlashDlgHideAdvanced"; + lConfigKeys = lConfigKeys & ",ProtectedTags,BodyId,BodyClass,DefaultLinkTarget,CleanWordKeepsStructure"; + lConfigKeys = lConfigKeys & ",LinkBrowser,LinkBrowserURL,LinkBrowserWindowWidth,LinkBrowserWindowHeight,ImageBrowser"; + lConfigKeys = lConfigKeys & ",ImageBrowserURL,ImageBrowserWindowWidth,ImageBrowserWindowHeight,FlashBrowser,FlashBrowserURL"; + lConfigKeys = lConfigKeys & ",FlashBrowserWindowWidth,FlashBrowserWindowHeight,LinkUpload,LinkUploadURL,LinkUploadWindowWidth"; + lConfigKeys = lConfigKeys & ",LinkUploadWindowHeight,LinkUploadAllowedExtensions,LinkUploadDeniedExtensions,ImageUpload,ImageUploadURL"; + lConfigKeys = lConfigKeys & ",ImageUploadAllowedExtensions,ImageUploadDeniedExtensions,FlashUpload,FlashUploadURL,FlashUploadAllowedExtensions"; + lConfigKeys = lConfigKeys & ",FlashUploadDeniedExtensions,SmileyPath,SmileyImages,SmileyColumns,SmileyWindowWidth,SmileyWindowHeight"; + + for( key in this.config ) + { + iPos = listFindNoCase( lConfigKeys, key ); + if( iPos GT 0 ) + { + if( len( sParams ) ) + sParams = sParams & "&"; + + fieldValue = this.config[key]; + fieldName = listGetAt( lConfigKeys, iPos ); + + // set all boolean possibilities in CFML to true/false values + if( isBoolean( fieldValue) and fieldValue ) + fieldValue = "true"; + else if( isBoolean( fieldValue) ) + fieldValue = "false"; + + sParams = sParams & HTMLEditFormat( fieldName ) & '=' & HTMLEditFormat( fieldValue ); + } + } + return sParams; + </cfscript> + +</cffunction> + +</cfcomponent> Added: trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.cfm =================================================================== --- trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.cfm (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.cfm 2008-05-18 11:52:05 UTC (rev 46) @@ -0,0 +1,159 @@ +<cfsetting enablecfoutputonly="Yes"> +<!--- + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * 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 + * + * == END LICENSE == + * + * ColdFusion integration. + * Note this module is created for use with Coldfusion 4.52 and above. + * For a cfc version for coldfusion mx check the fckeditor.cfc. + * + * Syntax: + * + * <cfmodule name="path/to/cfc/fckeditor" + * instanceName="myEditor" + * toolbarSet="..." + * width="..." + * height="..:" + * value="..." + * config="..." + * > +---> +<!--- :: + * Attribute validation + :: ---> +<cfparam name="attributes.instanceName" type="string"> +<cfparam name="attributes.width" type="string" default="100%"> +<cfparam name="attributes.height" type="string" default="200"> +<cfparam name="attributes.toolbarSet" type="string" default="Default"> +<cfparam name="attributes.value" type="string" default=""> +<cfparam name="attributes.basePath" type="string" default="/fckeditor/"> +<cfparam name="attributes.checkBrowser" type="boolean" default="true"> +<cfparam name="attributes.config" type="struct" default="#structNew()#"> +<cfinclude template="fckutils.cfm"> + +<!--- :: + * check browser compatibility via HTTP_USER_AGENT, if checkBrowser is true + :: ---> + +<cfscript> +if( attributes.checkBrowser ) +{ + isCompatibleBrowser = FCKeditor_IsCompatibleBrowser(); +} +else +{ + // If we should not check browser compatibility, assume true + isCompatibleBrowser = true; +} +</cfscript> + +<cfif isCompatibleBrowser> + + <!--- :: + * show html editor area for compatible browser + :: ---> + + <cfscript> + // try to fix the basePath, if ending slash is missing + if( len( attributes.basePath) and right( attributes.basePath, 1 ) is not "/" ) + attributes.basePath = attributes.basePath & "/"; + + // construct the url + sURL = attributes.basePath & "editor/fckeditor.html?InstanceName=" & attributes.instanceName; + + // append toolbarset name to the url + if( len( attributes.toolbarSet ) ) + sURL = sURL & "&Toolbar=" & attributes.toolbarSet; + + // create configuration string: Key1=Value1&Key2=Value2&... (Key/Value:HTML encoded) + + /** + * CFML doesn't store casesensitive names for structure keys, but the configuration 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 = ""; + lConfigKeys = lConfigKeys & "CustomConfigurationsPath,EditorAreaCSS,ToolbarComboPreviewCSS,DocType"; + lConfigKeys = lConfigKeys & ",BaseHref,FullPage,Debug,AllowQueryStringDebug,SkinPath"; + lConfigKeys = lConfigKeys & ",PreloadImages,PluginsPath,AutoDetectLanguage,DefaultLanguage,ContentLangDirection"; + lConfigKeys = lConfigKeys & ",ProcessHTMLEntities,IncludeLatinEntities,IncludeGreekEntities,ProcessNumericEntities,AdditionalNumericEntities"; + lConfigKeys = lConfigKeys & ",FillEmptyBlocks,FormatSource,FormatOutput,FormatIndentator"; + lConfigKeys = lConfigKeys & ",StartupFocus,ForcePasteAsPlainText,AutoDetectPasteFromWord,ForceSimpleAmpersand"; + lConfigKeys = lConfigKeys & ",TabSpaces,ShowBorders,SourcePopup,ToolbarStartExpanded,ToolbarCanCollapse"; + lConfigKeys = lConfigKeys & ",IgnoreEmptyParagraphValue,PreserveSessionOnFileBrowser,FloatingPanelsZIndex,TemplateReplaceAll,TemplateReplaceCheckbox"; + lConfigKeys = lConfigKeys & ",ToolbarLocation,ToolbarSets,EnterMode,ShiftEnterMode,Keystrokes"; + lConfigKeys = lConfigKeys & ",ContextMenu,BrowserContextMenuOnCtrl,FontColors,FontNames,FontSizes"; + lConfigKeys = lConfigKeys & ",FontFormats,StylesXmlPath,TemplatesXmlPath,SpellChecker,IeSpellDownloadUrl"; + lConfigKeys = lConfigKeys & ",SpellerPagesServerScript,FirefoxSpellChecker,MaxUndoLevels,DisableObjectResizing,DisableFFTableHandles"; + lConfigKeys = lConfigKeys & ",LinkDlgHideTarget ,LinkDlgHideAdvanced,ImageDlgHideLink ,ImageDlgHideAdvanced,FlashDlgHideAdvanced"; + lConfigKeys = lConfigKeys & ",ProtectedTags,BodyId,BodyClass,DefaultLinkTarget,CleanWordKeepsStructure"; + lConfigKeys = lConfigKeys & ",LinkBrowser,LinkBrowserURL,LinkBrowserWindowWidth,LinkBrowserWindowHeight,ImageBrowser"; + lConfigKeys = lConfigKeys & ",ImageBrowserURL,ImageBrowserWindowWidth,ImageBrowserWindowHeight,FlashBrowser,FlashBrowserURL"; + lConfigKeys = lConfigKeys & ",FlashBrowserWindowWidth ,FlashBrowserWindowHeight,LinkUpload,LinkUploadURL,LinkUploadWindowWidth"; + lConfigKeys = lConfigKeys & ",LinkUploadWindowHeight,LinkUploadAllowedExtensions,LinkUploadDeniedExtensions,ImageUpload,ImageUploadURL"; + lConfigKeys = lConfigKeys & ",ImageUploadAllowedExtensions,ImageUploadDeniedExtensions,FlashUpload,FlashUploadURL,FlashUploadAllowedExtensions"; + lConfigKeys = lConfigKeys & ",FlashUploadDeniedExtensions,SmileyPath,SmileyImages,SmileyColumns,SmileyWindowWidth,SmileyWindowHeight"; + + sConfig = ""; + + for( key in attributes.config ) + { + iPos = listFindNoCase( lConfigKeys, key ); + if( iPos GT 0 ) + { + if( len( sConfig ) ) + sConfig = sConfig & "&"; + + fieldValue = attributes.config[key]; + fieldName = listGetAt( lConfigKeys, iPos ); + + sConfig = sConfig & urlEncodedFormat( fieldName ) & '=' & urlEncodedFormat( fieldValue ); + } + } + </cfscript> + + <cfoutput> + <input type="hidden" id="#attributes.instanceName#" name="#attributes.instanceName#" value="#HTMLEditFormat(attributes.value)#" style="display:none" /> + <input type="hidden" id="#attributes.instanceName#___Config" value="#sConfig#" style="display:none" /> + <iframe id="#attributes.instanceName#___Frame" src="#sURL#" width="#attributes.width#" height="#attributes.height#" frameborder="0" scrolling="no"></iframe> + </cfoutput> + +<cfelse> + + <!--- :: + * show plain textarea for non compatible browser + :: ---> + + <cfscript> + // append unit "px" for numeric width and/or height values + if( isNumeric( attributes.width ) ) + attributes.width = attributes.width & "px"; + if( isNumeric( attributes.height ) ) + attributes.height = attributes.height & "px"; + </cfscript> + + <!--- Fixed Bug ##1075166. hk@lwd.de 20041206 ---> + <cfoutput> + <textarea name="#attributes.instanceName#" rows="4" cols="40" style="WIDTH: #attributes.width#; HEIGHT: #attributes.height#">#HTMLEditFormat(attributes.value)#</textarea> + </cfoutput> + +</cfif> + +<cfsetting enablecfoutputonly="No"><cfexit method="exittag"> Added: trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.js =================================================================== --- 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 + * + * == BEGIN LICENSE == + * + * 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 + * + * == END LICENSE == + * + * 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 = function( instanceName, width, height, toolbarSet, value ) +{ + // Properties + this.InstanceName = instanceName ; + this.Width = width || '100%' ; + this.Height = height || '200' ; + this.ToolbarSet = toolbarSet || 'Default' ; + this.Value = value || '' ; + this.BasePath = FCKeditor.BasePath ; + this.CheckBrowser = true ; + this.DisplayErrors = true ; + + this.Config = new Object() ; + + // Events + this.OnError = null ; // function( source, errorNumber, errorDescription ) +} + +/** + * This is the default BasePath used by all editor instances. + */ +FCKeditor.BasePath = '/fckeditor/' ; + +/** + * The minimum height used when replacing textareas. + */ +FCKeditor.MinHeight = 200 ; + +/** + * The minimum width used when replacing textareas. + */ +FCKeditor.MinWidth = 750 ; + +FCKeditor.prototype.Version = '2.6' ; +FCKeditor.prototype.VersionBuild = '18638' ; + +FCKeditor.prototype.Create = function() +{ + document.write( this.CreateHtml() ) ; +} + +FCKeditor.prototype.CreateHtml = function() +{ + // Check for errors + if ( !this.InstanceName || this.InstanceName.length == 0 ) + { + this._ThrowError( 701, 'You must specify an instance name.' ) ; + return '' ; + } + + var sHtml = '' ; + + if ( !this.CheckBrowser || this._IsCompatibleBrowser() ) + { + sHtml += '<input type="hidden" id="' + this.InstanceName + '" name="' + this.InstanceName + '" value="' + this._HTMLEncode( this.Value ) + '" style="display:none" />' ; + sHtml += this._GetConfigHtml() ; + sHtml += this._GetIFrameHtml() ; + } + else + { + var sWidth = this.Width.toString().indexOf('%') > 0 ? this.Width : this.Width + 'px' ; + var sHeight = this.Height.toString().indexOf('%') > 0 ? this.Height : this.Height + 'px' ; + sHtml += '<textarea name="' + this.InstanceName + '" rows="4" cols="40" style="width:' + sWidth + ';height:' + sHeight + '">' + this._HTMLEncode( this.Value ) + '<\/textarea>' ; + } + + return sHtml ; +} + +FCKeditor.prototype.ReplaceTextarea = function() +{ + if ( !this.CheckBrowser || this._IsCompatibleBrowser() ) + { + // We must check the elements firstly using the Id and then the name. + var oTextarea = document.getElementById( this.InstanceName ) ; + var colElementsByName = document.getElementsByName( this.InstanceName ) ; + var i = 0; + while ( oTextarea || i == 0 ) + { + if ( oTextarea && oTextarea.tagName.toLowerCase() == 'textarea' ) + break ; + oTextarea = colElementsByName[i++] ; + } + + if ( !oTextarea ) + { + alert( 'Error: The TEXTAREA with id or name set to "' + this.InstanceName + '" was not found' ) ; + return ; + } + + oTextarea.style.display = 'none' ; + this._InsertHtmlBefore( this._GetConfigHtml(), oTextarea ) ; + this._InsertHtmlBefore( this._GetIFrameHtml(), oTextarea ) ; + } +} + +FCKeditor.prototype._InsertHtmlBefore = function( html, element ) +{ + if ( element.insertAdjacentHTML ) // IE + element.insertAdjacentHTML( 'beforeBegin', html ) ; + else // Gecko + { + var oRange = document.createRange() ; + oRange.setStartBefore( element ) ; + var oFragment = oRange.createContextualFragment( html ); + element.parentNode.insertBefore( oFragment, element ) ; + } +} + +FCKeditor.prototype._GetConfigHtml = function() +{ + var sConfig = '' ; + for ( var o in this.Config ) + { + if ( sConfig.length > 0 ) sConfig += '&' ; + sConfig += encodeURIComponent( o ) + '=' + encodeURIComponent( this.Config[o] ) ; + } + + return '<input type="hidden" id="' + this.InstanceName + '___Config" value="' + sConfig + '" style="display:none" />' ; +} + +FCKeditor.prototype._GetIFrameHtml = function() +{ + var sFile = 'fckeditor.html' ; + + try + { + if ( (/fcksource=true/i).test( window.top.location.search ) ) + sFile = 'fckeditor.original.html' ; + } + catch (e) { /* Ignore it. Much probably we are inside a FRAME where the "top" is in another domain (security error). */ } + + var sLink = this.BasePath + 'editor/' + sFile + '?InstanceName=' + encodeURIComponent( this.InstanceName ) ; + if (this.ToolbarSet) sLink += '&Toolbar=' + this.ToolbarSet ; + + return '<iframe id="' + this.InstanceName + '___Frame" src="' + sLink + '" width="' + this.Width + '" height="' + this.Height + '" frameborder="0" scrolling="no"></iframe>' ; +} + +FCKeditor.prototype._IsCompatibleBrowser = function() +{ + return FCKeditor_IsCompatibleBrowser() ; +} + +FCKeditor.prototype._ThrowError = function( errorNumber, errorDescription ) +{ + this.ErrorNumber = errorNumber ; + this.ErrorDescription = errorDescription ; + + if ( this.DisplayErrors ) + { + document.write( '<div style="COLOR: #ff0000">' ) ; + document.write( '[ FCKeditor Error ' + this.ErrorNumber + ': ' + this.ErrorDescription + ' ]' ) ; + document.write( '</div>' ) ; + } + + if ( typeof( this.OnError ) == 'function' ) + this.OnError( this, errorNumber, errorDescription ) ; +} + +FCKeditor.prototype._HTMLEncode = function( text ) +{ + if ( typeof( text ) != "string" ) + text = text.toString() ; + + text = text.replace( + /&/g, "&").replace( + /"/g, """).replace( + /</g, "<").replace( + />/g, ">") ; + + return text ; +} + +;(function() +{ + var textareaToEditor = function( textarea ) + { + var editor = new FCKeditor( textarea.name ) ; + + editor.Width = Math.max( textarea.offsetWidth, FCKeditor.MinWidth ) ; + editor.Height = Math.max( textarea.offsetHeight, FCKeditor.MinHeight ) ; + + return editor ; + } + + /** + * Replace all <textarea> elements available in the document with FCKeditor + * instances. + * + * // Replace all <textarea> elements in the page. + * FCKeditor.ReplaceAllTextareas() ; + * + * // Replace all <textarea class="myClassName"> elements in the page. + * FCKeditor.ReplaceAllTextareas( 'myClassName' ) ; + * + * // Selectively replace <textarea> elements, based on custom assertions. + * FCKeditor.ReplaceAllTextareas( function( textarea, editor ) + * { + * // Custom code to evaluate the replace, returning false if it + * // must not be done. + * // It also passes the "editor" parameter, so the developer can + * // customize the instance. + * } ) ; + */ + FCKeditor.ReplaceAllTextareas = function() + { + var textareas = document.getElementsByTagName( 'textarea' ) ; + + for ( var i = 0 ; i < textareas.length ; i++ ) + { + var editor = null ; + var textarea = textareas[i] ; + var name = textarea.name ; + + // The "name" attribute must exist. + if ( !name || name.length == 0 ) + continue ; + + if ( typeof arguments[0] == 'string' ) + { + // The textarea class name could be passed as the function + // parameter. + + var classRegex = new RegExp( '(?:^| )' + arguments[0] + '(?:$| )' ) ; + + if ( !classRegex.test( textarea.className ) ) + continue ; + } + else if ( typeof arguments[0] == 'function' ) + { + // An assertion function could be passed as the function parameter. + // It must explicitly return "false" to ignore a specific <textarea>. + editor = textareaToEditor( textarea ) ; + if ( arguments[0]( textarea, editor ) === false ) + continue ; + } + + if ( !editor ) + editor = textareaToEditor( textarea ) ; + + editor.ReplaceTextarea() ; + } + } +})() ; + +function FCKeditor_IsCompatibleBrowser() +{ + var sAgent = navigator.userAgent.toLowerCase() ; + + // Internet Explorer 5.5+ + if ( /*@cc_on!@*/false && sAgent.indexOf("mac") == -1 ) + { + var sBrowserVersion = navigator.appVersion.match(/MSIE (.\..)/)[1] ; + return ( sBrowserVersion >= 5.5 ) ; + } + + // Gecko (Opera 9 tries to behave like Gecko at this point). + if ( navigator.product == "Gecko" && navigator.productSub >= 20030210 && !( typeof(opera) == 'object' && opera.postError ) ) + return true ; + + // Opera 9.50+ + if ( window.opera && window.opera.version && parseFloat( window.opera.version() ) >= 9.5 ) + return true ; + + // Adobe AIR + // Checked before Safari because AIR have the WebKit rich text editor + // features from Safari 3.0.4, but the version reported is 420. + if ( sAgent.indexOf( ' adobeair/' ) != -1 ) + return ( sAgent.match( / adobeair\/(\d+)/ )[1] >= 1 ) ; // Build must be at least v1 + + // Safari 3+ + if ( sAgent.indexOf( ' applewebkit/' ) != -1 ) + return ( sAgent.match( / applewebkit\/(\d+)/ )[1] >= 522 ) ; // Build must be at least 522 (v3) + + return false ; +} Added: trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.lasso =================================================================== --- trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.lasso (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.lasso 2008-05-18 11:52:05 UTC (rev 46) @@ -0,0 +1,108 @@ +[//lasso +/* + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * 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 + * + * == END LICENSE == + * + * This is the integration file for Lasso. + * + * It defines the FCKeditor class ("custom type" in Lasso terms) that can + * be used to create editor instances in Lasso pages on server side. + */ + + define_type( + 'editor', + -namespace='fck_', + -description='Creates an instance of FCKEditor.' + ); + local( + 'instancename' = 'FCKEditor1', + 'width' = '100%', + 'height' = '200', + 'toolbarset' = 'Default', + 'initialvalue' = string, + 'basepath' = '/fckeditor/', + 'config' = array, + 'checkbrowser' = true, + 'displayerrors' = false + ); + + define_tag( + 'onCreate', + -required='instancename', -type='string', + -optional='width', -type='string', + -optional='height', -type='string', + -optional='toolbarset', -type='string', + -optional='initialvalue', -type='string', + -optional='basepath', -type='string', + -optional='config', -type='array' + ); + self->instancename = #instancename; + local_defined('width') ? self->width = #width; + local_defined('height') ? self->height = #height; + local_defined('toolbarset') ? self->toolbarset = #toolbarset; + local_defined('initialvalue') ? self->initialvalue = #initialvalue; + local_defined('basepath') ? self->basepath = #basepath; + local_defined('config') ? self->config = #config; + /define_tag; + + define_tag('create'); + if(self->isCompatibleBrowser); + local('out' = ' + <input type="hidden" id="' + self->instancename + '" name="' + self->instancename + '" value="' + encode_html(self->initialvalue) + '" style="display:none" /> + ' + self->parseConfig + ' + <iframe id="' + self->instancename + '___Frame" src="' + self->basepath + 'editor/fckeditor.html?InstanceName=' + self->instancename + '&Toolbar=' + self->toolbarset + '" width="' + self->width + '" height="' + self->height + '" frameborder="0" scrolling="no"></iframe> + '); + else; + local('out' = ' + <textarea name="' + self->instancename + '" rows="4" cols="40" style="width: ' + self->width + '; height: ' + self->height + '">' + encode_html(self->initialvalue) + '</textarea> + '); + /if; + return(@#out); + /define_tag; + + define_tag('isCompatibleBrowser'); + local('result' = false); + if (client_browser->Find("MSIE") && !client_browser->Find("mac") && !client_browser->Find("Opera")); + #result = client_browser->Substring(client_browser->Find("MSIE")+5,3)>=5.5; + /if; + if (client_browser->Find("Gecko/")); + #result = client_browser->Substring(client_browser->Find("Gecko/")+6,8)>=20030210; + /if; + if (client_browser->Find("Opera/")); + #result = client_browser->Substring(client_browser->Find("Opera/")+6,4)>=9.5; + /if; + if (client_browser->Find("AppleWebKit/")); + #result = client_browser->Substring(client_browser->Find("AppleWebKit/")+12,3)>=522; + /if; + return(#result); + /define_tag; + + define_tag('parseConfig'); + if(self->config->size); + local('out' = '<input type="hidden" id="' + self->instancename + '___Config" value="'); + iterate(self->config, local('this')); + loop_count > 1 ? #out += '&'; + #out += encode_html(#this->first) + '=' + encode_html(#this->second); + /iterate; + #out += '" style="display:none" />\n'; + return(@#out); + /if; + /define_tag; + /define_type; +] Added: trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.php =================================================================== --- trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.php (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.php 2008-05-18 11:52:05 UTC (rev 46) @@ -0,0 +1,77 @@ +<?php +/* + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * 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 + * + * == END LICENSE == + * + * This is the integration file for PHP (All versions). + * + * It loads the correct integration file based on the PHP version (avoiding + * strict error messages with PHP 5). + */ + +/** + * Check if browser is compatible with FCKeditor. + * Return true if is compatible. + * + * @return boolean + */ +function FCKeditor_IsCompatibleBrowser() +{ + if ( isset( $_SERVER ) ) { + $sAgent = $_SERVER['HTTP_USER_AGENT'] ; + } + else { + global $HTTP_SERVER_VARS ; + if ( isset( $HTTP_SERVER_VARS ) ) { + $sAgent = $HTTP_SERVER_VARS['HTTP_USER_AGENT'] ; + } + else { + global $HTTP_USER_AGENT ; + $sAgent = $HTTP_USER_AGENT ; + } + } + + if ( strpos($sAgent, 'MSIE') !== false && strpos($sAgent, 'mac') === false && strpos($sAgent, 'Opera') === false ) + { + $iVersion = (float)substr($sAgent, strpos($sAgent, 'MSIE') + 5, 3) ; + return ($iVersion >= 5.5) ; + } + else if ( strpos($sAgent, 'Gecko/') !== false ) + { + $iVersion = (int)substr($sAgent, strpos($sAgent, 'Gecko/') + 6, 8) ; + return ($iVersion >= 20030210) ; + } + else if ( strpos($sAgent, 'Opera/') !== false ) + { + $fVersion = (float)substr($sAgent, strpos($sAgent, 'Opera/') + 6, 4) ; + return ($fVersion >= 9.5) ; + } + else if ( preg_match( "|AppleWebKit/(\d+)|i", $sAgent, $matches ) ) + { + $iVersion = $matches[1] ; + return ( $matches[1] >= 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 =================================================================== --- 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 +# +# == BEGIN LICENSE == +# +# 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 +# +# == END LICENSE == +# +# 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) = @_; + $InstanceName = $instanceName; + $BasePath = '/fckeditor/'; + $Width = '100%'; + $Height = '200'; + $ToolbarSet = 'Default'; + $Value = ''; +} + +sub Create +{ + print &CreateHtml(); +} + +sub specialchar_cnv +{ + + local($ch) = @_; + + $ch =~ s/&/&/g; # & + $ch =~ s/\"/"/g; #" + $ch =~ s/\'/'/g; # ' + $ch =~ s/</</g; # < + $ch =~ s/>/>/g; # > + return($ch); +} + +sub CreateHtml +{ + + $HtmlValue = &specialchar_cnv($Value); + $Html = '' ; + if(&IsCompatible()) { + $Link = $BasePath . "editor/fckeditor.html?InstanceName=$InstanceName"; + if($ToolbarSet ne '') { + $Link .= "&Toolbar=$ToolbarSet"; + } + #// Render the linked hidden field. + $Html .= "<input type=\"hidden\" id=\"$InstanceName\" name=\"$InstanceName\" value=\"$HtmlValue\" style=\"display:none\" />" ; + + #// Render the configurations hidden field. + $cfgstr = &GetConfigFieldString(); + $wk = $InstanceName."___Config"; + $Html .= "<input type=\"hidden\" id=\"$wk\" value=\"$cfgstr\" style=\"display:none\" />" ; + + #// Render the editor IFRAME. + $wk = $InstanceName."___Frame"; + $Html .= "<iframe id=\"$wk\" src=\"$Link\" width=\"$Width\" height=\"$Height\" frameborder=\"0\" scrolling=\"no\"></iframe>"; + } else { + if($Width =~ /\%/g){ + $WidthCSS = $Width; + } else { + $WidthCSS = $Width . 'px'; + } + if($Height =~ /\%/g){ + $HeightCSS = $Height; + } else { + $HeightCSS = $Height . 'px'; + } + $Html .= "<textarea name=\"$InstanceName\" rows=\"4\" cols=\"40\" style=\"width: $WidthCSS; height: $HeightCSS\">$HtmlValue</textarea>"; + } + return($Html); +} + +sub IsCompatible +{ + + $sAgent = $ENV{'HTTP_USER_AGENT'}; + if(($sAgent =~ /MSIE/i) && !($sAgent =~ /mac/i) && !($sAgent =~ /Opera/i)) { + $iVersion = substr($sAgent,index($sAgent,'MSIE') + 5,3); + return($iVersion >= 5.5) ; + } elsif($sAgent =~ /Gecko\//i) { + $iVersion = substr($sAgent,index($sAgent,'Gecko/') + 6,8); + return($iVersion >= 20030210) ; + } elsif($sAgent =~ /Opera\//i) { + $iVersion = substr($sAgent,index($sAgent,'Opera/') + 6,4); + return($iVersion >= 9.5) ; + } elsif($sAgent =~ /AppleWebKit\/(\d+)/i) { + return($1 >= 522) ; + } else { + return(0); # 2.0 PR fix + } +} + +sub GetConfigFieldString +{ + $sParams = ''; + $bFirst = 0; + foreach $sKey (keys %Config) { + $sValue = $Config{$sKey}; + if($bFirst == 1) { + $sParams .= '&'; + } else { + $bFirst = 1; + } + $k = &specialchar_cnv($sKey); + $v = &specialchar_cnv($sValue); + if($sValue eq "true") { + $sParams .= "$k=true"; + } elsif($sValue eq "false") { + $sParams .= "$k=false"; + } else { + $sParams .= "$k=$v"; + } + } + return($sParams); +} + +1; Added: trunk/lutinrss/src/main/webapp/fckeditor/fckeditor.py =================================================================== --- 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 + +== BEGIN LICENSE == + +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 + +== END LICENSE == + +This is the integration file for Python. +""" + +import cgi +import os +import re +import string + +def escape(text, replace=string.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 = replace(text, '&', '&') # must be done 1st + text = replace(text, '<', '<') + text = replace(text, '>', '>') + text = replace(text, '"', '"') + text = replace(text, "'", ''') + return text + +# The FCKeditor class +class FCKeditor(object): + def __init__(self, instanceName): + self.InstanceName = instanceName + self.BasePath = '/fckeditor/' + self.Width = '100%' + self.Height = '200' + self.ToolbarSet = 'Default' + self.Value = ''; + + self.Config = {} + + def Create(self): + return self.CreateHtml() + + def CreateHtml(self): + HtmlValue = escape(self.Value) + Html = "" + + if (self.IsCompatible()): + File = "fckeditor.html" + Link = "%seditor/%s?InstanceName=%s" % ( + self.BasePath, + File, + self.InstanceName + ) + if (self.ToolbarSet is not None): + Link += "&ToolBar=%s" % self.ToolbarSet + + # Render the linked hidden field + Html += "<input type=\"hidden\" id=\"%s\" name=\"%s\" value=\"%s\" style=\"display:none\" />" % ( + self.InstanceName, + self.InstanceName, + HtmlValue + ) + + # Render the configurations hidden field + Html += "<input type=\"hidden\" id=\"%s___Config\" value=\"%s\" style=\"display:none\" />" % ( + self.InstanceName, + self.GetConfigFieldString() + ) + + # Render the editor iframe + Html += "<iframe id=\"%s\__Frame\" src=\"%s\" width=\"%s\" height=\"%s\" frameborder=\"0\" scrolling=\"no\"></iframe>" % ( + self.InstanceName, + Link, + self.Width, + self.Height + ) + else: + if (self.Width.find("%%") < 0): + WidthCSS = "%spx" % self.Width + else: + WidthCSS = self.Width + if (self.Height.find("%%") < 0): + HeightCSS = "%spx" % self.Height + else: + HeightCSS = self.Height + + Html += "<textarea name=\"%s\" rows=\"4\" cols=\"40\" style=\"width: %s; height: %s;\" wrap=\"virtual\">%s</textarea>" % ( + self.InstanceName, + WidthCSS, + HeightCSS, + HtmlValue + ) + return Html + + def IsCompatible(self): + if (os.environ.has_key("HTTP_USER_AGENT")): + sAgent = os.environ.get("HTTP_USER_AGENT", "") + else: + sAgent = "" + if (sAgent.find("MSIE") >= 0) and (sAgent.find("mac") < 0) and (sAgent.find("Opera") < 0): + i = sAgent.find("MSIE") + iVersion = float(sAgent[i+5:i+5+3]) + if (iVersion >= 5.5): + return True + return False + elif (sAgent.find("Gecko/") >= 0): + i = sAgent.find("Gecko/") + iVersion = int(sAgent[i+6:i+6+8]) + if (iVersion >= 20030210): + return True + return False + elif (sAgent.find("Opera/") >= 0): + i = sAgent.find("Opera/") + iVersion = float(sAgent[i+6:i+6+4]) + if (iVersion >= 9.5): + return True + return False + elif (sAgent.find("AppleWebKit/") >= 0): + p = re.compile('AppleWebKit\/(\d+)', re.IGNORECASE) + m = p.search(sAgent) + if (m.group(1) >= 522): + return True + return False + else: + return False + + def GetConfigFieldString(self): + sParams = "" + bFirst = True + for sKey in self.Config.keys(): + sValue = self.Config[sKey] + if (not bFirst): + sParams += "&" + else: + bFirst = False + if (sValue): + k = escape(sKey) + v = escape(sValue) + if (sValue == "true"): + sParams += "%s=true" % k + elif (sValue == "false"): + sParams += "%s=false" % k + else: + sParams += "%s=%s" % (k, v) + return sParams Added: trunk/lutinrss/src/main/webapp/fckeditor/fckeditor_php4.php =================================================================== --- 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 @@ +<?php +/* + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * 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 + * + * == END LICENSE == + * + * This is the integration file for PHP 4. + * + * It defines the FCKeditor class that can be used to create editor + * instances in PHP pages on server side. + */ + +class FCKeditor +{ + /** + * Name of the FCKeditor instance. + * + * @access protected + * @var string + */ + var $InstanceName ; + /** + * Path to FCKeditor relative to the document root. + * + * @var string + */ + var $BasePath ; + /** + * Width of the FCKeditor. + * Examples: 100%, 600 + * + * @var mixed + */ + var $Width ; + /** + * Height of the FCKeditor. + * Examples: 400, 50% + * + * @var mixed + */ + var $Height ; + /** + * Name of the toolbar to load. + * + * @var string + */ + var $ToolbarSet ; + /** + * Initial value. + * + * @var string + */ + var $Value ; + /** + * This is where additional configuration can be passed. + * Example: + * $oFCKeditor->Config['EnterMode'] = 'br'; + * + * @var array + */ + var $Config ; + + /** + * Main Constructor. + * Refer to the _samples/php directory for examples. + * + * @param string $instanceName + */ + function FCKeditor( $instanceName ) + { + $this->InstanceName = $instanceName ; + $this->BasePath = '/fckeditor/' ; + $this->Width = '100%' ; + $this->Height = '200' ; + $this->ToolbarSet = 'Default' ; + $this->Value = '' ; + + $this->Config = array() ; + } + + /** + * Display FCKeditor. + * + */ + function Create() + { + echo $this->CreateHtml() ; + } + + /** + * Return the HTML code required to run FCKeditor. + * + * @return string + */ + function CreateHtml() + { + $HtmlValue = htmlspecialchars( $this->Value ) ; + + $Html = '' ; + + if ( !isset( $_GET ) ) { + global $HTTP_GET_VARS ; + $_GET = $HTTP_GET_VARS ; + } + + if ( $this->IsCompatible() ) + { + if ( isset( $_GET['fcksource'] ) && $_GET['fcksource'] == "true" ) + $File = 'fckeditor.original.html' ; + else + $File = 'fckeditor.html' ; + + $Link = "{$this->BasePath}editor/{$File}?InstanceName={$this->InstanceName}" ; + + if ( $this->ToolbarSet != '' ) + $Link .= "&Toolbar={$this->ToolbarSet}" ; + + // Render the linked hidden field. + $Html .= "<input type=\"hidden\" id=\"{$this->InstanceName}\" name=\"{$this->InstanceName}\" value=\"{$HtmlValue}\" style=\"display:none\" />" ; + + // Render the configurations hidden field. + $Html .= "<input type=\"hidden\" id=\"{$this->InstanceName}___Config\" value=\"" . $this->GetConfigFieldString() . "\" style=\"display:none\" />" ; + + // Render the editor IFRAME. + $Html .= "<iframe id=\"{$this->InstanceName}___Frame\" src=\"{$Link}\" width=\"{$this->Width}\" height=\"{$this->Height}\" frameborder=\"0\" scrolling=\"no\"></iframe>" ; + } + else + { + if ( strpos( $this->Width, '%' ) === false ) + $WidthCSS = $this->Width . 'px' ; + else + $WidthCSS = $this->Width ; + + if ( strpos( $this->Height, '%' ) === false ) + $HeightCSS = $this->Height . 'px' ; + else + $HeightCSS = $this->Height ; + + $Html .= "<textarea name=\"{$this->InstanceName}\" rows=\"4\" cols=\"40\" style=\"width: {$WidthCSS}; height: {$HeightCSS}\">{$HtmlValue}</textarea>" ; + } + + return $Html ; + } + + /** + * Returns true if browser is compatible with FCKeditor. + * + * @return boolean + */ + function IsCompatible() + { + return FCKeditor_IsCompatibleBrowser() ; + } + + /** + * Get settings from Config array as a single string. + * + * @access protected + * @return string + */ + function GetConfigFieldString() + { + $sParams = '' ; + $bFirst = true ; + + foreach ( $this->Config as $sKey => $sValue ) + { + if ( $bFirst == false ) + $sParams .= '&' ; + else + $bFirst = false ; + + if ( $sValue === true ) + $sParams .= $this->EncodeConfig( $sKey ) . '=true' ; + else if ( $sValue === false ) + $sParams .= $this->EncodeConfig( $sKey ) . '=false' ; + else + $sParams .= $this->EncodeConfig( $sKey ) . '=' . $this->EncodeConfig( $sValue ) ; + } + + return $sParams ; + } + + /** + * Encode characters that may break the configuration string + * generated by GetConfigFieldString(). + * + * @access protected + * @param string $valueToEncode + * @return string + */ + function EncodeConfig( $valueToEncode ) + { + $chars = array( + '&' => '%26', + '=' => '%3D', + '"' => '%22' ) ; + + return strtr( $valueToEncode, $chars ) ; + } +} Added: trunk/lutinrss/src/main/webapp/fckeditor/fckeditor_php5.php =================================================================== --- trunk/lutinrss/src/main/webapp/fckeditor/fckeditor_php5.php (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/fckeditor_php5.php 2008-05-18 11:52:05 UTC (rev 46) @@ -0,0 +1,211 @@ +<?php +/* + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * 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 + * + * == END LICENSE == + * + * This is the integration file for PHP 5. + * + * It defines the FCKeditor class that can be used to create editor + * instances in PHP pages on server side. + */ + +class FCKeditor +{ + /** + * Name of the FCKeditor instance. + * + * @access protected + * @var string + */ + public $InstanceName ; + /** + * Path to FCKeditor relative to the document root. + * + * @var string + */ + public $BasePath ; + /** + * Width of the FCKeditor. + * Examples: 100%, 600 + * + * @var mixed + */ + public $Width ; + /** + * Height of the FCKeditor. + * Examples: 400, 50% + * + * @var mixed + */ + public $Height ; + /** + * Name of the toolbar to load. + * + * @var string + */ + public $ToolbarSet ; + /** + * Initial value. + * + * @var string + */ + public $Value ; + /** + * This is where additional configuration can be passed. + * Example: + * $oFCKeditor->Config['EnterMode'] = 'br'; + * + * @var array + */ + public $Config ; + + /** + * Main Constructor. + * Refer to the _samples/php directory for examples. + * + * @param string $instanceName + */ + public function __construct( $instanceName ) + { + $this->InstanceName = $instanceName ; + $this->BasePath = '/fckeditor/' ; + $this->Width = '100%' ; + $this->Height = '200' ; + $this->ToolbarSet = 'Default' ; + $this->Value = '' ; + + $this->Config = array() ; + } + + /** + * Display FCKeditor. + * + */ + public function Create() + { + echo $this->CreateHtml() ; + } + + /** + * Return the HTML code required to run FCKeditor. + * + * @return string + */ + public function CreateHtml() + { + $HtmlValue = htmlspecialchars( $this->Value ) ; + + $Html = '' ; + + if ( $this->IsCompatible() ) + { + if ( isset( $_GET['fcksource'] ) && $_GET['fcksource'] == "true" ) + $File = 'fckeditor.original.html' ; + else + $File = 'fckeditor.html' ; + + $Link = "{$this->BasePath}editor/{$File}?InstanceName={$this->InstanceName}" ; + + if ( $this->ToolbarSet != '' ) + $Link .= "&Toolbar={$this->ToolbarSet}" ; + + // Render the linked hidden field. + $Html .= "<input type=\"hidden\" id=\"{$this->InstanceName}\" name=\"{$this->InstanceName}\" value=\"{$HtmlValue}\" style=\"display:none\" />" ; + + // Render the configurations hidden field. + $Html .= "<input type=\"hidden\" id=\"{$this->InstanceName}___Config\" value=\"" . $this->GetConfigFieldString() . "\" style=\"display:none\" />" ; + + // Render the editor IFRAME. + $Html .= "<iframe id=\"{$this->InstanceName}___Frame\" src=\"{$Link}\" width=\"{$this->Width}\" height=\"{$this->Height}\" frameborder=\"0\" scrolling=\"no\"></iframe>" ; + } + else + { + if ( strpos( $this->Width, '%' ) === false ) + $WidthCSS = $this->Width . 'px' ; + else + $WidthCSS = $this->Width ; + + if ( strpos( $this->Height, '%' ) === false ) + $HeightCSS = $this->Height . 'px' ; + else + $HeightCSS = $this->Height ; + + $Html .= "<textarea name=\"{$this->InstanceName}\" rows=\"4\" cols=\"40\" style=\"width: {$WidthCSS}; height: {$HeightCSS}\">{$HtmlValue}</textarea>" ; + } + + return $Html ; + } + + /** + * Returns true if browser is compatible with FCKeditor. + * + * @return boolean + */ + public function IsCompatible() + { + return FCKeditor_IsCompatibleBrowser() ; + } + + /** + * Get settings from Config array as a single string. + * + * @access protected + * @return string + */ + public function GetConfigFieldString() + { + $sParams = '' ; + $bFirst = true ; + + foreach ( $this->Config as $sKey => $sValue ) + { + if ( $bFirst == false ) + $sParams .= '&' ; + else + $bFirst = false ; + + if ( $sValue === true ) + $sParams .= $this->EncodeConfig( $sKey ) . '=true' ; + else if ( $sValue === false ) + $sParams .= $this->EncodeConfig( $sKey ) . '=false' ; + else + $sParams .= $this->EncodeConfig( $sKey ) . '=' . $this->EncodeConfig( $sValue ) ; + } + + return $sParams ; + } + + /** + * Encode characters that may break the configuration string + * generated by GetConfigFieldString(). + * + * @access protected + * @param string $valueToEncode + * @return string + */ + public function EncodeConfig( $valueToEncode ) + { + $chars = array( + '&' => '%26', + '=' => '%3D', + '"' => '%22' ) ; + + return strtr( $valueToEncode, $chars ) ; + } +} Added: trunk/lutinrss/src/main/webapp/fckeditor/fckpackager.xml =================================================================== --- trunk/lutinrss/src/main/webapp/fckeditor/fckpackager.xml (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/fckpackager.xml 2008-05-18 11:52:05 UTC (rev 46) @@ -0,0 +1,262 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!-- + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * 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 + * + * == END LICENSE == + * + * This is the configuration file to be used with FCKpackager to generate the + * compressed code files in the "js" folder. + * + * Please check http://www.fckeditor.net for more info. +--> +<Package> + <Header><![CDATA[/* + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * 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 + * + * == END LICENSE == + * + * This file has been compressed for better performance. The original source + * can be found at "editor/_source". + */ +]]></Header> + <Constants removeDeclaration="false"> + <Constant name="FCK_STATUS_NOTLOADED" value="0" /> + <Constant name="FCK_STATUS_ACTIVE" value="1" /> + <Constant name="FCK_STATUS_COMPLETE" value="2" /> + <Constant name="FCK_TRISTATE_OFF" value="0" /> + <Constant name="FCK_TRISTATE_ON" value="1" /> + <Constant name="FCK_TRISTATE_DISABLED" value="-1" /> + <Constant name="FCK_UNKNOWN" value="-9" /> + <Constant name="FCK_TOOLBARITEM_ONLYICON" value="0" /> + <Constant name="FCK_TOOLBARITEM_ONLYTEXT" value="1" /> + <Constant name="FCK_TOOLBARITEM_ICONTEXT" value="2" /> + <Constant name="FCK_EDITMODE_WYSIWYG" value="0" /> + <Constant name="FCK_EDITMODE_SOURCE" value="1" /> + <Constant name="FCK_STYLE_BLOCK" value="0" /> + <Constant name="FCK_STYLE_INLINE" value="1" /> + <Constant name="FCK_STYLE_OBJECT" value="2" /> + </Constants> + <PackageFile path="editor/js/fckeditorcode_ie.js"> + <File path="editor/_source/fckconstants.js" /> + <File path="editor/_source/fckjscoreextensions.js" /> + <File path="editor/_source/classes/fckiecleanup.js" /> + <File path="editor/_source/internals/fckbrowserinfo.js" /> + <File path="editor/_source/internals/fckurlparams.js" /> + <File path="editor/_source/classes/fckevents.js" /> + <File path="editor/_source/classes/fckdataprocessor.js" /> + <File path="editor/_source/internals/fck.js" /> + <File path="editor/_source/internals/fck_ie.js" /> + <File path="editor/_source/internals/fckconfig.js" /> + <File path="editor/_source/internals/fckdebug.js" /> + <File path="editor/_source/internals/fckdomtools.js" /> + <File path="editor/_source/internals/fcktools.js" /> + <File path="editor/_source/internals/fcktools_ie.js" /> + <File path="editor/_source/fckeditorapi.js" /> + <File path="editor/_source/classes/fckimagepreloader.js" /> + + <File path="editor/_source/internals/fckregexlib.js" /> + <File path="editor/_source/internals/fcklistslib.js" /> + <File path="editor/_source/internals/fcklanguagemanager.js" /> + <File path="editor/_source/internals/fckxhtmlentities.js" /> + <File path="editor/_source/internals/fckxhtml.js" /> + <File path="editor/_source/internals/fckxhtml_ie.js" /> + <File path="editor/_source/internals/fckcodeformatter.js" /> + <File path="editor/_source/internals/fckundo.js" /> + <File path="editor/_source/classes/fckeditingarea.js" /> + <File path="editor/_source/classes/fckkeystrokehandler.js" /> + + <File path="editor/dtd/fck_xhtml10transitional.js" /> + <File path="editor/_source/classes/fckstyle.js" /> + <File path="editor/_source/internals/fckstyles.js" /> + + <File path="editor/_source/internals/fcklisthandler.js" /> + <File path="editor/_source/classes/fckelementpath.js" /> + <File path="editor/_source/classes/fckdomrange.js" /> + <File path="editor/_source/classes/fckdomrange_ie.js" /> + <File path="editor/_source/classes/fckdomrangeiterator.js" /> + <File path="editor/_source/classes/fckdocumentfragment_ie.js" /> + <File path="editor/_source/classes/fckw3crange.js" /> + <File path="editor/_source/classes/fckenterkey.js" /> + + <File path="editor/_source/internals/fckdocumentprocessor.js" /> + <File path="editor/_source/internals/fckselection.js" /> + <File path="editor/_source/internals/fckselection_ie.js" /> + + <File path="editor/_source/internals/fcktablehandler.js" /> + <File path="editor/_source/internals/fcktablehandler_ie.js" /> + <File path="editor/_source/classes/fckxml.js" /> + <File path="editor/_source/classes/fckxml_ie.js" /> + + <File path="editor/_source/commandclasses/fcknamedcommand.js" /> + <File path="editor/_source/commandclasses/fckstylecommand.js" /> + <File path="editor/_source/commandclasses/fck_othercommands.js" /> + <File path="editor/_source/commandclasses/fckshowblocks.js" /> + <File path="editor/_source/commandclasses/fckspellcheckcommand_ie.js" /> + <File path="editor/_source/commandclasses/fcktextcolorcommand.js" /> + <File path="editor/_source/commandclasses/fckpasteplaintextcommand.js" /> + <File path="editor/_source/commandclasses/fckpastewordcommand.js" /> + <File path="editor/_source/commandclasses/fcktablecommand.js" /> + <File path="editor/_source/commandclasses/fckfitwindow.js" /> + <File path="editor/_source/commandclasses/fcklistcommands.js" /> + <File path="editor/_source/commandclasses/fckjustifycommands.js" /> + <File path="editor/_source/commandclasses/fckindentcommands.js" /> + <File path="editor/_source/commandclasses/fckblockquotecommand.js" /> + <File path="editor/_source/commandclasses/fckcorestylecommand.js" /> + <File path="editor/_source/commandclasses/fckremoveformatcommand.js" /> + <File path="editor/_source/internals/fckcommands.js" /> + + <File path="editor/_source/classes/fckpanel.js" /> + <File path="editor/_source/classes/fckicon.js" /> + <File path="editor/_source/classes/fcktoolbarbuttonui.js" /> + <File path="editor/_source/classes/fcktoolbarbutton.js" /> + <File path="editor/_source/classes/fckspecialcombo.js" /> + <File path="editor/_source/classes/fcktoolbarspecialcombo.js" /> + <File path="editor/_source/classes/fcktoolbarstylecombo.js" /> + <File path="editor/_source/classes/fcktoolbarfontformatcombo.js" /> + <File path="editor/_source/classes/fcktoolbarfontscombo.js" /> + <File path="editor/_source/classes/fcktoolbarfontsizecombo.js" /> + <File path="editor/_source/classes/fcktoolbarpanelbutton.js" /> + <File path="editor/_source/internals/fcktoolbaritems.js" /> + <File path="editor/_source/classes/fcktoolbar.js" /> + <File path="editor/_source/classes/fcktoolbarbreak_ie.js" /> + <File path="editor/_source/internals/fcktoolbarset.js" /> + <File path="editor/_source/internals/fckdialog.js" /> + + <File path="editor/_source/classes/fckmenuitem.js" /> + <File path="editor/_source/classes/fckmenublock.js" /> + <File path="editor/_source/classes/fckmenublockpanel.js" /> + <File path="editor/_source/classes/fckcontextmenu.js" /> + <File path="editor/_source/internals/fck_contextmenu.js" /> + <File path="editor/_source/classes/fckhtmliterator.js" /> + + <File path="editor/_source/classes/fckplugin.js" /> + <File path="editor/_source/internals/fckplugins.js" /> + </PackageFile> + + <PackageFile path="editor/js/fckeditorcode_gecko.js"> + <File path="editor/_source/fckconstants.js" /> + <File path="editor/_source/fckjscoreextensions.js" /> + <File path="editor/_source/internals/fckbrowserinfo.js" /> + <File path="editor/_source/internals/fckurlparams.js" /> + <File path="editor/_source/classes/fckevents.js" /> + <File path="editor/_source/classes/fckdataprocessor.js" /> + <File path="editor/_source/internals/fck.js" /> + <File path="editor/_source/internals/fck_gecko.js" /> + <File path="editor/_source/internals/fckconfig.js" /> + <File path="editor/_source/internals/fckdebug.js" /> + <File path="editor/_source/internals/fckdomtools.js" /> + <File path="editor/_source/internals/fcktools.js" /> + <File path="editor/_source/internals/fcktools_gecko.js" /> + <File path="editor/_source/fckeditorapi.js" /> + <File path="editor/_source/classes/fckimagepreloader.js" /> + + <File path="editor/_source/internals/fckregexlib.js" /> + <File path="editor/_source/internals/fcklistslib.js" /> + <File path="editor/_source/internals/fcklanguagemanager.js" /> + <File path="editor/_source/internals/fckxhtmlentities.js" /> + <File path="editor/_source/internals/fckxhtml.js" /> + <File path="editor/_source/internals/fckxhtml_gecko.js" /> + <File path="editor/_source/internals/fckcodeformatter.js" /> + <File path="editor/_source/internals/fckundo.js" /> + <File path="editor/_source/classes/fckeditingarea.js" /> + <File path="editor/_source/classes/fckkeystrokehandler.js" /> + + <File path="editor/dtd/fck_xhtml10transitional.js" /> + <File path="editor/_source/classes/fckstyle.js" /> + <File path="editor/_source/internals/fckstyles.js" /> + + <File path="editor/_source/internals/fcklisthandler.js" /> + <File path="editor/_source/classes/fckelementpath.js" /> + <File path="editor/_source/classes/fckdomrange.js" /> + <File path="editor/_source/classes/fckdomrange_gecko.js" /> + <File path="editor/_source/classes/fckdomrangeiterator.js" /> + <File path="editor/_source/classes/fckdocumentfragment_gecko.js" /> + <File path="editor/_source/classes/fckw3crange.js" /> + <File path="editor/_source/classes/fckenterkey.js" /> + + <File path="editor/_source/internals/fckdocumentprocessor.js" /> + <File path="editor/_source/internals/fckselection.js" /> + <File path="editor/_source/internals/fckselection_gecko.js" /> + + <File path="editor/_source/internals/fcktablehandler.js" /> + <File path="editor/_source/internals/fcktablehandler_gecko.js" /> + <File path="editor/_source/classes/fckxml.js" /> + <File path="editor/_source/classes/fckxml_gecko.js" /> + + <File path="editor/_source/commandclasses/fcknamedcommand.js" /> + <File path="editor/_source/commandclasses/fckstylecommand.js" /> + <File path="editor/_source/commandclasses/fck_othercommands.js" /> + <File path="editor/_source/commandclasses/fckshowblocks.js" /> + <File path="editor/_source/commandclasses/fckspellcheckcommand_gecko.js" /> + <File path="editor/_source/commandclasses/fcktextcolorcommand.js" /> + <File path="editor/_source/commandclasses/fckpasteplaintextcommand.js" /> + <File path="editor/_source/commandclasses/fckpastewordcommand.js" /> + <File path="editor/_source/commandclasses/fcktablecommand.js" /> + <File path="editor/_source/commandclasses/fckfitwindow.js" /> + <File path="editor/_source/commandclasses/fcklistcommands.js" /> + <File path="editor/_source/commandclasses/fckjustifycommands.js" /> + <File path="editor/_source/commandclasses/fckindentcommands.js" /> + <File path="editor/_source/commandclasses/fckblockquotecommand.js" /> + <File path="editor/_source/commandclasses/fckcorestylecommand.js" /> + <File path="editor/_source/commandclasses/fckremoveformatcommand.js" /> + <File path="editor/_source/internals/fckcommands.js" /> + + <File path="editor/_source/classes/fckpanel.js" /> + <File path="editor/_source/classes/fckicon.js" /> + <File path="editor/_source/classes/fcktoolbarbuttonui.js" /> + <File path="editor/_source/classes/fcktoolbarbutton.js" /> + <File path="editor/_source/classes/fckspecialcombo.js" /> + <File path="editor/_source/classes/fcktoolbarspecialcombo.js" /> + <File path="editor/_source/classes/fcktoolbarstylecombo.js" /> + <File path="editor/_source/classes/fcktoolbarfontformatcombo.js" /> + <File path="editor/_source/classes/fcktoolbarfontscombo.js" /> + <File path="editor/_source/classes/fcktoolbarfontsizecombo.js" /> + <File path="editor/_source/classes/fcktoolbarpanelbutton.js" /> + <File path="editor/_source/internals/fcktoolbaritems.js" /> + <File path="editor/_source/classes/fcktoolbar.js" /> + <File path="editor/_source/classes/fcktoolbarbreak_gecko.js" /> + <File path="editor/_source/internals/fcktoolbarset.js" /> + <File path="editor/_source/internals/fckdialog.js" /> + + <File path="editor/_source/classes/fckmenuitem.js" /> + <File path="editor/_source/classes/fckmenublock.js" /> + <File path="editor/_source/classes/fckmenublockpanel.js" /> + <File path="editor/_source/classes/fckcontextmenu.js" /> + <File path="editor/_source/internals/fck_contextmenu.js" /> + <File path="editor/_source/classes/fckhtmliterator.js" /> + + <File path="editor/_source/classes/fckplugin.js" /> + <File path="editor/_source/internals/fckplugins.js" /> + </PackageFile> + +</Package> Added: trunk/lutinrss/src/main/webapp/fckeditor/fckstyles.xml =================================================================== --- trunk/lutinrss/src/main/webapp/fckeditor/fckstyles.xml (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/fckstyles.xml 2008-05-18 11:52:05 UTC (rev 46) @@ -0,0 +1,111 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!-- + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * 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 + * + * == END LICENSE == + * + * This is the sample style definitions file. It makes the styles combo + * completely customizable. + * + * See FCKConfig.StylesXmlPath in the configuration file. +--> +<Styles> + + <!-- Block Styles --> + + <!-- + # These styles are already available in the "Format" combo, so they are not + # needed here by default. + + <Style name="Heading 1" element="h1" /> + <Style name="Heading 2" element="h2" /> + <Style name="Heading 3" element="h3" /> + <Style name="Heading 4" element="h4" /> + <Style name="Heading 5" element="h5" /> + <Style name="Heading 6" element="h6" /> + <Style name="Paragraph" element="p" /> + <Style name="Document Block" element="div" /> + <Style name="Preformatted Text" element="pre" /> + <Style name="Address" element="address" /> + --> + + <!-- Inline Styles --> + + <!-- + # These are core styles available as toolbar buttons. + + <Style name="Bold" element="b"> + <Override element="strong" /> + </Style> + <Style name="Italic" element="i"> + <Override element="em" /> + </Style> + <Style name="Underline" element="u" /> + <Style name="Strikethrough" element="strike" /> + <Style name="Subscript" element="sub" /> + <Style name="Superscript" element="sup" /> + --> + + <Style name="Marker: Yellow" element="span"> + <Style name="background-color" value="Yellow" /> + </Style> + <Style name="Marker: Green" element="span"> + <Style name="background-color" value="Lime" /> + </Style> + + <Style name="Big" element="big" /> + <Style name="Small" element="small" /> + <Style name="Typewriter" element="tt" /> + + <Style name="Computer Code" element="code" /> + <Style name="Keyboard Phrase" element="kbd" /> + <Style name="Sample Text" element="samp" /> + <Style name="Variable" element="var" /> + + <Style name="Deleted Text" element="del" /> + <Style name="Inserted Text" element="ins" /> + + <Style name="Cited Work" element="cite" /> + <Style name="Inline Quotation" element="q" /> + + <Style name="Language: RTL" element="span"> + <Attribute name="dir" value="rtl" /> + </Style> + <Style name="Language: LTR" element="span"> + <Attribute name="dir" value="ltr" /> + </Style> + <Style name="Language: RTL Strong" element="bdo"> + <Attribute name="dir" value="rtl" /> + </Style> + <Style name="Language: LTR Strong" element="bdo"> + <Attribute name="dir" value="ltr" /> + </Style> + + <!-- Object Styles --> + + <Style name="Image on Left" element="img"> + <Attribute name="style" value="padding: 5px; margin-right: 5px" /> + <Attribute name="border" value="2" /> + <Attribute name="align" value="left" /> + </Style> + <Style name="Image on Right" element="img"> + <Attribute name="style" value="padding: 5px; margin-left: 5px" /> + <Attribute name="border" value="2" /> + <Attribute name="align" value="right" /> + </Style> +</Styles> Added: trunk/lutinrss/src/main/webapp/fckeditor/fcktemplates.xml =================================================================== --- trunk/lutinrss/src/main/webapp/fckeditor/fcktemplates.xml (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/fcktemplates.xml 2008-05-18 11:52:05 UTC (rev 46) @@ -0,0 +1,103 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!-- + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * 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 + * + * == END LICENSE == + * + * This is the sample templates definitions file. It makes the "templates" + * command completely customizable. + * + * See FCKConfig.TemplatesXmlPath in the configuration file. +--> +<Templates imagesBasePath="fck_template/images/"> + <Template title="Image and Title" image="template1.gif"> + <Description>One main image with a title and text that surround the image.</Description> + <Html> + <![CDATA[ + <img style="MARGIN-RIGHT: 10px" height="100" alt="" width="100" align="left"/> + <h3>Type the title here</h3> + Type the text here + ]]> + </Html> + </Template> + <Template title="Strange Template" image="template2.gif"> + <Description>A template that defines two colums, each one with a title, and some text.</Description> + <Html> + <![CDATA[ + <table cellspacing="0" cellpadding="0" width="100%" border="0"> + <tbody> + <tr> + <td width="50%"> + <h3>Title 1</h3> + </td> + <td> </td> + <td width="50%"> + <h3>Title 2</h3> + </td> + </tr> + <tr> + <td>Text 1</td> + <td> </td> + <td>Text 2</td> + </tr> + </tbody> + </table> + More text goes here. + ]]> + </Html> + </Template> + <Template title="Text and Table" image="template3.gif"> + <Description>A title with some text and a table.</Description> + <Html> + <![CDATA[ + <table align="left" width="80%" border="0" cellspacing="0" cellpadding="0"><tr><td> + <h3>Title goes here</h3> + <p> + <table style="FLOAT: right" cellspacing="0" cellpadding="0" width="150" border="1"> + <tbody> + <tr> + <td align="center" colspan="3"><strong>Table title</strong></td> + </tr> + <tr> + <td> </td> + <td> </td> + <td> </td> + </tr> + <tr> + <td> </td> + <td> </td> + <td> </td> + </tr> + <tr> + <td> </td> + <td> </td> + <td> </td> + </tr> + <tr> + <td> </td> + <td> </td> + <td> </td> + </tr> + </tbody> + </table> + Type the text here</p> + </td></tr></table> + ]]> + </Html> + </Template> +</Templates> Added: trunk/lutinrss/src/main/webapp/fckeditor/fckutils.cfm =================================================================== --- trunk/lutinrss/src/main/webapp/fckeditor/fckutils.cfm (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/fckutils.cfm 2008-05-18 11:52:05 UTC (rev 46) @@ -0,0 +1,78 @@ +<!--- + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2008 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * 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 + * + * == END LICENSE == + * + * ColdFusion integration. + * This function is used by FCKeditor module to check browser compatibility + ---> +<cfscript> +function FCKeditor_IsCompatibleBrowser() +{ + sAgent = lCase( cgi.HTTP_USER_AGENT ); + isCompatibleBrowser = false; + + // check for Internet Explorer ( >= 5.5 ) + if( find( "msie", sAgent ) and not find( "mac", sAgent ) and not find( "opera", sAgent ) ) + { + // try to extract IE version + stResult = reFind( "msie ([5-9]\.[0-9])", sAgent, 1, true ); + if( arrayLen( stResult.pos ) eq 2 ) + { + // get IE Version + sBrowserVersion = mid( sAgent, stResult.pos[2], stResult.len[2] ); + if( sBrowserVersion GTE 5.5 ) + isCompatibleBrowser = true; + } + } + // check for Gecko ( >= 20030210+ ) + else if( find( "gecko/", sAgent ) ) + { + // try to extract Gecko version date + stResult = reFind( "gecko/(200[3-9][0-1][0-9][0-3][0-9])", sAgent, 1, true ); + if( arrayLen( stResult.pos ) eq 2 ) + { + // get Gecko build (i18n date) + sBrowserVersion = mid( sAgent, stResult.pos[2], stResult.len[2] ); + if( sBrowserVersion GTE 20030210 ) + isCompatibleBrowser = true; + } + } + else if( find( "opera/", sAgent ) ) + { + // try to extract Opera version + stResult = reFind( "opera/([0-9]+\.[0-9]+)", sAgent, 1, true ); + if( arrayLen( stResult.pos ) eq 2 ) + { + if ( mid( sAgent, stResult.pos[2], stResult.len[2] ) gte 9.5) + isCompatibleBrowser = true; + } + } + else if( find( "applewebkit", sAgent ) ) + { + // try to extract Gecko version date + stResult = reFind( "applewebkit/([0-9]+)", sAgent, 1, true ); + if( arrayLen( stResult.pos ) eq 2 ) + { + if( mid( sAgent, stResult.pos[2], stResult.len[2] ) gte 522 ) + isCompatibleBrowser = true; + } + } + return isCompatibleBrowser; +} +</cfscript> Added: trunk/lutinrss/src/main/webapp/fckeditor/license.txt =================================================================== --- trunk/lutinrss/src/main/webapp/fckeditor/license.txt (rev 0) +++ trunk/lutinrss/src/main/webapp/fckeditor/license.txt 2008-05-18 11:52:05 UTC (rev 46) @@ -0,0 +1,1246 @@ +FCKeditor - The text editor for Internet - http://www.fckeditor.net +Copyright (C) 2003-2008 Frederico Caldeira Knabben + +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 + (See Appendix A) + + - GNU Lesser General Public License Version 2.1 or later (the "LGPL") + http://www.gnu.org/licenses/lgpl.html + (See Appendix B) + + - Mozilla Public License Version 1.1 or later (the "MPL") + http://www.mozilla.org/MPL/MPL-1.1.html + (See Appendix C) + +You are not required to, but if you want to explicitly declare the +license you have chosen to be bound to when using, reproducing, +modifying and distributing this software, just include a text file +titled "legal.txt" in your version of this software, indicating your +license choice. In any case, your choice will not restrict any +recipient of your version of this software to use, reproduce, modify +and distribute this software under any of the above licenses. + +Appendix A: The GPL License +=========================== + + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + +Appendix B: The LGPL License +============================ + + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + +Appendix C: The MPL License +=========================== + + MOZILLA PUBLIC LICENSE + Version 1.1 + + --------------- + +1. Definitions. + + 1.0.1. "Commercial Use" means distribution or otherwise making the + Covered Code available to a third party. + + 1.1. "Contributor" means each entity that creates or contributes to + the creation of Modifications. + + 1.2. "Contributor Version" means the combination of the Original + Code, prior Modifications used by a Contributor, and the Modifications + made by that particular Contributor. + + 1.3. "Covered Code" means the Original Code or Modifications or the + combination of the Original Code and Modifications, in each case + including portions thereof. + + 1.4. "Electronic Distribution Mechanism" means a mechanism generally + accepted in the software development community for the electronic + transfer of data. + + 1.5. "Executable" means Covered Code in any form other than Source + Code. + + 1.6. "Initial Developer" means the individual or entity identified + as the Initial Developer in the Source Code notice required by Exhibit + A. + + 1.7. "Larger Work" means a work which combines Covered Code or + portions thereof with code not governed by the terms of this License. + + 1.8. "License" means this document. + + 1.8.1. "Licensable" means having the right to grant, to the maximum + extent possible, whether at the time of the initial grant or + subsequently acquired, any and all of the rights conveyed herein. + + 1.9. "Modifications" means any addition to or deletion from the + substance or structure of either the Original Code or any previous + Modifications. When Covered Code is released as a series of files, a + Modification is: + A. Any addition to or deletion from the contents of a file + containing Original Code or previous Modifications. + + B. Any new file that contains any part of the Original Code or + previous Modifications. + + 1.10. "Original Code" means Source Code of computer software code + which is described in the Source Code notice required by Exhibit A as + Original Code, and which, at the time of its release under this + License is not already Covered Code governed by this License. + + 1.10.1. "Patent Claims" means any patent claim(s), now owned or + hereafter acquired, including without limitation, method, process, + and apparatus claims, in any patent Licensable by grantor. + + 1.11. "Source Code" means the preferred form of the Covered Code for + making modifications to it, including all modules it contains, plus + any associated interface definition files, scripts used to control + compilation and installation of an Executable, or source code + differential comparisons against either the Original Code or another + well known, available Covered Code of the Contributor's choice. The + Source Code can be in a compressed or archival form, provided the + appropriate decompression or de-archiving software is widely available + for no charge. + + 1.12. "You" (or "Your") means an individual or a legal entity + exercising rights under, and complying with all of the terms of, this + License or a future version of this License issued under Section 6.1. + For legal entities, "You" includes any entity which controls, is + controlled by, or is under common control with You. For purposes of + this definition, "control" means (a) the power, direct or indirect, + to cause the direction or management of such entity, whether by + contract or otherwise, or (b) ownership of more than fifty percent + (50%) of the outstanding shares or beneficial ownership of such + entity. + +2. Source Code License. + + 2.1. The Initial Developer Grant. + The Initial Developer hereby grants You a world-wide, royalty-free, + non-exclusive license, subject to third party intellectual property + claims: + (a) under intellectual property rights (other than patent or + trademark) Licensable by Initial Developer to use, reproduce, + modify, display, perform, sublicense and distribute the Original + Code (or portions thereof) with or without Modifications, and/or + as part of a Larger Work; and + + (b) under Patents Claims infringed by the making, using or + selling of Original Code, to make, have made, use, practice, + sell, and offer for sale, and/or otherwise dispose of the + Original Code (or portions thereof). + + (c) the licenses granted in this Section 2.1(a) and (b) are + effective on the date Initial Developer first distributes + Original Code under the terms of this License. + + (d) Notwithstanding Section 2.1(b) above, no patent license is + granted: 1) for code that You delete from the Original Code; 2) + separate from the Original Code; or 3) for infringements caused + by: i) the modification of the Original Code or ii) the + combination of the Original Code with other software or devices. + + 2.2. Contributor Grant. + Subject to third party intellectual property claims, each Contributor + hereby grants You a world-wide, royalty-free, non-exclusive license + + (a) under intellectual property rights (other than patent or + trademark) Licensable by Contributor, to use, reproduce, modify, + display, perform, sublicense and distribute the Modifications + created by such Contributor (or portions thereof) either on an + unmodified basis, with other Modifications, as Covered Code + and/or as part of a Larger Work; and + + (b) under Patent Claims infringed by the making, using, or + selling of Modifications made by that Contributor either alone + and/or in combination with its Contributor Version (or portions + of such combination), to make, use, sell, offer for sale, have + made, and/or otherwise dispose of: 1) Modifications made by that + Contributor (or portions thereof); and 2) the combination of + Modifications made by that Contributor with its Contributor + Version (or portions of such combination). + + (c) the licenses granted in Sections 2.2(a) and 2.2(b) are + effective on the date Contributor first makes Commercial Use of + the Covered Code. + + (d) Notwithstanding Section 2.2(b) above, no patent license is + granted: 1) for any code that Contributor has deleted from the + Contributor Version; 2) separate from the Contributor Version; + 3) for infringements caused by: i) third party modifications of + Contributor Version or ii) the combination of Modifications made + by that Contributor with other software (except as part of the + Contributor Version) or other devices; or 4) under Patent Claims + infringed by Covered Code in the absence of Modifications made by + that Contributor. + +3. Distribution Obligations. + + 3.1. Application of License. + The Modifications which You create or to which You contribute are + governed by the terms of this License, including without limitation + Section 2.2. The Source Code version of Covered Code may be + distributed only under the terms of this License or a future version + of this License released under Section 6.1, and You must include a + copy of this License with every copy of the Source Code You + distribute. You may not offer or impose any terms on any Source Code + version that alters or restricts the applicable version of this + License or the recipients' rights hereunder. However, You may include + an additional document offering the additional rights described in + Section 3.5. + + 3.2. Availability of Source Code. + Any Modification which You create or to which You contribute must be + made available in Source Code form under the terms of this License + either on the same media as an Executable version or via an accepted + Electronic Distribution Mechanism to anyone to whom you made an + Executable version available; and if made available via Electronic + Distribution Mechanism, must remain available for at least twelve (12) + months after the date it initially became available, or at least six + (6) months after a subsequent version of that particular Modification + has been made available to such recipients. You are responsible for + ensuring that the Source Code version remains available even if the + Electronic Distribution Mechanism is maintained by a third party. + + 3.3. Description of Modifications. + You must cause all Covered Code to which You contribute to contain a + file documenting the changes You made to create that Covered Code and + the date of any change. You must include a prominent statement that + the Modification is derived, directly or indirectly, from Original + Code provided by the Initial Developer and including the name of the + Initial Developer in (a) the Source Code, and (b) in any notice in an + Executable version or related documentation in which You describe the + origin or ownership of the Covered Code. + + 3.4. Intellectual Property Matters + (a) Third Party Claims. + If Contributor has knowledge that a license under a third party's + intellectual property rights is required to exercise the rights + granted by such Contributor under Sections 2.1 or 2.2, + Contributor must include a text file with the Source Code + distribution titled "LEGAL" which describes the claim and the + party making the claim in sufficient detail that a recipient will + know whom to contact. If Contributor obtains such knowledge after + the Modification is made available as described in Section 3.2, + Contributor shall promptly modify the LEGAL file in all copies + Contributor makes available thereafter and shall take other steps + (such as notifying appropriate mailing lists or newsgroups) + reasonably calculated to inform those who received the Covered + Code that new knowledge has been obtained. + + (b) Contributor APIs. + If Contributor's Modifications include an application programming + interface and Contributor has knowledge of patent licenses which + are reasonably necessary to implement that API, Contributor must + also include this information in the LEGAL file. + + (c) Representations. + Contributor represents that, except as disclosed pursuant to + Section 3.4(a) above, Contributor believes that Contributor's + Modifications are Contributor's original creation(s) and/or + Contributor has sufficient rights to grant the rights conveyed by + this License. + + 3.5. Required Notices. + You must duplicate the notice in Exhibit A in each file of the Source + Code. If it is not possible to put such notice in a particular Source + Code file due to its structure, then You must include such notice in a + location (such as a relevant directory) where a user would be likely + to look for such a notice. If You created one or more Modification(s) + You may add your name as a Contributor to the notice described in + Exhibit A. You must also duplicate this License in any documentation + for the Source Code where You describe recipients' rights or ownership + rights relating to Covered Code. You may choose to offer, and to + charge a fee for, warranty, support, indemnity or liability + obligations to one or more recipients of Covered Code. However, You + may do so only on Your own behalf, and not on behalf of the Initial + Developer or any Contributor. You must make it absolutely clear than + any such warranty, support, indemnity or liability obligation is + offered by You alone, and You hereby agree to indemnify the Initial + Developer and every Contributor for any liability incurred by the + Initial Developer or such Contributor as a result of warranty, + support, indemnity or liability terms You offer. + + 3.6. Distribution of Executable Versions. + You may distribute Covered Code in Executable form only if the + requirements of Section 3.1-3.5 have been met for that Covered Code, + and if You include a notice stating that the Source Code version of + the Covered Code is available under the terms of this License, + including a description of how and where You have fulfilled the + obligations of Section 3.2. The notice must be conspicuously included + in any notice in an Executable version, related documentation or + collateral in which You describe recipients' rights relating to the + Covered Code. You may distribute the Executable version of Covered + Code or ownership rights under a license of Your choice, which may + contain terms different from this License, provided that You are in + compliance with the terms of this License and that the license for the + Executable version does not attempt to limit or alter the recipient's + rights in the Source Code version from the rights set forth in this + License. If You distribute the Executable version under a different + license You must make it absolutely clear that any terms which differ + from this License are offered by You alone, not by the Initial + Developer or any Contributor. You hereby agree to indemnify the + Initial Developer and every Contributor for any liability incurred by + the Initial Developer or such Contributor as a result of any such + terms You offer. + + 3.7. Larger Works. + You may create a Larger Work by combining Covered Code with other code + not governed by the terms of this License and distribute the Larger + Work as a single product. In such a case, You must make sure the + requirements of this License are fulfilled for the Covered Code. + +4. Inability to Comply Due to Statute or Regulation. + + If it is impossible for You to comply with any of the terms of this + License with respect to some or all of the Covered Code due to + statute, judicial order, or regulation then You must: (a) comply with + the terms of this License to the maximum extent possible; and (b) + describe the limitations and the code they affect. Such description + must be included in the LEGAL file described in Section 3.4 and must + be included with all distributions of the Source Code. Except to the + extent prohibited by statute or regulation, such description must be + sufficiently detailed for a recipient of ordinary skill to be able to + understand it. + +5. Application of this License. + + This License applies to code to which the Initial Developer has + attached the notice in Exhibit A and to related Covered Code. + +6. Versions of the License. + + 6.1. New Versions. + Netscape Communications Corporation ("Netscape") may publish revised + and/or new versions of the License from time to time. Each version + will be given a distinguishing version number. + + 6.2. Effect of New Versions. + Once Covered Code has been published under a particular version of the + License, You may always continue to use it under the terms of that + version. You may also choose to use such Covered Code under the terms + of any subsequent version of the License published by Netscape. No one + other than Netscape has the right to modify the terms applicable to + Covered Code created under this License. + + 6.3. Derivative Works. + If You create or use a modified version of this License (which you may + only do in order to apply it to code which is not already Covered Code + governed by this License), You must (a) rename Your license so that + the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", + "MPL", "NPL" or any confusingly similar phrase do not appear in your + license (except to note that your license differs from this License) + and (b) otherwise make it clear that Your version of the license + contains terms which differ from the Mozilla Public License and + Netscape Public License. (Filling in the name of the Initial + Developer, Original Code or Contributor in the notice described in + Exhibit A shall not of themselves be deemed to be modifications of + this License.) + +7. DISCLAIMER OF WARRANTY. + + COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF + DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. + THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE + IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, + YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE + COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER + OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF + ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + +8. TERMINATION. + + 8.1. This License and the rights granted hereunder will terminate + automatically if You fail to comply with terms herein and fail to cure + such breach within 30 days of becoming aware of the breach. All + sublicenses to the Covered Code which are properly granted shall + survive any termination of this License. Provisions which, by their + nature, must remain in effect beyond the termination of this License + shall survive. + + 8.2. If You initiate litigation by asserting a patent infringement + claim (excluding declatory judgment actions) against Initial Developer + or a Contributor (the Initial Developer or Contributor against whom + You file such action is referred to as "Participant") alleging that: + + (a) such Participant's Contributor Version directly or indirectly + infringes any patent, then any and all rights granted by such + Participant to You under Sections 2.1 and/or 2.2 of this License + shall, upon 60 days notice from Participant terminate prospectively, + unless if within 60 days after receipt of notice You either: (i) + agree in writing to pay Participant a mutually agreeable reasonable + royalty for Your past and future use of Modifications made by such + Participant, or (ii) withdraw Your litigation claim with respect to + the Contributor Version against such Participant. If within 60 days + of notice, a reasonable royalty and payment arrangement are not + mutually agreed upon in writing by the parties or the litigation claim + is not withdrawn, the rights granted by Participant to You under + Sections 2.1 and/or 2.2 automatically terminate at the expiration of + the 60 day notice period specified above. + + (b) any software, hardware, or device, other than such Participant's + Contributor Version, directly or indirectly infringes any patent, then + any rights granted to You by such Participant under Sections 2.1(b) + and 2.2(b) are revoked effective as of the date You first made, used, + sold, distributed, or had made, Modifications made by that + Participant. + + 8.3. If You assert a patent infringement claim against Participant + alleging that such Participant's Contributor Version directly or + indirectly infringes any patent where such claim is resolved (such as + by license or settlement) prior to the initiation of patent + infringement litigation, then the reasonable value of the licenses + granted by such Participant under Sections 2.1 or 2.2 shall be taken + into account in determining the amount or value of any payment or + license. + + 8.4. In the event of termination under Sections 8.1 or 8.2 above, + all end user license agreements (excluding distributors and resellers) + which have been validly granted by You or any distributor hereunder + prior to termination shall survive termination. + +9. LIMITATION OF LIABILITY. + + UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT + (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL + DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, + OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR + ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY + CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, + WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER + COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN + INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF + LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY + RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW + PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE + EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO + THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. + +10. U.S. GOVERNMENT END USERS. + + The Covered Code is a "commercial item," as that term is defined in + 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer + software" and "commercial computer software documentation," as such + terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 + C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), + all U.S. Government End Users acquire Covered Code with only those + rights set forth herein. + +11. MISCELLANEOUS. + + This License represents the complete agreement concerning subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. This License shall be governed by + California law provisions (except to the extent applicable law, if + any, provides otherwise), excluding its conflict-of-law provisions. + With respect to disputes in which at least one party is a citizen of, + or an entity chartered or registered to do business in the United + States of America, any litigation relating to this License shall be + subject to the jurisdiction of the Federal Courts of the Northern + District of California, with venue lying in Santa Clara County, + California, with the losing party responsible for costs, including + without limitation, court costs and reasonable attorneys' fees and + expenses. The application of the United Nations Convention on + Contracts for the International Sale of Goods is expressly excluded. + Any law or regulation which provides that the language of a contract + shall be construed against the drafter shall not apply to this + License. + +12. RESPONSIBILITY FOR CLAIMS. + + As between Initial Developer and the Contributors, each party is + responsible for claims and damages arising, directly or indirectly, + out of its utilization of rights under this License and You agree to + work with Initial Developer and Contributors to distribute such + responsibility on an equitable basis. Nothing herein is intended or + shall be deemed to constitute any admission of liability. + +13. MULTIPLE-LICENSED CODE. + + Initial Developer may designate portions of the Covered Code as + "Multiple-Licensed". "Multiple-Licensed" means that the Initial + Developer permits you to utilize portions of the Covered Code under + Your choice of the NPL or the alternative licenses, if any, specified + by the Initial Developer in the file described in Exhibit A. + +EXHIBIT A -Mozilla Public License. + + ``The contents of this file are subject to the Mozilla Public License + Version 1.1 (the "License"); you may not use this file except in + compliance with the License. You may obtain a copy of the License at + http://www.mozilla.org/MPL/ + + Software distributed under the License is distributed on an "AS IS" + basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the + License for the specific language governing rights and limitations + under the License. + + The Original Code is ______________________________________. + + The Initial Developer of the Original Code is ________________________. + Portions created by ______________________ are Copyright (C) ______ + _______________________. All Rights Reserved. + + Contributor(s): ______________________________________. + + Alternatively, the contents of this file may be used under the terms + of the _____ license (the "[___] License"), in which case the + provisions of [______] License are applicable instead of those + above. If you wish to allow use of your version of this file only + under the terms of the [____] License and not to allow others to use + your version of this file under the MPL, indicate your decision by + deleting the provisions above and replace them with the notice and + other provisions required by the [___] License. If you do not delete + the provisions above, a recipient may use your version of this file + under either the MPL or the [___] License." + + [NOTE: The text of this Exhibit A may differ slightly from the text of + the notices in the Source Code files of the Original Code. You should + use the text of this Exhibit A rather than the text found in the + Original Code Source Code for Your Modifications.]
participants (1)
-
tchemit@users.labs.libre-entreprise.org