Dotclear


Ignore:
Timestamp:
07/12/15 16:42:27 (10 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

Allow user to disable (or not) native spellchecker for CKEditor
Fix #2092

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/dcCKEditor/_post_config.php

    r3040 r3052  
    7979 
    8080     CKEDITOR.timestamp = ''; 
     81<?php if (!empty(!$dcckeditor_disable_native_spellchecker)):?> 
     82     CKEDITOR.disableNativeSpellChecker = false; 
     83<?php endif;?> 
    8184     CKEDITOR.config.skin = 'dotclear,'+dotclear.dcckeditor_plugin_url+'/js/ckeditor-skins/dotclear/'; 
    8285     CKEDITOR.config.baseHref = dotclear.base_url; 
     
    98101} 
    99102?> 
    100     if (dotclear.ckeditor_context===undefined || dotclear.ckeditor_tags_context[dotclear.ckeditor_context]===undefined) { 
    101         return; 
    102     } 
     103     if (dotclear.ckeditor_context===undefined || dotclear.ckeditor_tags_context[dotclear.ckeditor_context]===undefined) { 
     104          return; 
     105     } 
    103106     $(dotclear.ckeditor_tags_context[dotclear.ckeditor_context].join(',')).ckeditor({ 
    104107<?php 
Note: See TracChangeset for help on using the changeset viewer.

Sites map