effective_ckeditor 1.4.2 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/HOW_TO_UPGRADE_CKEDITOR.txt +0 -10
  3. data/app/assets/javascripts/ckeditor/build-config.js +51 -52
  4. data/app/assets/javascripts/ckeditor/ckeditor.js +23 -9
  5. data/app/assets/javascripts/ckeditor/lang/en.js +1 -1
  6. data/app/assets/javascripts/ckeditor/plugins/{footnotes/dialogs/footnotes.js → effective_references/dialogs/references.js} +37 -38
  7. data/app/assets/javascripts/ckeditor/plugins/{footnotes/icons/footnotes.png → effective_references/icons/effectivereferences.png} +0 -0
  8. data/app/assets/javascripts/ckeditor/plugins/effective_references/plugin.js +300 -0
  9. data/app/assets/javascripts/ckeditor/plugins/icons.png +0 -0
  10. data/app/assets/javascripts/ckeditor/plugins/icons_hidpi.png +0 -0
  11. data/app/assets/javascripts/ckeditor/plugins/oembed/LICENSE.md +21 -0
  12. data/app/assets/javascripts/ckeditor/plugins/oembed/README.md +201 -0
  13. data/app/assets/javascripts/ckeditor/plugins/oembed/libs/jquery.oembed.min.js +71 -0
  14. data/app/assets/javascripts/ckeditor/skins/moonocolor/editor.css +1 -1
  15. data/app/assets/javascripts/ckeditor/skins/moonocolor/editor_gecko.css +1 -1
  16. data/app/assets/javascripts/ckeditor/skins/moonocolor/editor_ie.css +1 -1
  17. data/app/assets/javascripts/ckeditor/skins/moonocolor/editor_ie7.css +1 -1
  18. data/app/assets/javascripts/ckeditor/skins/moonocolor/editor_ie8.css +1 -1
  19. data/app/assets/javascripts/ckeditor/skins/moonocolor/editor_iequirks.css +1 -1
  20. data/app/assets/javascripts/ckeditor/skins/moonocolor/icons.png +0 -0
  21. data/app/assets/javascripts/ckeditor/skins/moonocolor/icons_hidpi.png +0 -0
  22. data/app/assets/javascripts/effective_ckeditor/config.js.coffee +4 -4
  23. data/lib/effective_ckeditor/version.rb +1 -1
  24. metadata +8 -6
  25. data/app/assets/javascripts/ckeditor/plugins/footnotes/plugin.js +0 -305
  26. data/app/assets/javascripts/ckeditor/plugins/tliyoutube/dialogs/tliyoutube.js +0 -7
@@ -1,7 +0,0 @@
1
- /*
2
- Modifica e usa come vuoi
3
-
4
- Creato da TurboLab.it - 01/01/2014 (buon anno!)
5
- */
6
- CKEDITOR.dialog.add("tliyoutubeDialog",function(c){return{title:"Insert YouTube video",minWidth:400,minHeight:75,contents:[{id:"tab-basic",label:"Basic Settings",elements:[{type:"text",id:"youtubeURL",label:"URL to YouTube video (should start with http:// or https://):"}]}],onOk:function(){var b=this.getValueOf("tab-basic","youtubeURL").trim().match(/v=([^&$]+)/i);if(null==b||""==b||""==b[0]||""==b[1])return alert("Invalid URL. Expecting something like:\n\n\t http://www.youtube.com/watch?v=abcdef \n\n Please copy & paste the youtube URL from your browser's location bar."),
7
- !1;var a=c.document.createElement("iframe");a.setAttribute("width","560");a.setAttribute("height","315");a.setAttribute("src","//www.youtube.com/embed/"+b[1]+"?rel=0");a.setAttribute("frameborder","0");a.setAttribute("allowfullscreen","1");c.insertElement(a)}}});