Skip to content

Instantly share code, notes, and snippets.

@opi
Created July 26, 2013 07:53
Show Gist options
  • Save opi/6087056 to your computer and use it in GitHub Desktop.
Save opi/6087056 to your computer and use it in GitHub Desktop.
Drupal wysiwyg drush make
libraries[ckeditor][download][type]= "get"
libraries[ckeditor][directory_name] = "ckeditor"
libraries[ckeditor][destination] = "libraries"
; Le lien suivant peut expirer, voir http://drupal.org/node/1943098#comment-7234212
libraries[ckeditor][download][url] = "http://ckeditor.com/online-builder/releases/minified/4.1.2/moono/4.1.2/ckeditor_4.1.2_b252dac9fef6.zip"
; sinon le zip normal
libraries[ckeditor][download][url] = "http://download.cksource.com/CKEditor/CKEditor/CKEditor%204.2/ckeditor_4.2_standard.zip"
; Get TinyMCE library, and its French translation (to be used with WYSIWYG module).
libraries[tinymce][download][type] = "file"
libraries[tinymce][download][url] = "http://github.com/downloads/tinymce/tinymce/tinymce_3.5.2.zip"
libraries[tinymce][directory_name] = "tinymce"
; TinyMCE French language pack (JS export)
; Needs : http://drupal.org/node/1134326
libraries[tinymce_fr][download][type] = "file"
libraries[tinymce_fr][download][request_type] = "get"
libraries[tinymce_fr][download][url] = "http://www.tinymce.com/i18n/index.php?ctrl=export&act=zip&la[]=fr&la_export=js&pr_id=7&submitted=Download"
; Force filename so Drush Make unzips it
libraries[tinymce_fr][download][filename] = "tinymce_fr.zip"
; The two following lines are telling drush make to put the archive files in libraries/tinymce/jscripts/tiny_mce
libraries[tinymce_fr][destination] = "libraries/tinymce/jscripts"
libraries[tinymce_fr][directory_name] = "tiny_mce"
; Allow drush make to install librairies[tinymce_fr] inside a non empty directory
libraries[tinymce_fr][overwrite] = TRUE
@pounard
Copy link

pounard commented Jan 17, 2014

The TinyMCE 3 language pack does not seem to be working anymore since they released the 4 version. This snippet does not work anymore! I have no fix for it I ended up commiting the sites/all/libraries/tinymce folder in the end... If anyone finds out a backup URL for the outdated TinyMCE 3 language packs please speak now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment