Dotclear


Ignore:
Timestamp:
01/19/18 16:54:20 (8 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Adjust editors base font size (CodeMirror?, dcLegacyEditor, dcCKEditor), should fix #2263

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/dcCKEditor/inc/dc.ckeditor.behaviors.php

    r3421 r3669  
    3232        } 
    3333 
    34         return 
     34        $res = 
    3535            '<script type="text/javascript">'."\n". 
    3636            dcPage::jsVar('dotclear.ckeditor_context', $context). 
     
    5858            dcPage::jsLoad(self::$p_url.'/js/ckeditor/adapters/jquery.js'). 
    5959            dcPage::jsLoad($config_js); 
     60 
     61          if ($GLOBALS['core']->auth->user_prefs->interface->htmlfontsize) { 
     62               $res .= 
     63               '<script type="text/javascript">'."\n". 
     64               dcPage::jsVar('dotclear_htmlFontSize',$GLOBALS['core']->auth->user_prefs->interface->htmlfontsize)."\n". 
     65               "</script>\n"; 
     66          } 
     67 
     68          return $res; 
    6069     } 
    6170 
Note: See TracChangeset for help on using the changeset viewer.

Sites map