Jump to content

Comment améliorer TinyMCE en Extended sous 1.6.0.14 ?


Recommended Posts

Bonjour,

les astuces pour modifier et améliorer l’éditeur de texte sous 1.5 et 1.6.0.8 faisaient modifier le fichier Tiny_MCE.inc.js dans le dossier /js/ du site.

Mais avec la version 1.6.0.14, ce fichier à été supprimé.

 

Quelqu'un sait il comment faire pour activer les fonctions cachées de TinyMCE et notamment réactiver le réglage de la taille des polices ?

Edited by Jean Francois G (see edit history)
Link to comment
Share on other sites

  • 4 weeks later...
En 1.6.0.14, j'ouvre le fichier tinymce.inc.js dans /js/admin/tinymce.inc.js et je remplace la ligne plugins par : 

 

plugins : "visualchars,visualblocks, preview searchreplace print insertdatetime, hr charmap colorpicker anchor code link image paste pagebreak table contextmenu filemanager table code media autoresize textcolor emoticons",

 

Puis je remplace la ligne toolbar1 et toolbar2 par : 

 

toolbar2 : "newdocument,print,|,bold,italic,underline,|,strikethrough,superscript,subscript,|,forecolor,colorpicker,backcolor,|,bullist,numlist,outdent,indent",

toolbar1 : "styleselect,|,formatselect,|,fontselect,|,fontsizeselect,", 

toolbar3 : "code,|,table,|,cut,copy,paste,searchreplace,|,blockquote,|,undo,redo,|,link,unlink,anchor,|,image,emoticons,media,|,inserttime,|,preview ",

toolbar4 : "visualchars,visualblocks,|,charmap,|,hr,|,alignleft,aligncenter,alignright,alignfull,alignjustify,formatselect,",

 

Et j'obtiens ceci :

 

post-747306-0-54791500-1435341039_thumb.jpg

Edited by Moi c Seb (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...