~ubuntu-branches/ubuntu/intrepid/moin/intrepid-updates

« back to all changes in this revision

Viewing changes to wiki/htdocs/applets/FCKeditor/editor/_source/internals/fck_last.js

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2006-02-14 16:09:24 UTC
  • mfrom: (0.2.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20060214160924-fyrx3gvknzqvt4vj
Tags: 1.5.2-1ubuntu1
Drop python2.3 package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
        window.document.dir = FCKLang.Dir ;
25
25
        
26
26
// Activate pasting operations.
27
 
if ( FCKConfig.ForcePasteAsPlainText )
 
27
if ( FCKConfig.ForcePasteAsPlainText || FCKConfig.AutoDetectPasteFromWord )
28
28
        FCK.Events.AttachEvent( "OnPaste", FCK.Paste ) ;
29
29
 
30
30
// START iCM Modifications
31
31
// Override default ENTER key handler for Gecko/Mozilla so 
32
32
// it acts more like IE browsers.
 
33
/*
33
34
if ( FCKBrowserInfo.IsGecko && !FCKConfig.UseBROnCarriageReturn )
34
35
{
35
36
        FCK.Events.AttachEvent( "OnEnter", FCK.Enter ) ;
36
37
        FCK.Events.AttachEvent( "OnBackSpace", FCK.BackSpace ) ;
37
38
}
 
39
*/
38
40
// END iCM Modifications
39
41
 
40
42
// Load Plugins.
56
58
        FCK.AttachToOnSelectionChange( FCKToolbarSet.RefreshItemsState ) ;
57
59
        //FCK.AttachToOnSelectionChange( FCKSelection._Reset ) ;
58
60
 
 
61
        FCKTools.DisableSelection( document.body ) ;
 
62
 
59
63
        FCK.SetStatus( FCK_STATUS_COMPLETE ) ;
60
64
 
61
65
        // Call the special "FCKeditor_OnComplete" function that should be present in