Changeset 2907


Ignore:
Timestamp:
01/15/2009 01:51:54 PM (6 years ago)
Author:
fredck
Message:

#2685 : Introduced the Web Spell Checker integration.

Location:
FCKeditor/trunk
Files:
4 added
4 edited

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/_whatsnew.html

    r2906 r2907  
    3838                New Features and Improvements:</p>
    3939        <ul>
     40                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2685">#2685</a>] Integration
     41                        with "Web Spell Checker", a <strong>zero installation and free spell checker</strong>
     42                        provided by SpellChecker.net. This is now the default spell checker in the editor
     43                        (requires internet connection). All previous spell checking solutions are still
     44                        available.</li>
    4045                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2430">#2430</a>] In the table
    4146                        dialog it's possible to create header cells in the first row (included in a thead element)
  • FCKeditor/trunk/editor/_source/commandclasses/fckspellcheckcommand_gecko.js

    r1565 r2907  
    2626{
    2727        this.Name = 'SpellCheck' ;
    28         this.IsEnabled = ( FCKConfig.SpellChecker == 'SpellerPages' ) ;
     28        this.IsEnabled = ( FCKConfig.SpellChecker != 'ieSpell' ) ;
    2929}
    3030
    3131FCKSpellCheckCommand.prototype.Execute = function()
    3232{
    33         FCKDialog.OpenDialog( 'FCKDialog_SpellCheck', 'Spell Check', 'dialog/fck_spellerpages.html', 440, 480 ) ;
     33        switch ( FCKConfig.SpellChecker )
     34        {
     35                case 'SpellerPages' :
     36                        FCKDialog.OpenDialog( 'FCKDialog_SpellCheck', 'Spell Check', 'dialog/fck_spellerpages.html', 440, 480 ) ;
     37                        break;
     38
     39                case 'WSC' :
     40                        FCKDialog.OpenDialog( 'FCKDialog_SpellCheck', 'Spell Check', 'wsc/w.html', 530, 480 ) ;
     41        }
    3442}
    3543
  • FCKeditor/trunk/editor/_source/commandclasses/fckspellcheckcommand_ie.js

    r1565 r2907  
    2626{
    2727        this.Name = 'SpellCheck' ;
    28         this.IsEnabled = ( FCKConfig.SpellChecker == 'ieSpell' || FCKConfig.SpellChecker == 'SpellerPages' ) ;
     28        this.IsEnabled = true ;
    2929}
    3030
     
    4040                        FCKDialog.OpenDialog( 'FCKDialog_SpellCheck', 'Spell Check', 'dialog/fck_spellerpages.html', 440, 480 ) ;
    4141                        break ;
     42
     43                case 'WSC' :
     44                        FCKDialog.OpenDialog( 'FCKDialog_SpellCheck', 'Spell Check', 'wsc/w.html', 530, 480 ) ;
    4245        }
    4346}
  • FCKeditor/trunk/fckconfig.js

    r2779 r2907  
    161161FCKConfig.TemplatesXmlPath      = FCKConfig.EditorPath + 'fcktemplates.xml' ;
    162162
    163 FCKConfig.SpellChecker                  = 'ieSpell' ;   // 'ieSpell' | 'SpellerPages'
     163FCKConfig.SpellChecker                  = 'WSC' ;       // 'WSC' | 'SpellerPages' | 'ieSpell'
    164164FCKConfig.IeSpellDownloadUrl    = 'http://www.iespell.com/download.php' ;
    165165FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ;        // Available extension: .php .cfm .pl
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy