Warning: include(../plugins/glossaire/conf_defaut2.inc): Failed to open stream: No such file or directory in /home/freeguppyorg/sites/ghc.freeguppy.org/mobile/inc/inchead/glossaire_mob.inc on line 29

Warning: include(): Failed opening '../plugins/glossaire/conf_defaut2.inc' for inclusion (include_path='.:/opt/cpanel/ea-php80/root/usr/share/pear') in /home/freeguppyorg/sites/ghc.freeguppy.org/mobile/inc/inchead/glossaire_mob.inc on line 29

Warning: Undefined variable $res_group in /home/freeguppyorg/sites/ghc.freeguppy.org/mobile/inc/inchead/glossaire_mob.inc on line 33

Warning: Trying to access array offset on value of type null in /home/freeguppyorg/sites/ghc.freeguppy.org/mobile/inc/inchead/glossaire_mob.inc on line 33

Warning: include(../plugins/glossaire/gloss_inc1.inc): Failed to open stream: No such file or directory in /home/freeguppyorg/sites/ghc.freeguppy.org/mobile/inc/inchead/glossaire_mob.inc on line 36

Warning: include(): Failed opening '../plugins/glossaire/gloss_inc1.inc' for inclusion (include_path='.:/opt/cpanel/ea-php80/root/usr/share/pear') in /home/freeguppyorg/sites/ghc.freeguppy.org/mobile/inc/inchead/glossaire_mob.inc on line 36

Warning: include(../plugins/glossaire/gloss_mob_inc2.inc): Failed to open stream: No such file or directory in /home/freeguppyorg/sites/ghc.freeguppy.org/mobile/inc/inchead/glossaire_mob.inc on line 37

Warning: include(): Failed opening '../plugins/glossaire/gloss_mob_inc2.inc' for inclusion (include_path='.:/opt/cpanel/ea-php80/root/usr/share/pear') in /home/freeguppyorg/sites/ghc.freeguppy.org/mobile/inc/inchead/glossaire_mob.inc on line 37
GuppY Help Center

  Welcome 
Tailles de police dans CKEditor

Avant la version 4.6.17 et l'installation de CKEditor, j'utilisais la taille de police small.
Avec ce nouvel outil, je n'arrivais pas à retrouver la bonne taille,  celle-ci étant désormais déclinée en pixels (px).
Pour retrouver ma taille habituel, j'ai dû modifier le fichier /admin/editors/ckeditor_config/guppy_ckconfig.js (modifié en local avec Notepad++ puis exporté) pour y ajouter la taille 13 px en ligne 54.
 
config.fontSize_sizes   = '8/8px;9/9px;10/10px;11/11px;12/12px;13/13px;14/14px;15/15px;16/16px;18/18px;20/20px;22/22px;24/24px;26/26px;28/28px;36/36px;48/48px;72/72px';
Il m'est maintenant possible de modifier des articles sans avoir des différences de police .

François (equitathome)

__________________________________________________________________________________


Voici donc les correspondances entre les tailles FCKEditor et CKEditor :

Par défaut = 12
smaller = 10
larger = 15

xx-small = 9
x-small = 10
small = 13
larger = 15
medium = 16
large = 18
x-large = 24
xx-marge = 32


Creation date : 01/12/2011 @ 06:29
Last update : 01/12/2011 @ 06:29
Category : Ckeditor - Editor
Page read 17143 times
Top

© 2004-2024

Document generated in 0.02 second