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.
- checksums.yaml +4 -4
- data/app/assets/javascripts/HOW_TO_UPGRADE_CKEDITOR.txt +0 -10
- data/app/assets/javascripts/ckeditor/build-config.js +51 -52
- data/app/assets/javascripts/ckeditor/ckeditor.js +23 -9
- data/app/assets/javascripts/ckeditor/lang/en.js +1 -1
- data/app/assets/javascripts/ckeditor/plugins/{footnotes/dialogs/footnotes.js → effective_references/dialogs/references.js} +37 -38
- data/app/assets/javascripts/ckeditor/plugins/{footnotes/icons/footnotes.png → effective_references/icons/effectivereferences.png} +0 -0
- data/app/assets/javascripts/ckeditor/plugins/effective_references/plugin.js +300 -0
- data/app/assets/javascripts/ckeditor/plugins/icons.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/icons_hidpi.png +0 -0
- data/app/assets/javascripts/ckeditor/plugins/oembed/LICENSE.md +21 -0
- data/app/assets/javascripts/ckeditor/plugins/oembed/README.md +201 -0
- data/app/assets/javascripts/ckeditor/plugins/oembed/libs/jquery.oembed.min.js +71 -0
- data/app/assets/javascripts/ckeditor/skins/moonocolor/editor.css +1 -1
- data/app/assets/javascripts/ckeditor/skins/moonocolor/editor_gecko.css +1 -1
- data/app/assets/javascripts/ckeditor/skins/moonocolor/editor_ie.css +1 -1
- data/app/assets/javascripts/ckeditor/skins/moonocolor/editor_ie7.css +1 -1
- data/app/assets/javascripts/ckeditor/skins/moonocolor/editor_ie8.css +1 -1
- data/app/assets/javascripts/ckeditor/skins/moonocolor/editor_iequirks.css +1 -1
- data/app/assets/javascripts/ckeditor/skins/moonocolor/icons.png +0 -0
- data/app/assets/javascripts/ckeditor/skins/moonocolor/icons_hidpi.png +0 -0
- data/app/assets/javascripts/effective_ckeditor/config.js.coffee +4 -4
- data/lib/effective_ckeditor/version.rb +1 -1
- metadata +8 -6
- data/app/assets/javascripts/ckeditor/plugins/footnotes/plugin.js +0 -305
- 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)}}});
|