Changeset 2123


Ignore:
Timestamp:
06/24/08 12:06:29 (6 years ago)
Author:
martinkou
Message:

Merged all changes in trunk up to r2121.

Location:
FCKeditor/branches/features/new_samples
Files:
44 edited
2 copied

Legend:

Unmodified
Added
Removed
  • FCKeditor/branches/features/new_samples/_dev/build_release.bat

    r1826 r2123  
    2626 
    2727:: Update this variable for each new release. 
    28 SET RELEASER_VERSION=2.6.1 (SVN) 
     28SET RELEASER_VERSION=2.6.3 (SVN) 
    2929 
    3030CLS 
  • FCKeditor/branches/features/new_samples/_dev/domain_fix_template.js

    r1799 r2123  
    2626// ### Minified Script (must be updated on changes in the original below). 
    2727 
    28 (function(){var d=document.domain;while (true){try{var A=window.top.opener.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:\.|$)/,'');if (d.length==0) break;try{document.domain=d;}catch (e){break;}}})(); 
     28(function(){var d=document.domain;while (true){try{var A=window.parent.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:\.|$)/,'');if (d.length==0) break;try{document.domain=d;}catch (e){break;}}})(); 
    2929 
    3030// ### Original Script. 
     
    3939                try 
    4040                { 
    41                         var test = window.top.opener.document.domain ; 
     41                        var test = window.parent.document.domain ; 
    4242                        break ; 
    4343                } 
  • FCKeditor/branches/features/new_samples/_samples/sample.css

    r2039 r2123  
    4141} 
    4242 
    43 #outputSample  
     43#outputSample 
    4444{ 
    4545        table-layout:fixed; 
     
    5555        white-space: -o-pre-wrap; /* Opera 7 */ 
    5656        white-space: pre-wrap; /* CSS 2.1 */ 
    57         white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */  
     57        white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */ 
    5858        word-wrap: break-word; /* IE */ 
    5959} 
    6060 
    61 #outputSample thead th  
     61#outputSample thead th 
    6262{ 
    63         color: #dddddd;  
     63        color: #dddddd; 
    6464        background-color: #999999; 
    6565        padding: 4px; 
     
    6767} 
    6868 
    69 #outputSample tbody th  
     69#outputSample tbody th 
    7070{ 
    7171        vertical-align: top; 
  • FCKeditor/branches/features/new_samples/_whatsnew.html

    r2043 r2123  
    3434                FCKeditor ChangeLog - What's New?</h1> 
    3535        <h3> 
    36                 Version 2.6.1 (SVN)</h3> 
     36                Version 2.6.3 (SVN)</h3> 
    3737        <p> 
    3838                New Features and Improvements:</p> 
    3939        <ul> 
    40                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2142">#2142</a>] HTML samples will 
    41                 now use sampleposteddata.php in action parameter inside a form.</li> 
    42                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2150">#2150</a>] The searching 
    43                         speed of the Find/Replace dialog has been vastly improved.</li> 
    44                 <li>New language file for <strong>Gujarati</strong> (by Nilam Doctor).</li> 
    45                 <li>A new TabIndex property has been added to the JavaScript integration files.</li> 
    46                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2215">#2215</a>] Following 
    47                         the above new feature, the ReplaceTextarea method will now copy the textarea.tabIndex 
    48                         value if available.</li> 
    49                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2163">#2163</a>] If the FCKConfig.DocType 
    50                         setting points to a HTML DocType then the output won't generate self-closing tags (it will output 
    51                         &lt;img &gt; instead of &lt;img /&gt;).</li> 
    52                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2173">#2173</a>] A throbber will 
    53                         be shown in the Quick Uploads.</li> 
     40                <li></li> 
    5441        </ul> 
    5542        <p> 
    5643                Fixed Bugs:</p> 
    5744        <ul> 
    58                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/768">#768</a>] It is no longer possible 
    59                         for an image to have its width and height defined with both HTML attributes and inline CSS 
    60                         styles in IE.</li> 
    61                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1426">#1426</a>] Fixed the error loading 
    62                         fckstyles.xml in servers which cannot return the correct content type header for .xml files.</li> 
    63                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2102">#2102</a>] Fixed FCKConfig.DocType 
    64                         which stopped working in FCKeditor 2.6.</li> 
    65                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2039">#2039</a>] Fixed the locking up issue 
    66                         in the Find/Replace dialog.</li> 
    67                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2124">#2124</a>] PHP file brower: fixed 
    68                         issue with resolving paths on Windows servers with PHP 5.2.4/5.2.5.</li> 
    69                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2059">#2059</a>] Fixed the error in the 
    70                         toolbar name in fckeditor.py.</li> 
    71                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2065">#2065</a>] Floating dialogs will now 
    72                         block the user from re-selecting the editing area by pressing Tab.</li> 
    73                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2114">#2114</a>] Added a workaround for an 
    74                         IE6 bug which causes floating dialogs to appear blank after opening it for the first time.</li> 
    75                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2136">#2136</a>] Fixed JavaScript error in IE 
    76                         when opening the bullet list properties dialog.</li> 
    77                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1633">#1633</a>] External styles should no 
    78                         longer interfere with the appearance of the editor and floating panels now.</li> 
    79                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2113">#2113</a>] Fixed unneeded &lt;span 
    80                         class=&quot;Apple-style-span&quot;&gt; created after inserting special characters.</li> 
    81                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2170">#2170</a>] Fixed Ctrl-Insert hotkey 
    82                         for copying.</li> 
    83                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2125">#2125</a>] Fixed the issue that 
    84                         FCK.InsertHtml() doesn't insert contents at the caret position when dialogs are opened in IE. 
    85                         </li> 
    86                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1764">#1764</a>] FCKeditor will no longer 
    87                         catch focus in IE on load when StartupFocus is false and the initial content is empty.</li> 
    88                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2126">#2126</a>] Opening and closing floating 
    89                         dialogs will no longer cause toolbar button states to become frozen.</li> 
    90                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2159">#2159</a>] Selection are now 
    91                         correctly restored when undoing changes made by the Replace dialog.</li> 
    92                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2160">#2160</a>] "Match whole word" in the 
    93                         Find and Replace dialog will now find words next to punctuation marks as well.</li> 
    94                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2162">#2162</a>] If the configuration is set 
    95                         to work including the &lt;head&gt; (FullPage), references to stylesheets added by Firefox extensions 
    96                         won't be added to the output.</li> 
    97                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2168">#2168</a>] Comments won't generate new 
    98                         paragraphs in the output.</li> 
    99                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2184">#2184</a>] Fixed several validation 
    100                         errors in the File Browser.</li> 
    101                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1383">#1383</a>] Fixed an IE issue where 
    102                         pressing backspace may merge a hyperlink on the previous line with the text on the current line.</li> 
    103                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1691">#1691</a>] Creation of links in Safari 
    104                         failed if there was no selection.</li> 
    105                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2188">#2188</a>] PreserveSessionOnFileBrowser 
    106                         is now removed as it was made obsolete with 2.6.</li> 
    107                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/898">#898</a>] The styles for the editing area 
    108                         are applied in the image preview dialog.</li> 
    109                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2056">#2056</a>] Fixed several validation 
    110                         errors in the dialogs.</li> 
    111                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2063">#2063</a>] Fixed some problems in asp 
    112                         related to the use of network paths for the location of the uploaded files.</li> 
    113                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1593">#1593</a>] Samplepostdata will now  
    114                         properly wrap the text.</li>  
    115                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2239">#2239</a>] The Samplepostdata.php has been 
    116                         changed from "&lt;?=" to "&lt;? echo".</li>  
    117         </ul> 
    118         <h3> 
    119                 Version 2.6</h3> 
    120         <p> 
    121                 No changes. The stabilization of the 2.6 RC was completed successfully, as expected.</p> 
    122         <h3> 
    123                 Version 2.6 RC</h3> 
    124         <p> 
    125                 New Features and Improvements:</p> 
    126         <ul> 
    127                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2017">#2017</a>] The FCKeditorAPI.Instances 
    128                         object can now be used to access all FCKeditor instances available in the page.</li> 
    129                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1980">#1980</a>] <span 
    130                         style="color: #ff0000">Attention:</span> By default, the editor now produces &lt;strong&gt; 
    131                         and &lt;em&gt; instead of &lt;b&gt; and &lt;i&gt;.</li> 
     45                <li></li> 
    13246        </ul> 
    13347        <p> 
    134                 Fixed Bugs:</p> 
    135         <ul> 
    136                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1924">#1924</a>] The dialog 
    137                         close button is now correctly positioned in IE in RTL languages.</li> 
    138                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1933">#1933</a>] Placeholder 
    139                         dialog will now display the placeholder value correctly in IE.</li> 
    140                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/957">#957</a>] Pressing 
    141                         Enter or typing after a placeholder with the placeholder plugin will no longer generate 
    142                         colored text.</li> 
    143                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1952">#1952</a>] Fixed 
    144                         an issue in FCKTools.FixCssUrls that, other than wrong, was breaking Opera.</li> 
    145                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1695">#1695</a>] Removed 
    146                         Ctrl-Tab hotkey for Source mode and allowed Ctrl-T to work in Firefox.</li> 
    147                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1666">#1666</a>] Fixed 
    148                         permission denied errors during opening popup menus in IE6 under domain relaxation 
    149                         mode.</li> 
    150                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1934">#1934</a>] Fixed 
    151                         JavaScript errors when calling Selection.EnsureSelection() in dialogs.</li> 
    152                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1920">#1920</a>] Fixed 
    153                         SSL warning message when opening image and flash dialogs under HTTPS in IE6.</li> 
    154                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1955">#1955</a>] [<a 
    155                         target="_blank" href="http://dev.fckeditor.net/ticket/1981">#1981</a>] [<a target="_blank" 
    156                                 href="http://dev.fckeditor.net/ticket/1985">#1985</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/1989">#1989</a>] 
    157                         Fixed XHTML source formatting errors in non-IE browsers.</li> 
    158                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2000">#2000</a>] The # 
    159                         character is now properly encoded in file names returned by the File Browser.</li> 
    160                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1945">#1945</a>] New folders 
    161                         and file names are now properly sanitized against control characters. </li> 
    162                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1944">#1944</a>] Backslash 
    163                         character is now disallowed in current folder path.</li> 
    164                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1055">#1055</a>] Added 
    165                         logic to override JavaScript errors occurring inside the editing frame due to user 
    166                         added JavaScript code.</li> 
    167                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1647">#1647</a>] Hitting 
    168                         ENTER on list items containing block elements will now create new list item elements, 
    169                         instead of adding further blocks to the same list item.</li> 
    170                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1411">#1411</a>] Label 
    171                         only combos now get properly grayed out when moving to source view.</li> 
    172                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2009">#2009</a>] Fixed 
    173                         an important bug regarding styles removal on styled text boundaries, introduced 
    174                         with the 2.6 Beta 1. </li> 
    175                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2011">#2011</a>] Internal 
    176                         CSS &lt;style&gt; tags where being outputted when FullPage=true.</li> 
    177                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2016">#2016</a>] The Link 
    178                         dialog now properly selects the first field when opening it to modify mailto or 
    179                         anchor links. This problem was also throwing an error in IE.</li> 
    180                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2021">#2021</a>] The caret 
    181                         will no longer remain behind in the editing area when the placeholder dialog is 
    182                         opened.</li> 
    183                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2024">#2024</a>] Fixed 
    184                         JavaScript error in IE when the user tries to open dialogs in Source mode.</li> 
    185                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1853">#1853</a>] Setting 
    186                         ShiftEnterMode to p or div now works correctly when EnterMode is br.</li> 
    187                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1838">#1838</a>] Fixed 
    188                         the issue where context menus sometimes don't disappear after selecting an option. 
    189                 </li> 
    190                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2028">#2028</a>] Fixed 
    191                         JavaScript error when EnterMode=br and user tries to insert a page break.</li> 
    192                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2002">#2002</a>] Fixed 
    193                         the issue where the maximize editor button does not vertically expand the editing 
    194                         area in Firefox.</li> 
    195                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1842">#1842</a>] PHP integration: 
    196                         fixed filename encoding problems in file browser.</li> 
    197                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1832">#1832</a>] Calling 
    198                         FCK.InsertHtml() in non-IE browsers would now activate the document processor as 
    199                         expected.</li> 
    200                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1998">#1998</a>] The native 
    201                         XMLHttpRequest class is now used in IE, whenever it is available.</li> 
    202                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1792">#1792</a>] In IE, 
    203                         the browser was able to enter in an infinite loop when working with multiple editors 
    204                         in the same page. </li> 
    205                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1948">#1948</a>] Some 
    206                         CSS rules are reset to dialog elements to avoid conflict with the page CSS.</li> 
    207                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1965">#1965</a>] IE was 
    208                         having problems with SpellerPages, causing some errors to be thrown when completing 
    209                         the spell checking in some situations.</li> 
    210                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2042">#2042</a>] The FitWindow 
    211                         command was throwing an error if executed in an editor where its relative button 
    212                         is not present in the toolbar.</li> 
    213                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/922">#922</a>] Implemented 
    214                         a generic document processor for &lt;OBJECT&gt; and &lt;EMBED&gt; tags.</li> 
    215                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1831">#1831</a>] Fixed 
    216                         the issue where the placeholder icon for &lt;EMBED&gt; tags does not always show 
    217                         up in IE7.</li> 
    218                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2049">#2049</a>] Fixed 
    219                         a deleted cursor CSS attribute in the minified CSS inside fck_dialog_common.js.</li> 
    220                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1806">#1806</a>] In IE, 
    221                         the caret will not any more move to the previous line when selecting a Format style 
    222                         inside an empty paragraph.</li> 
    223                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1990">#1990</a>] In IE, 
    224                         dialogs using API calls which deals with the selection, like InsertHtml now can 
    225                         be sure the selection will be placed in the correct position.</li> 
    226                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1997">#1997</a>] With 
    227                         IE, the first character of table captions where being lost on table creation.</li> 
    228                 <li>The selection and cursor position was not being properly handled when creating some 
    229                         elements like forms and tables.</li> 
    230                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/662">#662</a>] In the 
    231                         Perl sample files, the GetServerPath function will now calculate the path properly.</li> 
    232         </ul> 
    233         <h3> 
    234                 Version 2.6 Beta 1</h3> 
    235         <p> 
    236                 New Features and Improvements:</p> 
    237         <ul> 
    238                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/35">#35</a>] <strong>New 
    239                         (and cool!) floating dialog system</strong>, avoiding problems with popup blockers 
    240                         and enhancing the editor usability.</li> 
    241                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1886">#1886</a>] <strong> 
    242                         Adobe AIR</strong> compatibility.</li> 
    243                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/123">#123</a>] Full support 
    244                         for <strong>document.domain</strong> with automatic domain detection.</li> 
    245                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1622">#1622</a>] New <strong> 
    246                         inline CSS cache</strong> feature, making it possible to avoid downloading the CSS 
    247                         files for the editing area and skins. For that, it is enough to set the EditorAreaCSS, 
    248                         SkinEditorCSS and SkinDialogCSS to string values in the format "/absolute/path/for/urls/|&lt;minified 
    249                         CSS styles". All internal CSS links are already using this feature. </li> 
    250                 <li>New language file for <strong>Canadian French</strong>.</li> 
    251         </ul> 
    252         <p> 
    253                 Fixed Bugs:</p> 
    254         <ul> 
    255                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1643">#1643</a>] Resolved 
    256                         several "strict warning" messages in Firefox when running FCKeditor.</li> 
    257                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1522">#1522</a>] The ENTER 
    258                         key will now work properly in IE with the cursor at the start of a formatted block.</li> 
    259                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1503">#1503</a>] It's 
    260                         possible to define in the Styles that a Style (with an empty class) must be shown 
    261                         selected only when no class is present in the current element, and selecting that 
    262                         item will clear the current class (it does apply to any attribute, not only classes).</li> 
    263                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/191">#191</a>] The scrollbars 
    264                         are now being properly shown in Firefox Mac when placing FCKeditor inside a hidden 
    265                         div.</li> 
    266                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/503">#503</a>] Orphaned 
    267                         &lt;li&gt; elements now get properly enclosed in a &lt;ul&gt; on output.</li> 
    268                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/309">#309</a>] The ENTER 
    269                         key will not any more break &lt;button&gt; elements at the beginning of paragraphs.</li> 
    270                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1654">#1654</a>] The editor 
    271                         was not loading on a specific unknown situation. The breaking point has been removed.</li> 
    272                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1707">#1707</a>] The editor 
    273                         no longer hangs when operating on documents imported from Microsoft Word.</li> 
    274                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1514">#1514</a>] Floating 
    275                         panels attached to a shared toolbar among multiple FCKeditor instances are no longer 
    276                         misplaced when the editing areas are absolutely or relatively positioned.</li> 
    277                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1715">#1715</a>] The ShowDropDialog 
    278                         is now enforced only when ForcePasteAsPlainText = true.</li> 
    279                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1336">#1336</a>] Sometimes 
    280                         the autogrow plugin didn't work properly in Firefox.</li> 
    281                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1728">#1728</a>] External 
    282                         toolbars are now properly sized in Opera.</li> 
    283                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1782">#1782</a>] Clicking 
    284                         on radio buttons or checkboxes in the editor in IE will no longer cause lockups 
    285                         in IE.</li> 
    286                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/805">#805</a>] The FCKConfig.Keystrokes 
    287                         commands where executed even if the command itself was disabled.</li> 
    288                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/982">#982</a>] The button 
    289                         to empty the box in the "Paste from Word" has been removed as it leads to confusion 
    290                         for some users.</li> 
    291                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1682">#1682</a>] Editing 
    292                         control elements in Firefox, Opera and Safari now works properly.</li> 
    293                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1613">#1613</a>] The editor 
    294                         was surrounded by a &lt;div&gt; element that wasn't really needed.</li> 
    295                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/676">#676</a>] If a form 
    296                         control was moved in IE after creating it, then it did lose its name.</li> 
    297                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/738">#738</a>] It wasn't 
    298                         possible to change the type of an existing button.</li> 
    299                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1854">#1854</a>] Indentation 
    300                         now works inside table cells.</li> 
    301                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1717">#1717</a>] The editor 
    302                         was entering on looping on some specific cases when dealing with invalid source 
    303                         markup.</li> 
    304                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1530">#1530</a>] Pasting 
    305                         text into the "Find what" fields in the Find and Replace dialog would now activate 
    306                         the find and replace buttons.</li> 
    307                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1828">#1828</a>] The Find/Replace 
    308                         dialog will no longer display wrong starting positions for the match when there 
    309                         are multiple and identical characters preceding the character at the real starting 
    310                         point of the match.</li> 
    311                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1878">#1878</a>] Fixed 
    312                         a JavaScript error which occurs in the Find/Replace dialog when the user presses 
    313                         "Find" or "Replace" after the "No match found" message has appeared.</li> 
    314                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1355">#1355</a>] Line 
    315                         breaks and spaces are now conserved when converting to and from the "Formatted" 
    316                         format.</li> 
    317                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1670">#1670</a>] Improved 
    318                         the background color behind smiley icons and special characters in their corresponding 
    319                         dialogs.</li> 
    320                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1693">#1693</a>] Custom 
    321                         error messages are now properly displayed in the file browser.</li> 
    322                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/970">#970</a>] The text 
    323                         and value fields in the selection box dialog will no longer extend beyond the dialog 
    324                         limits when the user inputs a very long text or value for one of the selection options.</li> 
    325                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/479">#479</a>] Fixed the 
    326                         issue where pressing Enter in an &lt;o:p&gt; tag in IE does not generate line breaks.</li> 
    327                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/481">#481</a>] Fixed the 
    328                         issue where the image preview in image dialog sometimes doesn't display after selecting 
    329                         the image from server browser.</li> 
    330                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1488">#1488</a>] PHP integration: 
    331                         the FCKeditor class is now more PHP5/6 friendly ("public" keyword is used instead 
    332                         of depreciated "var").</li> 
    333                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1815">#1815</a>] PHP integration: 
    334                         removed closing tag: "?&gt;", so no additional whitespace added when files are included.</li> 
    335                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1906">#1906</a>] PHP file 
    336                         browser: fixed problems with DetectHtml() function when open_basedir was set.</li> 
    337                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1871">#1871</a>] PHP file 
    338                         browser: permissions applied with the chmod command are now configurable.</li> 
    339                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1872">#1872</a>] Perl 
    340                         file browser: permissions applied with the chmod command are now configurable.</li> 
    341                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1873">#1873</a>] Python 
    342                         file browser: permissions applied with the chmod command are now configurable.</li> 
    343                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1572">#1572</a>] ColdFusion 
    344                         integration: fixed issues with setting the editor height.</li> 
    345                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1692">#1692</a>] ColdFusion 
    346                         file browser: it is possible now to define TempDirectory to avoid issues with GetTempdirectory() 
    347                         returning an empty string.</li> 
    348                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1379">#1379</a>] ColdFusion 
    349                         file browser: resolved issues with OnRequestEnd.cfm breaking the file browser.</li> 
    350                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1509">#1509</a>] InsertHtml() 
    351                         in IE will no longer turn the preceding normal whitespace into &amp;nbsp;.</li> 
    352                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/958">#958</a>] The AddItem 
    353                         method now has an additional fifth parameter "customData" that will be sent to the 
    354                         Execute method of the command for that menu item, allowing a single command to be 
    355                         used for different menu items..</li> 
    356                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1502">#1502</a>] The RemoveFormat 
    357                         command now also removes the attributes from the cleaned text. The list of attributes 
    358                         is configurable with FCKConfig.RemoveAttributes.</li> 
    359                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1596">#1596</a>] On Safari, 
    360                         dialogs have now right-to-left layout when it runs a RTL language, like Arabic.</li> 
    361                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1344">#1344</a>] Added 
    362                         warning message on Copy and Cut operation failure on IE due to paste permission 
    363                         settings.</li> 
    364                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1868">#1868</a>] Links 
    365                         to file browser has been changed to avoid requests containing double dots.</li> 
    366                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1229">#1229</a>] Converting 
    367                         multiple contiguous paragraphs to Formatted will now be merged into a single &lt;PRE&gt; 
    368                         block.</li> 
    369                 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1627">#1627</a>] Samples 
    370                         failed to load from local filesystem in IE7.</li> 
    371         </ul> 
    372         <p> 
    373                 <a href="_whatsnew_history.html">See previous versions history</a> 
    374         </p> 
     48                <a href="_whatsnew_history.html">See previous versions history</a></p> 
    37549</body> 
    37650</html> 
  • FCKeditor/branches/features/new_samples/_whatsnew_history.html

    r1565 r2123  
    3333        <h1> 
    3434                FCKeditor ChangeLog - What's New?</h1> 
     35        <h3> 
     36                Version 2.6.2</h3> 
     37        <p> 
     38                New Features and Improvements:</p> 
     39        <ul> 
     40                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2043">#2043</a>] The debug 
     41                        script is not any more part of the compressed files. If FCKeditor native debugging 
     42                        features (FCKDebug) are required, the _source folder must be present in your installation.</li> 
     43        </ul> 
     44        <p> 
     45                Fixed Bugs:</p> 
     46        <ul> 
     47                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2248">#2248</a>] Calling 
     48                        FCK.InsertHtml( 'nbsp;') was inserting a plain space instead of a non breaking space 
     49                        character.</li> 
     50                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2273">#2273</a>] The dragresizetable 
     51                        plugin now works in Firefox 3 as well.</li> 
     52                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2254">#2254</a>] Minor 
     53                        fix in FCKSelection for nodeTagName object.</li> 
     54                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1614">#1614</a>] Unified 
     55                        FCKConfig.FullBasePath with FCKConfig.BasePath.</li> 
     56                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2127">#2127</a>] Changed 
     57                        floating dialogs to use fixed positioning so that they are no longer affected by 
     58                        scrolling.</li> 
     59                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2018">#2018</a>] Reversed 
     60                        the fix for <a target="_blank" href="http://dev.fckeditor.net/ticket/183">#183</a> 
     61                        which broke FCKeditorAPI's cleanup logic. A new configuration directive <strong>MsWebBrowserControlCompat</strong> 
     62                        has been added for those who wish to force the #183 fix to be enabled.</li> 
     63                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2276">#2276</a>] [<a 
     64                        target="_blank" href="http://dev.fckeditor.net/ticket/2279">#2279</a>] On Opera 
     65                        and Firefox 3, the entire page was scrolling on ENTER.</li> 
     66                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2149">#2149</a>] CSS urls 
     67                        with querystring parameters were not being accepted for CSS values in the configuration 
     68                        file (like EditorAreaCSS).</li> 
     69                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2287">#2287</a>] On some 
     70                        specific cases, with Firefox 2, some extra spacing was appearing in the final HTML 
     71                        on posting, if inserting two successive tables.</li> 
     72                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2287">#2287</a>] Block 
     73                        elements (like tables or horizontal rules) will be inserted correctly now when the 
     74                        cursor is at the start or the end of blocks. No extra paragraphs will be included 
     75                        in this operation.</li> 
     76                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2149">#2197</a>] The TAB 
     77                        key will now have the default browser behavior if TabSpaces=0. It will move the 
     78                        focus out of the editor (expect on Safari).</li> 
     79                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2296">#2296</a>] Fixed 
     80                        permission denied error on clicking on files in the file browser.</li> 
     81        </ul> 
     82        <h3> 
     83                Version 2.6.1</h3> 
     84        <p> 
     85                New Features and Improvements:</p> 
     86        <ul> 
     87                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2150">#2150</a>] The searching 
     88                        speed of the Find/Replace dialog has been vastly improved.</li> 
     89                <li>New language file for <strong>Gujarati</strong> (by Nilam Doctor).</li> 
     90                <li>A new TabIndex property has been added to the JavaScript integration files.</li> 
     91                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2215">#2215</a>] Following 
     92                        the above new feature, the ReplaceTextarea method will now copy the textarea.tabIndex 
     93                        value if available.</li> 
     94                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2163">#2163</a>] If the 
     95                        FCKConfig.DocType setting points to a HTML DocType then the output won't generate 
     96                        self-closing tags (it will output &lt;img &gt; instead of &lt;img /&gt;).</li> 
     97                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2173">#2173</a>] A throbber 
     98                        will be shown in the Quick Uploads.</li> 
     99                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2142">#2142</a>] HTML 
     100                        samples will now use sampleposteddata.php in action parameter inside a form.</li> 
     101        </ul> 
     102        <p> 
     103                Fixed Bugs:</p> 
     104        <ul> 
     105                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/768">#768</a>] It is no 
     106                        longer possible for an image to have its width and height defined with both HTML 
     107                        attributes and inline CSS styles in IE.</li> 
     108                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1426">#1426</a>] Fixed 
     109                        the error loading fckstyles.xml in servers which cannot return the correct content 
     110                        type header for .xml files.</li> 
     111                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2102">#2102</a>] Fixed 
     112                        FCKConfig.DocType which stopped working in FCKeditor 2.6.</li> 
     113                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2039">#2039</a>] Fixed 
     114                        the locking up issue in the Find/Replace dialog.</li> 
     115                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2124">#2124</a>] PHP File 
     116                        Browser: fixed issue with resolving paths on Windows servers with PHP 5.2.4/5.2.5.</li> 
     117                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2059">#2059</a>] Fixed 
     118                        the error in the toolbar name in fckeditor.py.</li> 
     119                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2065">#2065</a>] Floating 
     120                        dialogs will now block the user from re-selecting the editing area by pressing Tab.</li> 
     121                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2114">#2114</a>] Added 
     122                        a workaround for an IE6 bug which causes floating dialogs to appear blank after 
     123                        opening it for the first time.</li> 
     124                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2136">#2136</a>] Fixed 
     125                        JavaScript error in IE when opening the bullet list properties dialog.</li> 
     126                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1633">#1633</a>] External 
     127                        styles should no longer interfere with the appearance of the editor and floating 
     128                        panels now.</li> 
     129                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2113">#2113</a>] Fixed 
     130                        unneeded &lt;span class=&quot;Apple-style-span&quot;&gt; created after inserting 
     131                        special characters.</li> 
     132                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2170">#2170</a>] Fixed 
     133                        Ctrl-Insert hotkey for copying.</li> 
     134                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2125">#2125</a>] Fixed 
     135                        the issue that FCK.InsertHtml() doesn't insert contents at the caret position when 
     136                        dialogs are opened in IE. </li> 
     137                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1764">#1764</a>] FCKeditor 
     138                        will no longer catch focus in IE on load when StartupFocus is false and the initial 
     139                        content is empty.</li> 
     140                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2126">#2126</a>] Opening 
     141                        and closing floating dialogs will no longer cause toolbar button states to become 
     142                        frozen.</li> 
     143                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2159">#2159</a>] Selection 
     144                        are now correctly restored when undoing changes made by the Replace dialog.</li> 
     145                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2160">#2160</a>] "Match 
     146                        whole word" in the Find and Replace dialog will now find words next to punctuation 
     147                        marks as well.</li> 
     148                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2162">#2162</a>] If the 
     149                        configuration is set to work including the &lt;head&gt; (FullPage), references to 
     150                        stylesheets added by Firefox extensions won't be added to the output.</li> 
     151                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2168">#2168</a>] Comments 
     152                        won't generate new paragraphs in the output.</li> 
     153                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2184">#2184</a>] Fixed 
     154                        several validation errors in the File Browser.</li> 
     155                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1383">#1383</a>] Fixed 
     156                        an IE issue where pressing backspace may merge a hyperlink on the previous line 
     157                        with the text on the current line.</li> 
     158                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1691">#1691</a>] Creation 
     159                        of links in Safari failed if there was no selection.</li> 
     160                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2188">#2188</a>] PreserveSessionOnFileBrowser 
     161                        is now removed as it was made obsolete with 2.6.</li> 
     162                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/898">#898</a>] The styles 
     163                        for the editing area are applied in the image preview dialog.</li> 
     164                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2056">#2056</a>] Fixed 
     165                        several validation errors in the dialogs.</li> 
     166                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2063">#2063</a>] Fixed 
     167                        some problems in asp related to the use of network paths for the location of the 
     168                        uploaded files.</li> 
     169                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1593">#1593</a>] The "Sample 
     170                        Posted Data" page will now properly wrap the text.</li> 
     171                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2239">#2239</a>] The PHP 
     172                        code in sampleposteddata.php has been changed from "&lt;?=" to "&lt;? echo".</li> 
     173                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2241">#2241</a>] Fixed 
     174                        404 error in floating panels when FCKeditor is installed to a different domain.</li> 
     175                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2066">#2066</a>] Added 
     176                        a workaround for a Mac Safari 3.1 browser bug which caused the Fit Window button 
     177                        to give a blank screen.</li> 
     178                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2218">#2218</a>] Improved 
     179                        Gecko based browser detection to accept Epiphany/Gecko as well.</li> 
     180                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2193">#2193</a>] Fixed 
     181                        the issue where the caret cannot reach the last character of a paragraph in Opera 
     182                        9.50.</li> 
     183                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2264">#2264</a>] Fixed 
     184                        empty spaces that appear at the top of the editor in Opera 9.50.</li> 
     185                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2238">#2238</a>] The &lt;object&gt; 
     186                        placeholder was not being properly displayed in the compressed distribution version 
     187                        and nightly builds.</li> 
     188                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2115">#2115</a>] Fixed 
     189                        JavaScript (permission denied) error in Firefox when file has been uploaded.</li> 
     190        </ul> 
     191        <h3> 
     192                Version 2.6</h3> 
     193        <p> 
     194                No changes. The stabilization of the 2.6 RC was completed successfully, as expected.</p> 
     195        <h3> 
     196                Version 2.6 RC</h3> 
     197        <p> 
     198                New Features and Improvements:</p> 
     199        <ul> 
     200                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2017">#2017</a>] The FCKeditorAPI.Instances 
     201                        object can now be used to access all FCKeditor instances available in the page.</li> 
     202                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1980">#1980</a>] <span 
     203                        style="color: #ff0000">Attention:</span> By default, the editor now produces &lt;strong&gt; 
     204                        and &lt;em&gt; instead of &lt;b&gt; and &lt;i&gt;.</li> 
     205        </ul> 
     206        <p> 
     207                Fixed Bugs:</p> 
     208        <ul> 
     209                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1924">#1924</a>] The dialog 
     210                        close button is now correctly positioned in IE in RTL languages.</li> 
     211                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1933">#1933</a>] Placeholder 
     212                        dialog will now display the placeholder value correctly in IE.</li> 
     213                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/957">#957</a>] Pressing 
     214                        Enter or typing after a placeholder with the placeholder plugin will no longer generate 
     215                        colored text.</li> 
     216                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1952">#1952</a>] Fixed 
     217                        an issue in FCKTools.FixCssUrls that, other than wrong, was breaking Opera.</li> 
     218                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1695">#1695</a>] Removed 
     219                        Ctrl-Tab hotkey for Source mode and allowed Ctrl-T to work in Firefox.</li> 
     220                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1666">#1666</a>] Fixed 
     221                        permission denied errors during opening popup menus in IE6 under domain relaxation 
     222                        mode.</li> 
     223                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1934">#1934</a>] Fixed 
     224                        JavaScript errors when calling Selection.EnsureSelection() in dialogs.</li> 
     225                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1920">#1920</a>] Fixed 
     226                        SSL warning message when opening image and flash dialogs under HTTPS in IE6.</li> 
     227                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1955">#1955</a>] [<a 
     228                        target="_blank" href="http://dev.fckeditor.net/ticket/1981">#1981</a>] [<a target="_blank" 
     229                                href="http://dev.fckeditor.net/ticket/1985">#1985</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/1989">#1989</a>] 
     230                        Fixed XHTML source formatting errors in non-IE browsers.</li> 
     231                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2000">#2000</a>] The # 
     232                        character is now properly encoded in file names returned by the File Browser.</li> 
     233                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1945">#1945</a>] New folders 
     234                        and file names are now properly sanitized against control characters. </li> 
     235                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1944">#1944</a>] Backslash 
     236                        character is now disallowed in current folder path.</li> 
     237                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1055">#1055</a>] Added 
     238                        logic to override JavaScript errors occurring inside the editing frame due to user 
     239                        added JavaScript code.</li> 
     240                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1647">#1647</a>] Hitting 
     241                        ENTER on list items containing block elements will now create new list item elements, 
     242                        instead of adding further blocks to the same list item.</li> 
     243                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1411">#1411</a>] Label 
     244                        only combos now get properly grayed out when moving to source view.</li> 
     245                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2009">#2009</a>] Fixed 
     246                        an important bug regarding styles removal on styled text boundaries, introduced 
     247                        with the 2.6 Beta 1. </li> 
     248                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2011">#2011</a>] Internal 
     249                        CSS &lt;style&gt; tags where being outputted when FullPage=true.</li> 
     250                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2016">#2016</a>] The Link 
     251                        dialog now properly selects the first field when opening it to modify mailto or 
     252                        anchor links. This problem was also throwing an error in IE.</li> 
     253                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2021">#2021</a>] The caret 
     254                        will no longer remain behind in the editing area when the placeholder dialog is 
     255                        opened.</li> 
     256                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2024">#2024</a>] Fixed 
     257                        JavaScript error in IE when the user tries to open dialogs in Source mode.</li> 
     258                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1853">#1853</a>] Setting 
     259                        ShiftEnterMode to p or div now works correctly when EnterMode is br.</li> 
     260                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1838">#1838</a>] Fixed 
     261                        the issue where context menus sometimes don't disappear after selecting an option. 
     262                </li> 
     263                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2028">#2028</a>] Fixed 
     264                        JavaScript error when EnterMode=br and user tries to insert a page break.</li> 
     265                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2002">#2002</a>] Fixed 
     266                        the issue where the maximize editor button does not vertically expand the editing 
     267                        area in Firefox.</li> 
     268                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1842">#1842</a>] PHP integration: 
     269                        fixed filename encoding problems in file browser.</li> 
     270                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1832">#1832</a>] Calling 
     271                        FCK.InsertHtml() in non-IE browsers would now activate the document processor as 
     272                        expected.</li> 
     273                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1998">#1998</a>] The native 
     274                        XMLHttpRequest class is now used in IE, whenever it is available.</li> 
     275                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1792">#1792</a>] In IE, 
     276                        the browser was able to enter in an infinite loop when working with multiple editors 
     277                        in the same page. </li> 
     278                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1948">#1948</a>] Some 
     279                        CSS rules are reset to dialog elements to avoid conflict with the page CSS.</li> 
     280                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1965">#1965</a>] IE was 
     281                        having problems with SpellerPages, causing some errors to be thrown when completing 
     282                        the spell checking in some situations.</li> 
     283                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2042">#2042</a>] The FitWindow 
     284                        command was throwing an error if executed in an editor where its relative button 
     285                        is not present in the toolbar.</li> 
     286                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/922">#922</a>] Implemented 
     287                        a generic document processor for &lt;OBJECT&gt; and &lt;EMBED&gt; tags.</li> 
     288                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1831">#1831</a>] Fixed 
     289                        the issue where the placeholder icon for &lt;EMBED&gt; tags does not always show 
     290                        up in IE7.</li> 
     291                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2049">#2049</a>] Fixed 
     292                        a deleted cursor CSS attribute in the minified CSS inside fck_dialog_common.js.</li> 
     293                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1806">#1806</a>] In IE, 
     294                        the caret will not any more move to the previous line when selecting a Format style 
     295                        inside an empty paragraph.</li> 
     296                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1990">#1990</a>] In IE, 
     297                        dialogs using API calls which deals with the selection, like InsertHtml now can 
     298                        be sure the selection will be placed in the correct position.</li> 
     299                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1997">#1997</a>] With 
     300                        IE, the first character of table captions where being lost on table creation.</li> 
     301                <li>The selection and cursor position was not being properly handled when creating some 
     302                        elements like forms and tables.</li> 
     303                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/662">#662</a>] In the 
     304                        Perl sample files, the GetServerPath function will now calculate the path properly.</li> 
     305                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2208">#2208</a>] Added 
     306                        missing translations in Italian language file.</li> 
     307                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2096">#2096</a>] Added 
     308                        the codepage to basexml file. Filenames with special chars should now display properly.</li> 
     309        </ul> 
     310        <h3> 
     311                Version 2.6 Beta 1</h3> 
     312        <p> 
     313                New Features and Improvements:</p> 
     314        <ul> 
     315                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/35">#35</a>] <strong>New 
     316                        (and cool!) floating dialog system</strong>, avoiding problems with popup blockers 
     317                        and enhancing the editor usability.</li> 
     318                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1886">#1886</a>] <strong> 
     319                        Adobe AIR</strong> compatibility.</li> 
     320                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/123">#123</a>] Full support 
     321                        for <strong>document.domain</strong> with automatic domain detection.</li> 
     322                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1622">#1622</a>] New <strong> 
     323                        inline CSS cache</strong> feature, making it possible to avoid downloading the CSS 
     324                        files for the editing area and skins. For that, it is enough to set the EditorAreaCSS, 
     325                        SkinEditorCSS and SkinDialogCSS to string values in the format "/absolute/path/for/urls/|&lt;minified 
     326                        CSS styles". All internal CSS links are already using this feature. </li> 
     327                <li>New language file for <strong>Canadian French</strong>.</li> 
     328        </ul> 
     329        <p> 
     330                Fixed Bugs:</p> 
     331        <ul> 
     332                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1643">#1643</a>] Resolved 
     333                        several "strict warning" messages in Firefox when running FCKeditor.</li> 
     334                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1522">#1522</a>] The ENTER 
     335                        key will now work properly in IE with the cursor at the start of a formatted block.</li> 
     336                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1503">#1503</a>] It's 
     337                        possible to define in the Styles that a Style (with an empty class) must be shown 
     338                        selected only when no class is present in the current element, and selecting that 
     339                        item will clear the current class (it does apply to any attribute, not only classes).</li> 
     340                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/191">#191</a>] The scrollbars 
     341                        are now being properly shown in Firefox Mac when placing FCKeditor inside a hidden 
     342                        div.</li> 
     343                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/503">#503</a>] Orphaned 
     344                        &lt;li&gt; elements now get properly enclosed in a &lt;ul&gt; on output.</li> 
     345                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/309">#309</a>] The ENTER 
     346                        key will not any more break &lt;button&gt; elements at the beginning of paragraphs.</li> 
     347                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1654">#1654</a>] The editor 
     348                        was not loading on a specific unknown situation. The breaking point has been removed.</li> 
     349                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1707">#1707</a>] The editor 
     350                        no longer hangs when operating on documents imported from Microsoft Word.</li> 
     351                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1514">#1514</a>] Floating 
     352                        panels attached to a shared toolbar among multiple FCKeditor instances are no longer 
     353                        misplaced when the editing areas are absolutely or relatively positioned.</li> 
     354                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1715">#1715</a>] The ShowDropDialog 
     355                        is now enforced only when ForcePasteAsPlainText = true.</li> 
     356                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1336">#1336</a>] Sometimes 
     357                        the autogrow plugin didn't work properly in Firefox.</li> 
     358                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1728">#1728</a>] External 
     359                        toolbars are now properly sized in Opera.</li> 
     360                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1782">#1782</a>] Clicking 
     361                        on radio buttons or checkboxes in the editor in IE will no longer cause lockups 
     362                        in IE.</li> 
     363                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/805">#805</a>] The FCKConfig.Keystrokes 
     364                        commands where executed even if the command itself was disabled.</li> 
     365                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/982">#982</a>] The button 
     366                        to empty the box in the "Paste from Word" has been removed as it leads to confusion 
     367                        for some users.</li> 
     368                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1682">#1682</a>] Editing 
     369                        control elements in Firefox, Opera and Safari now works properly.</li> 
     370                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1613">#1613</a>] The editor 
     371                        was surrounded by a &lt;div&gt; element that wasn't really needed.</li> 
     372                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/676">#676</a>] If a form 
     373                        control was moved in IE after creating it, then it did lose its name.</li> 
     374                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/738">#738</a>] It wasn't 
     375                        possible to change the type of an existing button.</li> 
     376                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1854">#1854</a>] Indentation 
     377                        now works inside table cells.</li> 
     378                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1717">#1717</a>] The editor 
     379                        was entering on looping on some specific cases when dealing with invalid source 
     380                        markup.</li> 
     381                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1530">#1530</a>] Pasting 
     382                        text into the "Find what" fields in the Find and Replace dialog would now activate 
     383                        the find and replace buttons.</li> 
     384                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1828">#1828</a>] The Find/Replace 
     385                        dialog will no longer display wrong starting positions for the match when there 
     386                        are multiple and identical characters preceding the character at the real starting 
     387                        point of the match.</li> 
     388                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1878">#1878</a>] Fixed 
     389                        a JavaScript error which occurs in the Find/Replace dialog when the user presses 
     390                        "Find" or "Replace" after the "No match found" message has appeared.</li> 
     391                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1355">#1355</a>] Line 
     392                        breaks and spaces are now conserved when converting to and from the "Formatted" 
     393                        format.</li> 
     394                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1670">#1670</a>] Improved 
     395                        the background color behind smiley icons and special characters in their corresponding 
     396                        dialogs.</li> 
     397                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1693">#1693</a>] Custom 
     398                        error messages are now properly displayed in the file browser.</li> 
     399                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/970">#970</a>] The text 
     400                        and value fields in the selection box dialog will no longer extend beyond the dialog 
     401                        limits when the user inputs a very long text or value for one of the selection options.</li> 
     402                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/479">#479</a>] Fixed the 
     403                        issue where pressing Enter in an &lt;o:p&gt; tag in IE does not generate line breaks.</li> 
     404                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/481">#481</a>] Fixed the 
     405                        issue where the image preview in image dialog sometimes doesn't display after selecting 
     406                        the image from server browser.</li> 
     407                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1488">#1488</a>] PHP integration: 
     408                        the FCKeditor class is now more PHP5/6 friendly ("public" keyword is used instead 
     409                        of depreciated "var").</li> 
     410                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1815">#1815</a>] PHP integration: 
     411                        removed closing tag: "?&gt;", so no additional whitespace added when files are included.</li> 
     412                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1906">#1906</a>] PHP file 
     413                        browser: fixed problems with DetectHtml() function when open_basedir was set.</li> 
     414                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1871">#1871</a>] PHP file 
     415                        browser: permissions applied with the chmod command are now configurable.</li> 
     416                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1872">#1872</a>] Perl 
     417                        file browser: permissions applied with the chmod command are now configurable.</li> 
     418                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1873">#1873</a>] Python 
     419                        file browser: permissions applied with the chmod command are now configurable.</li> 
     420                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1572">#1572</a>] ColdFusion 
     421                        integration: fixed issues with setting the editor height.</li> 
     422                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1692">#1692</a>] ColdFusion 
     423                        file browser: it is possible now to define TempDirectory to avoid issues with GetTempdirectory() 
     424                        returning an empty string.</li> 
     425                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1379">#1379</a>] ColdFusion 
     426                        file browser: resolved issues with OnRequestEnd.cfm breaking the file browser.</li> 
     427                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1509">#1509</a>] InsertHtml() 
     428                        in IE will no longer turn the preceding normal whitespace into &amp;nbsp;.</li> 
     429                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/958">#958</a>] The AddItem 
     430                        method now has an additional fifth parameter "customData" that will be sent to the 
     431                        Execute method of the command for that menu item, allowing a single command to be 
     432                        used for different menu items..</li> 
     433                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1502">#1502</a>] The RemoveFormat 
     434                        command now also removes the attributes from the cleaned text. The list of attributes 
     435                        is configurable with FCKConfig.RemoveAttributes.</li> 
     436                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1596">#1596</a>] On Safari, 
     437                        dialogs have now right-to-left layout when it runs a RTL language, like Arabic.</li> 
     438                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1344">#1344</a>] Added 
     439                        warning message on Copy and Cut operation failure on IE due to paste permission 
     440                        settings.</li> 
     441                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1868">#1868</a>] Links 
     442                        to file browser has been changed to avoid requests containing double dots.</li> 
     443                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1229">#1229</a>] Converting 
     444                        multiple contiguous paragraphs to Formatted will now be merged into a single &lt;PRE&gt; 
     445                        block.</li> 
     446                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1627">#1627</a>] Samples 
     447                        failed to load from local filesystem in IE7.</li> 
     448        </ul> 
    35449        <h3> 
    36450                Version 2.5.1</h3> 
  • FCKeditor/branches/features/new_samples/editor/_source/classes/fckdomrange.js

    r1928 r2123  
    869869                FCKDomTools.TrimNode( oFixedBlock ) ; 
    870870 
     871                // If the fixed block is empty (not counting bookmark nodes) 
     872                // Add a <br /> inside to expand it. 
     873                if ( FCKDomTools.CheckIsEmptyElement(oFixedBlock, function( element ) { return element.getAttribute('_fck_bookmark') != 'true' ; } ) 
     874                                && FCKBrowserInfo.IsGeckoLike ) 
     875                                FCKTools.AppendBogusBr( oFixedBlock ) ; 
     876 
    871877                // Insert the fixed block into the DOM. 
    872878                this.InsertNode( oFixedBlock ) ; 
  • FCKeditor/branches/features/new_samples/editor/_source/classes/fckeditingarea.js

    r1950 r2123  
    248248                        { 
    249249                                oDoc.body.innerHTML = this._BodyHTML ; 
     250                                oDoc.body.offsetLeft ;          // Don't remove, this is a hack to fix Opera 9.50, see #2264. 
    250251                                this._BodyHTML = null ; 
    251252                        } 
  • FCKeditor/branches/features/new_samples/editor/_source/classes/fckenterkey.js

    r1996 r2123  
    4444                [ 13            , 'Enter' ], 
    4545                [ SHIFT + 13, 'ShiftEnter' ], 
    46                 [ 9             , 'Tab' ], 
    4746                [ 8                     , 'Backspace' ], 
    48                 [ CTRL + 8              , 'CtrlBackspace' ], 
     47                [ CTRL + 8      , 'CtrlBackspace' ], 
    4948                [ 46            , 'Delete' ] 
    5049        ] ) ; 
    5150 
    52         if ( tabSpaces > 0 ) 
    53         { 
    54                 this.TabText = '' ; 
    55                 while ( tabSpaces-- > 0 ) 
     51        this.TabText = '' ; 
     52 
     53        // Safari by default inserts 4 spaces on TAB, while others make the editor 
     54        // loose focus. So, we need to handle it here to not include those spaces. 
     55        if ( tabSpaces > 0 || FCKBrowserInfo.IsSafari ) 
     56        { 
     57                while ( tabSpaces-- ) 
    5658                        this.TabText += '\xa0' ; 
     59 
     60                oKeystrokeHandler.SetKeystrokes( [ 9, 'Tab' ] ); 
    5761        } 
    5862 
     
    532536                } 
    533537 
    534                 if ( FCKBrowserInfo.IsSafari ) 
     538                if ( FCKBrowserInfo.IsGeckoLike ) 
    535539                        FCKDomTools.ScrollIntoView( eNextBlock || eNewBlock, false ) ; 
    536                 else if ( FCKBrowserInfo.IsGeckoLike ) 
    537                         ( eNextBlock || eNewBlock ).scrollIntoView( false ) ; 
    538540 
    539541                oRange.Select() ; 
  • FCKeditor/branches/features/new_samples/editor/_source/classes/fckiecleanup.js

    r1565 r2123  
    4444function FCKIECleanup_Cleanup() 
    4545{ 
    46         if ( !this._FCKCleanupObj || !window.FCKUnloadFlag ) 
     46        if ( !this._FCKCleanupObj || ( FCKConfig.MsWebBrowserControlCompat && !window.FCKUnloadFlag ) ) 
    4747                return ; 
    4848 
  • FCKeditor/branches/features/new_samples/editor/_source/commandclasses/fckfitwindow.js

    r1565 r2123  
    8484 
    8585                eEditorFrameStyle.position      = "absolute"; 
     86                eEditorFrame.offsetLeft ;               // Kludge for Safari 3.1 browser bug, do not remove. See #2066. 
    8687                eEditorFrameStyle.zIndex        = FCKConfig.FloatingPanelsZIndex - 1; 
    8788                eEditorFrameStyle.left          = "0px"; 
  • FCKeditor/branches/features/new_samples/editor/_source/fckeditorapi.js

    r1805 r2123  
    165165function FCKeditorAPI_Cleanup() 
    166166{ 
    167         if ( ! window.FCKUnloadFlag ) 
     167        if ( window.FCKConfig && FCKConfig.MsWebBrowserControlCompat 
     168                        && !window.FCKUnloadFlag ) 
    168169                return ; 
    169170        delete FCKeditorAPI.Instances[ FCK.Name ] ; 
     
    171172function FCKeditorAPI_ConfirmCleanup() 
    172173{ 
    173         window.FCKUnloadFlag = true ; 
     174        if ( window.FCKConfig && FCKConfig.MsWebBrowserControlCompat ) 
     175                window.FCKUnloadFlag = true ; 
    174176} 
    175177FCKTools.AddEventListener( window, 'unload', FCKeditorAPI_Cleanup ) ; 
  • FCKeditor/branches/features/new_samples/editor/_source/internals/fck.js

    r1984 r2123  
    674674                var range = new FCKDomRange( this.EditorWindow ) ; 
    675675 
     676                // Move to the selection and delete it. 
     677                range.MoveToSelection() ; 
     678                range.DeleteContents() ; 
     679 
    676680                if ( FCKListsLib.BlockElements[ elementName ] != null ) 
    677681                { 
    678                         range.SplitBlock() ; 
     682                        if ( range.StartBlock ) 
     683                        { 
     684                                if ( range.CheckStartOfBlock() ) 
     685                                        range.MoveToPosition( range.StartBlock, 3 ) ; 
     686                                else if ( range.CheckEndOfBlock() ) 
     687                                        range.MoveToPosition( range.StartBlock, 4 ) ; 
     688                                else 
     689                                        range.SplitBlock() ; 
     690                        } 
     691 
    679692                        range.InsertNode( element ) ; 
    680693 
     
    706719                else 
    707720                { 
    708                         // Delete the current selection and insert the node. 
    709                         range.MoveToSelection() ; 
    710                         range.DeleteContents() ; 
     721                        // Insert the node. 
    711722                        range.InsertNode( element ) ; 
    712723 
  • FCKeditor/branches/features/new_samples/editor/_source/internals/fck_gecko.js

    r1997 r2123  
    105105                        // only perform the patched behavior if we're in an <a> tag, or the End key is pressed. 
    106106                        var parentTag = node.parentNode.tagName.toLowerCase() ; 
    107                         if ( ! (  parentTag == 'a' || String(node.parentNode.contentEditable) == 'false' || 
     107                        if ( ! (  parentTag == 'a' || ( !FCKBrowserInfo.IsOpera && String(node.parentNode.contentEditable) == 'false' ) || 
    108108                                        ( ! ( FCKListsLib.BlockElements[parentTag] || FCKListsLib.NonEmptyBlockElements[parentTag] ) 
    109109                                          && keyCode == 35 ) ) ) 
     
    350350FCK.InsertHtml = function( html ) 
    351351{ 
     352        var doc = FCK.EditorDocument ; 
     353 
    352354        html = FCKConfig.ProtectedSource.Protect( html ) ; 
    353355        html = FCK.ProtectEvents( html ) ; 
     
    358360        FCKUndo.SaveUndoStep() ; 
    359361 
     362        if ( FCKBrowserInfo.IsGecko ) 
     363        { 
     364                // Using the following trick, &nbsp; present at the beginning and at 
     365                // the end of the HTML are preserved (#2248). 
     366                html = '<span id="__fakeFCKRemove1__" style="display:none;">fakeFCKRemove</span>' + html + '<span id="__fakeFCKRemove2__" style="display:none;">fakeFCKRemove</span>' ; 
     367        } 
     368 
    360369        // Insert the HTML code. 
    361         this.EditorDocument.execCommand( 'inserthtml', false, html ) ; 
     370        doc.execCommand( 'inserthtml', false, html ) ; 
     371 
     372        if ( FCKBrowserInfo.IsGecko ) 
     373        { 
     374                // Remove the fake nodes. 
     375                FCKDomTools.RemoveNode( doc.getElementById('__fakeFCKRemove1__') ) ; 
     376                FCKDomTools.RemoveNode( doc.getElementById('__fakeFCKRemove2__') ) ; 
     377        } 
     378 
    362379        this.Focus() ; 
    363380 
     
    367384        var bookmark = range.CreateBookmark() ; 
    368385 
    369         FCKDocumentProcessor.Process( FCK.EditorDocument ) ; 
     386        FCKDocumentProcessor.Process( doc ) ; 
    370387 
    371388        // Restore caret position, ignore any errors in case the document 
  • FCKeditor/branches/features/new_samples/editor/_source/internals/fck_ie.js

    r1963 r2123  
    3030        if ( !FCK._BehaviorsStyle ) 
    3131        { 
    32                 var sBasePath = FCKConfig.FullBasePath ; 
     32                var sBasePath = FCKConfig.BasePath ; 
    3333                var sTableBehavior = '' ; 
    3434                var sStyle ; 
    3535 
    36                 // The behaviors should be pointed using the FullBasePath to avoid security 
     36                // The behaviors should be pointed using the BasePath to avoid security 
    3737                // errors when using a different BaseHref. 
    3838                sStyle = '<style type="text/css" _fcktemp="true">' ; 
  • FCKeditor/branches/features/new_samples/editor/_source/internals/fckbrowserinfo.js

    r1629 r2123  
    2929        IsIE7           : /*@cc_on!@*/false && ( parseInt( s.match( /msie (\d+)/ )[1], 10 ) >= 7 ), 
    3030        IsIE6           : /*@cc_on!@*/false && ( parseInt( s.match( /msie (\d+)/ )[1], 10 ) >= 6 ), 
    31         IsGecko         : s.Contains('gecko/'), 
    3231        IsSafari        : s.Contains(' applewebkit/'),          // Read "IsWebKit" 
    3332        IsOpera         : !!window.opera, 
     
    3938(function( browserInfo ) 
    4039{ 
     40        browserInfo.IsGecko = ( navigator.product == 'Gecko' ) && !browserInfo.IsSafari && !browserInfo.IsOpera ; 
    4141        browserInfo.IsGeckoLike = ( browserInfo.IsGecko || browserInfo.IsSafari || browserInfo.IsOpera ) ; 
    4242 
    4343        if ( browserInfo.IsGecko ) 
    4444        { 
    45                 var geckoVersion = s.match( /gecko\/(\d+)/ )[1] ; 
     45                var geckoMatch = s.match( /rv:(\d+\.\d+)/ ) ; 
     46                var geckoVersion = geckoMatch && parseFloat( geckoMatch[1] ) ; 
    4647 
    4748                // Actually "10" refers to Gecko versions before Firefox 1.5, when 
     
    5253                // be 1.7 (we are assuming that rv < 1.7 will not have build > 20051111). 
    5354 
    54                 // TODO: Future versions may consider the rv number only, but it is 
    55                 // still to check that all Gecko based browser present the rv number. 
    56                 browserInfo.IsGecko10 = ( ( geckoVersion < 20051111 ) || ( /rv:1\.7/.test(s) ) ) ; 
    57                 browserInfo.IsGecko19 = /rv:1\.9/.test(s) ; 
     55                if ( geckoVersion ) 
     56                { 
     57                        browserInfo.IsGecko10 = ( geckoVersion < 1.8 ) ; 
     58                        browserInfo.IsGecko19 = ( geckoVersion > 1.8 ) ; 
     59                } 
    5860        } 
    59         else 
    60                 browserInfo.IsGecko10 = false ; 
    6161})(FCKBrowserInfo) ; 
  • FCKeditor/branches/features/new_samples/editor/_source/internals/fckconfig.js

    r1790 r2123  
    4343 
    4444        FCKConfig.BasePath = sFullProtocol + FCKConfig.BasePath.substring( 0, FCKConfig.BasePath.lastIndexOf( '/' ) + 1) ; 
    45         FCKConfig.FullBasePath = FCKConfig.BasePath ; 
    4645} 
    4746else 
    48 { 
    49         FCKConfig.BasePath = document.location.pathname.substring( 0, document.location.pathname.lastIndexOf( '/' ) + 1) ; 
    50         FCKConfig.FullBasePath = document.location.protocol + '//' + document.location.host + FCKConfig.BasePath ; 
    51 } 
     47        FCKConfig.BasePath = document.location.protocol + '//' + document.location.host + 
     48                document.location.pathname.substring( 0, document.location.pathname.lastIndexOf( '/' ) + 1) ; 
     49 
     50FCKConfig.FullBasePath = FCKConfig.BasePath ; 
    5251 
    5352FCKConfig.EditorPath = FCKConfig.BasePath.replace( /editor\/$/, '' ) ; 
  • FCKeditor/branches/features/new_samples/editor/_source/internals/fckdebug.js

    r1565 r2123  
    2222 */ 
    2323 
    24 var FCKDebug = new Object() ; 
     24// Public function defined here must be declared in fckdebug_empty.js. 
    2525 
    26 FCKDebug._GetWindow = function() 
     26var FCKDebug = 
    2727{ 
    28         if ( !this.DebugWindow || this.DebugWindow.closed ) 
    29                 this.DebugWindow = window.open( FCKConfig.BasePath + 'fckdebug.html', 'FCKeditorDebug', 'menubar=no,scrollbars=yes,resizable=yes,location=no,toolbar=no,width=600,height=500', true ) ; 
     28        Output : function( message, color, noParse ) 
     29        { 
     30                if ( ! FCKConfig.Debug ) 
     31                        return ; 
    3032 
    31         return this.DebugWindow ; 
    32 } 
     33                try 
     34                { 
     35                        this._GetWindow().Output( message, color ) ; 
     36                } 
     37                catch ( e ) {}   // Ignore errors 
     38        }, 
    3339 
    34 FCKDebug.Output = function( message, color, noParse ) 
    35 { 
    36         if ( ! FCKConfig.Debug ) 
    37                 return ; 
     40        OutputObject : function( anyObject, color ) 
     41        { 
     42                if ( ! FCKConfig.Debug ) 
     43                        return ; 
    3844 
    39         try 
     45                try 
     46                { 
     47                        this._GetWindow().OutputObject( anyObject, color ) ; 
     48                } 
     49                catch ( e ) {}   // Ignore errors 
     50        }, 
     51 
     52        _GetWindow : function() 
    4053        { 
    41                 this._GetWindow().Output( message, color ) ; 
     54                if ( !this.DebugWindow || this.DebugWindow.closed ) 
     55                        this.DebugWindow = window.open( FCKConfig.BasePath + 'fckdebug.html', 'FCKeditorDebug', 'menubar=no,scrollbars=yes,resizable=yes,location=no,toolbar=no,width=600,height=500', true ) ; 
     56 
     57                return this.DebugWindow ; 
    4258        } 
    43         catch ( e ) {}   // Ignore errors 
    44 } 
    45  
    46 FCKDebug.OutputObject = function( anyObject, color ) 
    47 { 
    48         if ( ! FCKConfig.Debug ) 
    49                 return ; 
    50  
    51         try 
    52         { 
    53                 this._GetWindow().OutputObject( anyObject, color ) ; 
    54         } 
    55         catch ( e ) {}   // Ignore errors 
    56 } 
     59} ; 
  • FCKeditor/branches/features/new_samples/editor/_source/internals/fckdialog.js

    r2030 r2123  
    9999                        // Calculate the dialog position, centering it on the screen. 
    100100                        var viewSize = FCKTools.GetViewPaneSize( topWindow ) ; 
    101                         var scrollPosition = FCKTools.GetScrollPosition( topWindow ) ; 
     101                        var scrollPosition = { 'X' : 0, 'Y' : 0 } ; 
     102                        var useAbsolutePosition = FCKBrowserInfo.IsIE && ( !FCKBrowserInfo.IsIE7 || !FCKTools.IsStrictMode( topWindow.document ) ) ; 
     103                        if ( useAbsolutePosition ) 
     104                                scrollPosition = FCKTools.GetScrollPosition( topWindow ) ; 
    102105                        var iTop  = Math.max( scrollPosition.Y + ( viewSize.Height - height - 20 ) / 2, 0 ) ; 
    103106                        var iLeft = Math.max( scrollPosition.X + ( viewSize.Width - width - 20 )  / 2, 0 ) ; 
     
    115118                        FCKDomTools.SetElementStyles( dialog, 
    116119                                        { 
    117                                                 'position'      : 'absolute', 
     120                                                'position'      : ( useAbsolutePosition ) ? 'absolute' : 'fixed', 
    118121                                                'top'           : iTop + 'px', 
    119122                                                'left'          : iLeft + 'px', 
  • FCKeditor/branches/features/new_samples/editor/_source/internals/fckdocumentprocessor.js

    r2030 r2123  
    4646        var oImg = FCKTools.GetElementDocument( realElement ).createElement( 'IMG' ) ; 
    4747        oImg.className = fakeClass ; 
    48         oImg.src = FCKConfig.FullBasePath + 'images/spacer.gif' ; 
     48        oImg.src = FCKConfig.BasePath + 'images/spacer.gif' ; 
    4949        oImg.setAttribute( '_fckfakelement', 'true', 0 ) ; 
    5050        oImg.setAttribute( '_fckrealelement', FCKTempBin.AddElement( realElement ), 0 ) ; 
  • FCKeditor/branches/features/new_samples/editor/_source/internals/fckdomtools.js

    r1803 r2123  
    973973 
    974974        /** 
    975          * Current implementation for ScrollIntoView (due to #1462). We don't have 
    976          * a complete implementation here, just the things that fit our needs. 
     975         * Current implementation for ScrollIntoView (due to #1462 and #2279). We 
     976         * don't have a complete implementation here, just the things that fit our 
     977         * needs. 
    977978         */ 
    978979        ScrollIntoView : function( element, alignTop ) 
  • FCKeditor/branches/features/new_samples/editor/_source/internals/fckselection_gecko.js

    r1795 r2123  
    163163        while ( oContainer ) 
    164164        { 
    165                 if ( oContainer.nodeType == 1 && oContainer.tagName == nodeTagName ) return true ; 
     165                if ( oContainer.nodeType == 1 && oContainer.nodeName.IEquals( nodeTagName ) ) return true ; 
    166166                oContainer = oContainer.parentNode ; 
    167167        } 
     
    181181        while ( oContainer ) 
    182182        { 
    183                 if ( oContainer.nodeName == nodeTagName ) 
     183                if ( oContainer.nodeName.IEquals( nodeTagName ) ) 
    184184                        return oContainer ; 
    185185 
  • FCKeditor/branches/features/new_samples/editor/_source/internals/fckselection_ie.js

    r1971 r2123  
    148148        while ( oContainer ) 
    149149        { 
    150                 if ( oContainer.tagName == nodeTagName ) return true ; 
     150                if ( oContainer.nodeName.IEquals( nodeTagName ) ) return true ; 
    151151                oContainer = oContainer.parentNode ; 
    152152        } 
  • FCKeditor/branches/features/new_samples/editor/_source/internals/fcktools.js

    r1950 r2123  
    8282        { 
    8383                // Test if the passed argument is an URL. 
    84                 if ( /[\\\/\.]\w*$/.test( cssFileOrArrayOrDef ) ) 
     84                if ( /[\\\/\.][^{}]*$/.test( cssFileOrArrayOrDef ) ) 
    8585                { 
    8686                        // The string may have several URLs separated by comma. 
     
    127127                { 
    128128                        // Test if the passed argument is an URL. 
    129                         if ( /[\\\/\.]\w*$/.test( cssFileOrArrayOrDef ) ) 
     129                        if ( /[\\\/\.][^{}]*$/.test( cssFileOrArrayOrDef ) ) 
    130130                        { 
    131131                                // The string may have several URLs separated by comma. 
  • FCKeditor/branches/features/new_samples/editor/dialog/common/fck_dialog_common.js

    r2019 r2123  
    6060        return ( prefix || '' ) + 'common/fck_dialog_common.css' ;      // @Packager.RemoveLine 
    6161        /* @Packager.RemoveLine 
    62         // CSS minified by http://iceyboard.no-ip.org/projects/css_compressor 
     62        // CSS minified by http://iceyboard.no-ip.org/projects/css_compressor (see _dev/css_compression.txt). 
    6363        return FCKConfig.BasePath + 'dialog/common/' + '|.ImagePreviewArea{border:#000 1px solid;overflow:auto;width:100%;height:170px;background-color:#fff}.FlashPreviewArea{border:#000 1px solid;padding:5px;overflow:auto;width:100%;height:170px;background-color:#fff}.BtnReset{float:left;background-position:center center;background-image:url(images/reset.gif);width:16px;height:16px;background-repeat:no-repeat;border:1px none;font-size:1px}.BtnLocked,.BtnUnlocked{float:left;background-position:center center;background-image:url(images/locked.gif);width:16px;height:16px;background-repeat:no-repeat;border:none 1px;font-size:1px}.BtnUnlocked{background-image:url(images/unlocked.gif)}.BtnOver{border:outset 1px;cursor:pointer;cursor:hand}' ; 
    6464        @Packager.RemoveLine */ 
  • FCKeditor/branches/features/new_samples/editor/dialog/fck_replace.html

    r2030 r2123  
    6060GetNextNonEmptyTextNode = function( node, stopNode ) 
    6161{ 
    62         var node ; 
    63         while ( ( node = FCKDomTools.GetNextSourceNode( node, false, 3, stopNode ) ) && node && node.length < 1 ) ; 
     62        while ( ( node = FCKDomTools.GetNextSourceNode( node, false, 3, stopNode ) ) && node && node.length < 1 ) 
     63                1 ; 
    6464        return node ; 
    6565} 
  • FCKeditor/branches/features/new_samples/editor/fckeditor.html

    r1771 r2123  
    104104LoadScript( '_source/internals/fckconfig.js' ) ; 
    105105 
    106 LoadScript( '_source/internals/fckdebug.js' ) ; 
     106LoadScript( '_source/internals/fckdebug_empty.js' ) ; 
    107107LoadScript( '_source/internals/fckdomtools.js' ) ; 
    108108LoadScript( '_source/internals/fcktools.js' ) ; 
     
    238238FCKConfig_PreProcess() ; 
    239239 
    240 var FCK_InternalCSS                     = FCKConfig.FullBasePath + 'css/fck_internal.css' ;                                     // @Packager.RemoveLine 
    241 var FCK_ShowTableBordersCSS     = FCKConfig.FullBasePath + 'css/fck_showtableborders_gecko.css' ;       // @Packager.RemoveLine 
     240// Load the full debug script. 
     241if ( FCKConfig.Debug ) 
     242        LoadScript( '_source/internals/fckdebug.js' ) ; 
     243 
     244        </script> 
     245        <script type="text/javascript"> 
     246 
     247var FCK_InternalCSS                     = FCKConfig.BasePath + 'css/fck_internal.css' ;                                 // @Packager.RemoveLine 
     248var FCK_ShowTableBordersCSS     = FCKConfig.BasePath + 'css/fck_showtableborders_gecko.css' ;   // @Packager.RemoveLine 
    242249/* @Packager.RemoveLine 
    243 // CSS minified by http://iceyboard.no-ip.org/projects/css_compressor 
    244 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)}' ) ; 
    245 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}' ) ; 
     250// CSS minified by http://iceyboard.no-ip.org/projects/css_compressor (see _dev/css_compression.txt). 
     251var FCK_InternalCSS                     = FCKTools.FixCssUrls( FCKConfig.BasePath + '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__UnknownObject{border:#a9a9a9 1px solid;background-position:center center;background-image:url(images/fck_plugin.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)}' ) ; 
     252var FCK_ShowTableBordersCSS     = FCKTools.FixCssUrls( FCKConfig.BasePath + '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}' ) ; 
    246253@Packager.RemoveLine */ 
    247254 
  • FCKeditor/branches/features/new_samples/editor/filemanager/browser/default/browser.html

    r1985 r2123  
    4343                        break ; 
    4444                } 
    45                 catch( e ) {} 
     45                catch( e ) 
     46                {} 
    4647 
    4748                // Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ... 
  • FCKeditor/branches/features/new_samples/editor/filemanager/browser/default/frmactualfolder.html

    r1985 r2123  
    4141                        break ; 
    4242                } 
    43                 catch( e ) {} 
     43                catch( e ) 
     44                {} 
    4445 
    4546                // Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ... 
  • FCKeditor/branches/features/new_samples/editor/filemanager/browser/default/js/common.js

    r1791 r2123  
    3636                        break ; 
    3737                } 
    38                 catch( e ) {} 
     38                catch( e ) 
     39                {} 
    3940 
    4041                // Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ... 
  • FCKeditor/branches/features/new_samples/editor/filemanager/browser/default/js/fckxml.js

    r1805 r2123  
    6262                        if ( oXmlHttp.readyState == 4 ) 
    6363                        { 
    64                                 if ( ( oXmlHttp.status != 200 && oXmlHttp.status != 304 ) || oXmlHttp.responseXML == null || oXmlHttp.responseXML.firstChild == null ) 
     64                                var oXml ; 
     65                                try 
     66                                { 
     67                                        // this is the same test for an FF2 bug as in fckxml_gecko.js 
     68                                        // but we've moved the responseXML assignment into the try{} 
     69                                        // so we don't even have to check the return status codes. 
     70                                        var test = oXmlHttp.responseXML.firstChild ; 
     71                                        oXml = oXmlHttp.responseXML ; 
     72                                } 
     73                                catch ( e ) 
     74                                { 
     75                                        try 
     76                                        { 
     77                                                oXml = (new DOMParser()).parseFromString( oXmlHttp.responseText, 'text/xml' ) ; 
     78                                        } 
     79                                        catch ( e ) {} 
     80                                } 
     81 
     82                                if ( !oXml || !oXml.firstChild || oXml.firstChild.nodeName == 'parsererror' ) 
    6583                                { 
    6684                                        alert( 'The server didn\'t send back a proper XML response. Please contact your system administrator.\n\n' + 
     
    7189                                } 
    7290 
    73                                 oFCKXml.DOMDocument = oXmlHttp.responseXML ; 
     91                                oFCKXml.DOMDocument = oXml ; 
    7492                                asyncFunctionPointer( oFCKXml ) ; 
    7593                        } 
  • FCKeditor/branches/features/new_samples/editor/filemanager/connectors/asp/basexml.asp

    r1565 r2123  
    3131 
    3232        ' Set the response format. 
     33        Response.CodePage               = 65001 
    3334        Response.CharSet                = "UTF-8" 
    3435        Response.ContentType    = "text/xml" 
  • FCKeditor/branches/features/new_samples/editor/filemanager/connectors/asp/io.asp

    r2037 r2123  
    225225        Response.Clear 
    226226        Response.Write "<script type=""text/javascript"">" 
    227         Response.Write "(function()" 
    228         Response.Write "{" 
    229         Response.Write "var d = document.domain ;" 
    230  
    231         Response.Write " while ( true )" 
    232         Response.Write "        {" 
    233         ' Test if we can access a parent property. 
    234         Response.Write "                try" 
    235         Response.Write "                {" 
    236         Response.Write "                        var test = window.top.opener.document.domain ;" 
    237         Response.Write "                        break ;" 
    238         Response.Write "                }" 
    239         Response.Write "                catch( e ) {}" 
    240  
    241         ' Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ... 
    242         Response.Write "                d = d.replace( /.*?(?:\.|$)/, '' ) ;" 
    243  
    244         Response.Write "                if ( d.length == 0 )" 
    245         ' It was not able to detect the domain. 
    246         Response.Write "                        break ;" 
    247         Response.Write "" 
    248         Response.Write "                try" 
    249         Response.Write "                {" 
    250         Response.Write "                        document.domain = d ;" 
    251         Response.Write "                }" 
    252         Response.Write "                catch (e)" 
    253         Response.Write "                {" 
    254         Response.Write "                        break ;" 
    255         Response.Write "                }" 
    256         Response.Write "        }" 
    257         Response.Write "})() ;" 
     227        ' Minified version of the document.domain automatic fix script (#1919). 
     228        ' The original script can be found at _dev/domain_fix_template.js 
     229        Response.Write "(function(){var d=document.domain;while (true){try{var A=window.parent.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:\.|$)/,'');if (d.length==0) break;try{document.domain=d;}catch (e){break;}}})();" 
    258230 
    259231        Response.Write "window.parent.OnUploadCompleted(" & errorNumber & ",""" & Replace( fileUrl, """", "\""" ) & """,""" & Replace( fileName, """", "\""" ) & """,""" & Replace( customMsg , """", "\""" ) & """) ;" 
  • FCKeditor/branches/features/new_samples/editor/filemanager/connectors/cfm/cf5_upload.cfm

    r1797 r2123  
    4848        { 
    4949                WriteOutput('<script type="text/javascript">'); 
    50                 WriteOutput("(function()"& 
    51 "{"& 
    52 "       var d = document.domain ;"& 
    53 ""& 
    54 "       while ( true )"& 
    55 "       {"& 
    56                 // Test if we can access a parent property. 
    57 "               try"& 
    58 "               {"& 
    59 "                       var test = window.top.opener.document.domain ;"& 
    60 "                       break ;"& 
    61 "               }"& 
    62 "               catch( e ) {}"& 
    63 ""& 
    64                 // Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ... 
    65 "               d = d.replace( /.*?(?:\.|$)/, '' ) ;"& 
    66 ""& 
    67 "               if ( d.length == 0 )"& 
    68                         // It was not able to detect the domain. 
    69 "                       break ;"& 
    70 ""& 
    71 "               try"& 
    72 "               {"& 
    73 "                       document.domain = d ;"& 
    74 "               }"& 
    75 "               catch (e)"& 
    76 "               {"& 
    77 "                       break ;"& 
    78 "               }"& 
    79 "       }"& 
    80 "})() ;"); 
    81  
     50                // Minified version of the document.domain automatic fix script (#1919). 
     51                // The original script can be found at _dev/domain_fix_template.js 
     52                WriteOutput("(function(){var d=document.domain;while (true){try{var A=window.parent.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:\.|$)/,'');if (d.length==0) break;try{document.domain=d;}catch (e){break;}}})();"); 
    8253                WriteOutput('window.parent.OnUploadCompleted(' & errorNumber & ', "' & JSStringFormat(fileUrl) & '", "' & JSStringFormat(fileName) & '", "' & JSStringFormat(customMsg) & '");' ); 
    8354                WriteOutput('</script>'); 
  • FCKeditor/branches/features/new_samples/editor/filemanager/connectors/cfm/cf_io.cfm

    r1797 r2123  
    266266        <cfargument name="customMsg" required="false" type="String" default=""> 
    267267 
     268        <!--- Minified version of the document.domain automatic fix script (#1919). 
     269        The original script can be found at _dev/domain_fix_template.js ---> 
    268270        <cfoutput> 
    269271<script type="text/javascript"> 
    270 (function() 
    271 { 
    272         var d = document.domain ; 
    273  
    274         while ( true ) 
    275         { 
    276                 // Test if we can access a parent property. 
    277                 try 
    278                 { 
    279                         var test = window.top.opener.document.domain ; 
    280                         break ; 
    281                 } 
    282                 catch( e ) {} 
    283  
    284                 // Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ... 
    285                 d = d.replace( /.*?(?:\.|$)/, '' ) ; 
    286  
    287                 if ( d.length == 0 ) 
    288                         break ;         // It was not able to detect the domain. 
    289  
    290                 try 
    291                 { 
    292                         document.domain = d ; 
    293                 } 
    294                 catch (e) 
    295                 { 
    296                         break ; 
    297                 } 
    298         } 
    299 })() ; 
    300  
    301                         window.parent.OnUploadCompleted( #errorNumber#, "#JSStringFormat(fileUrl)#", "#JSStringFormat(fileName)#", "#JSStringFormat(customMsg)#" ); 
    302                 </script> 
     272(function(){var d=document.domain;while (true){try{var A=window.parent.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:\.|$)/,'');if (d.length==0) break;try{document.domain=d;}catch (e){break;}}})(); 
     273window.parent.OnUploadCompleted( #errorNumber#, "#JSStringFormat(fileUrl)#", "#JSStringFormat(fileName)#", "#JSStringFormat(customMsg)#" ); 
     274</script> 
    303275        </cfoutput> 
    304276        <cfabort> 
  • FCKeditor/branches/features/new_samples/editor/filemanager/connectors/lasso/upload.lasso

    r1797 r2123  
    7575                -description='Sets the HTML response for the FCKEditor Quick Upload feature.' 
    7676        ); 
    77                 $__html_reply__ = '\ 
    78 <script type="text/javascript"> 
    79 (function() 
    80 { 
    81         var d = document.domain ; 
    8277 
    83         while ( true ) 
    84         { 
    85                 // Test if we can access a parent property. 
    86                 try 
    87                 { 
    88                         var test = window.top.opener.document.domain ; 
    89                         break ; 
    90                 } 
    91                 catch( e ) {} 
     78                $__html_reply__ = '<script type="text/javascript">'; 
    9279 
    93                 // Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ... 
    94                 d = d.replace( /.*?(?:\\.|$)/, "" ) ; 
     80                // Minified version of the document.domain automatic fix script (#1919). 
     81                // The original script can be found at _dev/domain_fix_template.js 
     82                // Note: in Lasso replace \ with \\ 
     83                $__html_reply__ = $__html_reply__ + "(function(){var d=document.domain;while (true){try{var A=window.parent.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:\\.|$)/,'');if (d.length==0) break;try{document.domain=d;}catch (e){break;}}})();"; 
    9584 
    96                 if ( d.length == 0 ) 
    97                         break ;         // It was not able to detect the domain. 
    98  
    99                 try 
    100                 { 
    101                         document.domain = d ; 
    102                 } 
    103                 catch (e) 
    104                 { 
    105                         break ; 
    106                 } 
    107         } 
    108 })() ; 
     85                $__html_reply__ = $__html_reply__ + '\ 
    10986        window.parent.OnUploadCompleted(' + #errorNumber + ',"' 
    11087                + string_replace(#fileUrl, -find='"', -replace='\\"') + '","' 
  • FCKeditor/branches/features/new_samples/editor/filemanager/connectors/perl/commands.pl

    r1791 r2123  
    170170        local($sErrorNumber, $sFileUrl, $sFileName, $customMsg) = @_; 
    171171 
     172        # Minified version of the document.domain automatic fix script (#1919). 
     173        # The original script can be found at _dev/domain_fix_template.js 
     174        # Note: in Perl replace \ with \\ and $ with \$ 
    172175        print <<EOF; 
    173176Content-type: text/html 
    174177 
    175178<script type="text/javascript"> 
    176 // Automatically detect the correct document.domain (#1919). 
    177 (function() 
    178 { 
    179         var d = document.domain ; 
    180  
    181         while ( true ) 
    182         { 
    183                 // Test if we can access a parent property. 
    184                 try 
    185                 { 
    186                         var test = window.top.opener.document.domain ; 
    187                         break ; 
    188                 } 
    189                 catch( e ) {} 
    190  
    191                 // Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ... 
    192                 d = d.replace( /.*?(?:\\.|\$)/, '' ) ; 
    193  
    194                 if ( d.length == 0 ) 
    195                         break ;         // It was not able to detect the domain. 
    196  
    197                 try 
    198                 { 
    199                         document.domain = d ; 
    200                 } 
    201                 catch (e) 
    202                 { 
    203                         break ; 
    204                 } 
    205         } 
    206 })() ; 
     179(function(){var d=document.domain;while (true){try{var A=window.parent.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:\\.|\$)/,'');if (d.length==0) break;try{document.domain=d;}catch (e){break;}}})(); 
    207180 
    208181EOF 
  • FCKeditor/branches/features/new_samples/editor/filemanager/connectors/php/io.php

    r1998 r2123  
    280280function SendUploadResults( $errorNumber, $fileUrl = '', $fileName = '', $customMsg = '' ) 
    281281{ 
     282        // Minified version of the document.domain automatic fix script (#1919). 
     283        // The original script can be found at _dev/domain_fix_template.js 
    282284        echo <<<EOF 
    283285<script type="text/javascript"> 
    284 (function() 
    285 { 
    286         var d = document.domain ; 
    287  
    288         while ( true ) 
    289         { 
    290                 // Test if we can access a parent property. 
    291                 try 
    292                 { 
    293                         var test = window.top.opener.document.domain ; 
    294                         break ; 
    295                 } 
    296                 catch( e ) {} 
    297  
    298                 // Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ... 
    299                 d = d.replace( /.*?(?:\.|$)/, '' ) ; 
    300  
    301                 if ( d.length == 0 ) 
    302                         break ;         // It was not able to detect the domain. 
    303  
    304                 try 
    305                 { 
    306                         document.domain = d ; 
    307                 } 
    308                 catch (e) 
    309                 { 
    310                         break ; 
    311                 } 
    312         } 
    313 })() ; 
    314  
     286(function(){var d=document.domain;while (true){try{var A=window.parent.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:\.|$)/,'');if (d.length==0) break;try{document.domain=d;}catch (e){break;}}})(); 
    315287EOF; 
     288 
    316289        $rpl = array( '\\' => '\\\\', '"' => '\\"' ) ; 
    317290        echo 'window.parent.OnUploadCompleted(' . $errorNumber . ',"' . strtr( $fileUrl, $rpl ) . '","' . strtr( $fileName, $rpl ) . '", "' . strtr( $customMsg, $rpl ) . '") ;' ; 
  • FCKeditor/branches/features/new_samples/editor/filemanager/connectors/py/fckoutput.py

    r1791 r2123  
    102102                self.setHttpHeaders("text/html") 
    103103                "This is the function that sends the results of the uploading process" 
     104 
     105                "Minified version of the document.domain automatic fix script (#1919)." 
     106                "The original script can be found at _dev/domain_fix_template.js" 
    104107                return """<script type="text/javascript"> 
    105                         (function() 
    106                         { 
    107                                 var d = document.domain ; 
    108  
    109                                 while ( true ) 
    110                                 { 
    111                                         // Test if we can access a parent property. 
    112                                         try 
    113                                         { 
    114                                                 var test = window.top.opener.document.domain ; 
    115                                                 break ; 
    116                                         } 
    117                                         catch( e ) {} 
    118  
    119                                         // Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ... 
    120                                         d = d.replace( /.*?(?:\.|$)/, '' ) ; 
    121  
    122                                         if ( d.length == 0 ) 
    123                                                 break ;         // It was not able to detect the domain. 
    124  
    125                                         try 
    126                                         { 
    127                                                 document.domain = d ; 
    128                                         } 
    129                                         catch (e) 
    130                                         { 
    131                                                 break ; 
    132                                         } 
    133                                 } 
    134                         })() ; 
     108                        (function(){var d=document.domain;while (true){try{var A=window.parent.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:\.|$)/,'');if (d.length==0) break;try{document.domain=d;}catch (e){break;}}})(); 
    135109 
    136110                        window.parent.OnUploadCompleted(%(errorNumber)s,"%(fileUrl)s","%(fileName)s","%(customMsg)s"); 
  • FCKeditor/branches/features/new_samples/editor/js/fckadobeair.js

    r1629 r2123  
    168168                { 
    169169                        // Force pointing to the CSS files instead of using the inline CSS cached styles. 
    170                         window.FCK_InternalCSS                  = FCKConfig.FullBasePath + 'css/fck_internal.css' ; 
    171                         window.FCK_ShowTableBordersCSS  = FCKConfig.FullBasePath + 'css/fck_showtableborders_gecko.css' ; 
     170                        window.FCK_InternalCSS                  = FCKConfig.BasePath + 'css/fck_internal.css' ; 
     171                        window.FCK_ShowTableBordersCSS  = FCKConfig.BasePath + 'css/fck_showtableborders_gecko.css' ; 
    172172 
    173173                        _Original_FCK_StartEditor.apply( this, arguments ) ; 
  • FCKeditor/branches/features/new_samples/editor/lang/_translationstatus.txt

    r2003 r2123  
    5050hr.js      Found: 411   Missing: 0 
    5151hu.js      Found: 411   Missing: 0 
    52 it.js      Found: 396   Missing: 15 
     52it.js      Found: 410   Missing: 1 
    5353ja.js      Found: 411   Missing: 0 
    5454km.js      Found: 370   Missing: 41 
  • FCKeditor/branches/features/new_samples/editor/lang/it.js

    r1565 r2123  
    4646RemoveLink                      : "Elimina collegamento", 
    4747Anchor                          : "Inserisci/Modifica Ancora", 
    48 AnchorDelete            : "Remove Anchor",      //MISSING 
     48AnchorDelete            : "Rimuovi Ancora", 
    4949InsertImageLbl          : "Immagine", 
    5050InsertImage                     : "Inserisci/Modifica immagine", 
     
    106106 
    107107FitWindow               : "Massimizza l'area dell'editor", 
    108 ShowBlocks              : "Show Blocks",        //MISSING 
     108ShowBlocks              : "Visualizza Blocchi", 
    109109 
    110110// Context Menu 
     
    113113RowCM                           : "Riga", 
    114114ColumnCM                        : "Colonna", 
    115 InsertRowAfter          : "Insert Row After",   //MISSING 
    116 InsertRowBefore         : "Insert Row Before",  //MISSING 
     115InsertRowAfter          : "Inserisci Riga Dopo", 
     116InsertRowBefore         : "Inserisci Riga Prima", 
    117117DeleteRows                      : "Elimina righe", 
    118 InsertColumnAfter       : "Insert Column After",        //MISSING 
    119 InsertColumnBefore      : "Insert Column Before",       //MISSING 
     118InsertColumnAfter       : "Inserisci Colonna Dopo", 
     119InsertColumnBefore      : "Inserisci Colonna Prima", 
    120120DeleteColumns           : "Elimina colonne", 
    121 InsertCellAfter         : "Insert Cell After",  //MISSING 
    122 InsertCellBefore        : "Insert Cell Before", //MISSING 
     121InsertCellAfter         : "Inserisci Cella Dopo", 
     122InsertCellBefore        : "Inserisci Cella Prima", 
    123123DeleteCells                     : "Elimina celle", 
    124124MergeCells                      : "Unisce celle", 
    125 MergeRight                      : "Merge Right",        //MISSING 
    126 MergeDown                       : "Merge Down", //MISSING 
    127 HorizontalSplitCell     : "Split Cell Horizontally",    //MISSING 
    128 VerticalSplitCell       : "Split Cell Vertically",      //MISSING 
     125MergeRight                      : "Unisci a Destra", 
     126MergeDown                       : "Unisci in Basso", 
     127HorizontalSplitCell     : "Dividi Cella Orizzontalmente", 
     128VerticalSplitCell       : "Dividi Cella Verticalmente", 
    129129TableDelete                     : "Cancella Tabella", 
    130130CellProperties          : "Proprietà cella", 
     
    333333 
    334334// Find and Replace Dialog 
    335 DlgFindAndReplaceTitle  : "Find and Replace",   //MISSING 
     335DlgFindAndReplaceTitle  : "Cerca e Sostituisci", 
    336336 
    337337// Find Dialog 
     
    357357 
    358358DlgPasteMsg2    : "Incolla il testo all'interno dell'area sottostante usando la scorciatoia di tastiere (<STRONG>Ctrl+V</STRONG>) e premi <STRONG>OK</STRONG>.", 
    359 DlgPasteSec             : "Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.",       //MISSING 
     359DlgPasteSec             : "A causa delle impostazioni di sicurezza del browser,l'editor non è in grado di accedere direttamente agli appunti. E' pertanto necessario incollarli di nuovo in questa finestra.", 
    360360DlgPasteIgnoreFont              : "Ignora le definizioni di Font", 
    361361DlgPasteRemoveStyles    : "Rimuovi le definizioni di Stile", 
  • FCKeditor/branches/features/new_samples/editor/plugins/dragresizetable/fckplugin.js

    r1564 r2123  
    8989        "_ResizeBarMouseDownListener" : function( evt ) 
    9090        { 
    91                 if ( ! evt ) 
    92                         evt = window.event ; 
    9391                if ( FCKDragTableHandler._LeftCell ) 
    9492                        FCKDragTableHandler._MouseMoveMode = 1 ; 
     
    122120                FCKDragTableHandler._MaximumX = maxX + offset.x ; 
    123121                FCKDragTableHandler._LastX = null ; 
     122 
     123                if (evt.preventDefault) 
     124                        evt.preventDefault(); 
     125                else 
     126                        evt.returnValue = false; 
    124127        }, 
    125128        "_ResizeBarMouseUpListener" : function( evt ) 
    126129        { 
    127                 if ( ! evt ) 
    128                         evt = window.event ; 
    129130                FCKDragTableHandler._MouseMoveMode = 0 ; 
    130131                FCKDragTableHandler._HideResizeBar() ; 
     
    219220        "_ResizeBarMouseMoveListener" : function( evt ) 
    220221        { 
    221                 if ( ! evt ) 
    222                         evt = window.event ; 
    223222                if ( FCKDragTableHandler._MouseMoveMode == 0 ) 
    224223                        return FCKDragTableHandler._MouseFindHandler( FCK, evt ) ; 
     
    422421                        var disabledListener = function( evt ) 
    423422                        { 
    424                                 if ( ! evt ) 
    425                                         evt = window.event ; 
    426423                                if ( evt.preventDefault ) 
    427424                                        evt.preventDefault() ; 
  • FCKeditor/branches/features/new_samples/fckconfig.js

    r2019 r2123  
    315315FCKConfig.BackgroundBlockerColor = '#ffffff' ; 
    316316FCKConfig.BackgroundBlockerOpacity = 0.50 ; 
     317 
     318FCKConfig.MsWebBrowserControlCompat = false ; 
  • FCKeditor/branches/features/new_samples/fckpackager.xml

    r1590 r2123  
    7878                <File path="editor/_source/internals/fck_ie.js" /> 
    7979                <File path="editor/_source/internals/fckconfig.js" /> 
    80                 <File path="editor/_source/internals/fckdebug.js" /> 
     80                <File path="editor/_source/internals/fckdebug_empty.js" /> 
    8181                <File path="editor/_source/internals/fckdomtools.js" /> 
    8282                <File path="editor/_source/internals/fcktools.js" /> 
     
    174174                <File path="editor/_source/internals/fck_gecko.js" /> 
    175175                <File path="editor/_source/internals/fckconfig.js" /> 
    176                 <File path="editor/_source/internals/fckdebug.js" /> 
     176                <File path="editor/_source/internals/fckdebug_empty.js" /> 
    177177                <File path="editor/_source/internals/fckdomtools.js" /> 
    178178                <File path="editor/_source/internals/fcktools.js" /> 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy