aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/bower_components/ckeditor/plugins/embedsemantic
diff options
context:
space:
mode:
authorMarvin Borner2018-07-13 19:06:45 +0200
committerMarvin Borner2018-07-13 19:06:45 +0200
commit6fcfb7c04d32e1c8b26a312295bf7ac3ec2d2ad7 (patch)
treedbc87ef16fa01d5d99116de283592b8fe5e02944 /public/bower_components/ckeditor/plugins/embedsemantic
parentdfd839f27146df0ad0494e11734fc7d310c70ebf (diff)
Fixed many permissions and began admin interface
Diffstat (limited to 'public/bower_components/ckeditor/plugins/embedsemantic')
-rw-r--r--public/bower_components/ckeditor/plugins/embedsemantic/icons/embedsemantic.pngbin0 -> 389 bytes
-rw-r--r--public/bower_components/ckeditor/plugins/embedsemantic/icons/hidpi/embedsemantic.pngbin0 -> 728 bytes
-rw-r--r--public/bower_components/ckeditor/plugins/embedsemantic/plugin.js7
3 files changed, 7 insertions, 0 deletions
diff --git a/public/bower_components/ckeditor/plugins/embedsemantic/icons/embedsemantic.png b/public/bower_components/ckeditor/plugins/embedsemantic/icons/embedsemantic.png
new file mode 100644
index 0000000..9a9a735
--- /dev/null
+++ b/public/bower_components/ckeditor/plugins/embedsemantic/icons/embedsemantic.png
Binary files differ
diff --git a/public/bower_components/ckeditor/plugins/embedsemantic/icons/hidpi/embedsemantic.png b/public/bower_components/ckeditor/plugins/embedsemantic/icons/hidpi/embedsemantic.png
new file mode 100644
index 0000000..97dc754
--- /dev/null
+++ b/public/bower_components/ckeditor/plugins/embedsemantic/icons/hidpi/embedsemantic.png
Binary files differ
diff --git a/public/bower_components/ckeditor/plugins/embedsemantic/plugin.js b/public/bower_components/ckeditor/plugins/embedsemantic/plugin.js
new file mode 100644
index 0000000..ab2458c
--- /dev/null
+++ b/public/bower_components/ckeditor/plugins/embedsemantic/plugin.js
@@ -0,0 +1,7 @@
+/*
+ Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
+*/
+(function(){CKEDITOR.plugins.add("embedsemantic",{icons:"embedsemantic",hidpi:!0,requires:"embedbase",onLoad:function(){this.registerOembedTag()},init:function(a){var b=CKEDITOR.plugins.embedBase.createWidgetBaseDefinition(a),d=b.init;CKEDITOR.tools.extend(b,{dialog:"embedBase",button:a.lang.embedbase.button,allowedContent:"oembed",requiredContent:"oembed",styleableElements:"oembed",providerUrl:new CKEDITOR.template(a.config.embed_provider||"//ckeditor.iframe.ly/api/oembed?url\x3d{url}\x26callback\x3d{callback}"),
+init:function(){var e=this;d.call(this);this.once("ready",function(){this.data.loadOnReady&&this.loadContent(this.data.url,{callback:function(){e.setData("loadOnReady",!1);a.fire("updateSnapshot")}})})},upcast:function(a,b){if("oembed"==a.name){var c=a.children[0];if(c&&c.type==CKEDITOR.NODE_TEXT&&c.value)return b.url=c.value,b.loadOnReady=!0,c=new CKEDITOR.htmlParser.element("div"),a.replaceWith(c),c.attributes["class"]=a.attributes["class"],c}},downcast:function(a){var b=new CKEDITOR.htmlParser.element("oembed");
+b.add(new CKEDITOR.htmlParser.text(this.data.url));a.attributes["class"]&&(b.attributes["class"]=a.attributes["class"]);return b}},!0);a.widgets.add("embedSemantic",b)},registerOembedTag:function(){var a=CKEDITOR.dtd,b;a.oembed={"#":1};for(b in a)a[b].div&&(a[b].oembed=1)}})})(); \ No newline at end of file