Add a wysiwyg.make file to help with downloading all the editors during the build process. It should download just the currently supported versions, although we could switch that depending how the editor distributes its files.
wysiwyg.make
; =====================================
; WYSIWYG
; =====================================
api = 2
core = 7.x
; =====================================
; Libraries
; =====================================
; CKEditor 3.6.2
libraries[ckeditor][download][type] = get
libraries[ckeditor][download][url] = http://download.cksource.com/CKEditor/CKEditor/CKEditor%203.6.2/ckeditor_3.6.2.zip
; jWYSIWYG 0.7
libraries[jwysiwyg][download][type] = svn
libraries[jwysiwyg][download][url] = http://jwysiwyg.googlecode.com/svn/tags/0.7
; MarkItUp 1.1.12
libraries[markitup][download][type] = git
libraries[markitup][download][url] = git://github.com/markitup/1.x.git
libraries[markitup][download][tag] = 1.1.12
; OpenWYSIWYG 1.4.7
libraries[openwysiwyg][download][type] = get
libraries[openwysiwyg][download][url] = http://www.openwebware.com/openwysiwyg_v1.4.7.zip
; TinyMCE 3.4.x
libraries[tinymce][download][type] = get
libraries[tinymce][download][url] = http://www.tinymce.com/track.php?url=http%3A%2F%2Fgithub.com%2Fdownloads%2Ftinymce%2Ftinymce%2Ftinymce_3.4.7_dev.zip
; Whizzywig 63
libraries[whizzywig][download][type] = file
libraries[whizzywig][download][url] = http://whizzywig.googlecode.com/files/whizzywig63.js
libraries[whizzywig][download][filename] = whizzywig.js
; WYMEditor
libraries[wymeditor][download][type] = get
libraries[wymeditor][download][url] = http://www.wymeditor.org/download/file.php?f=wymeditor-0.5-rc-2.tar.gz
; YUI
libraries[yui][download][type] = get
libraries[yui][download][url] = http://yui.zenfs.com/releases/yui2/yui_2.9.0.zip
Try it out with:
drush make wysiwyg.make --no-core downloadedlibraries
It would be nice to have #542940: [meta] Support for downloading libraries via Composer, but this is quite different as it helps with building distributions (eg Drupal Forum). When running drush make drupal_forum.build, it would discover wysiwyg.make and download all the libraries for us. WYSIWYG also doesn't really use Libraries API currently, but that's over at #320562: Libraries API.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | wysiwyg.make_.txt | 1.53 KB | robloach |
Comments
Comment #1
robloachThis is the actual file.