Laravel version update
Laravel version update
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.dialog.add("embedBase",function(b){var c=b.lang.embedbase;return{title:c.title,minWidth:350,minHeight:50,onLoad:function(){function e(){a.setState(CKEDITOR.DIALOG_STATE_IDLE);d=null}var a=this,d=null;this.on("ok",function(f){f.data.hide=!1;f.stop();a.setState(CKEDITOR.DIALOG_STATE_BUSY);var c=a.getValueOf("info","url");d=a.widget.loadContent(c,{noNotifications:!0,callback:function(){a.widget.isReady()||b.widgets.finalizeCreation(a.widget.wrapper.getParent(!0));b.fire("saveSnapshot");a.hide();
|
||||
e()},errorCallback:function(b){a.getContentElement("info","url").select();alert(a.widget.getErrorMessage(b,c,"Given"));e()}})},null,null,15);this.on("cancel",function(a){a.data.hide&&d&&(d.cancel(),e())})},contents:[{id:"info",elements:[{type:"text",id:"url",label:b.lang.common.url,setup:function(b){this.setValue(b.data.url)},validate:function(){return this.getDialog().widget.isUrlValid(this.getValue())?!0:c.unsupportedUrlGiven}}]}]}});
|
||||
e()},errorCallback:function(b){a.getContentElement("info","url").select();alert(a.widget.getErrorMessage(b,c,"Given"));e()}})},null,null,15);this.on("cancel",function(a){a.data.hide&&d&&(d.cancel(),e())})},contents:[{id:"info",elements:[{type:"text",id:"url",label:b.lang.common.url,required:!0,setup:function(b){this.setValue(b.data.url)},validate:function(){return this.getDialog().widget.isUrlValid(this.getValue())?!0:c.unsupportedUrlGiven}}]}]}});
|
1
vendor/unisharp/laravel-ckeditor/plugins/embedbase/lang/az.js
vendored
Normal file
1
vendor/unisharp/laravel-ckeditor/plugins/embedbase/lang/az.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
CKEDITOR.plugins.setLang("embedbase","az",{pathName:"Multimedia obyektləri",title:"Multimedia obyektlərin quraşdırılması",button:"Multimedia obyekti quraşdır",unsupportedUrlGiven:"Daxil etdiyiniz linki dəstəklənmir",unsupportedUrl:"{url} linki quraşdırıla bilməz",fetchingFailedGiven:"Daxil etdiyiniz linkdən gələn məlumat yanlışdır",fetchingFailed:"{url} linkdən gələn məlumat yanlışdır",fetchingOne:"oEmbed tərəfindən cavabın yoxlanması...",fetchingMany:"oEmbed tərəfindən cavabların yoxlanması, {max}-dan {current} yerinə yetirilib..."});
|
1
vendor/unisharp/laravel-ckeditor/plugins/embedbase/lang/ca.js
vendored
Normal file
1
vendor/unisharp/laravel-ckeditor/plugins/embedbase/lang/ca.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
CKEDITOR.plugins.setLang("embedbase","ca",{pathName:"objecte multimèdia",title:"Objecte multimèdia incrustat",button:"Inserir objecte multimèdia incrustat",unsupportedUrlGiven:"La URL especificada no és compatible.",unsupportedUrl:"La URL {url} no és compatible pels objectes multimèdia incrustats.",fetchingFailedGiven:"No s'ha pogut obtenir el contingut de la URL especificada.",fetchingFailed:"No s'ha pogut obtenir el contingut de {url}.",fetchingOne:"Recuperant resposta de oEmbed...",fetchingMany:"Recuperant respostes dels oEmbed, {current} de {max} finalitzats..."});
|
1
vendor/unisharp/laravel-ckeditor/plugins/embedbase/lang/de-ch.js
vendored
Normal file
1
vendor/unisharp/laravel-ckeditor/plugins/embedbase/lang/de-ch.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
CKEDITOR.plugins.setLang("embedbase","de-ch",{pathName:"Medienobjekt",title:"Media Embed (Medieninhalte)",button:"Medieninhalte einfügen",unsupportedUrlGiven:"Die angegebene URL wird nicht unterstützt.",unsupportedUrl:"Die URL {url} wird von Media Embed nicht unterstützt.",fetchingFailedGiven:"Abrufen des Inhalts für die angegebene URL ist fehlgeschlagen.",fetchingFailed:"Abrufen des Inhalts für {url} ist fehlgeschlagen.",fetchingOne:"Empfangen der Medieninhalte...",fetchingMany:"Medieninhalte werden abgerufen, {current} von {max} empfangen..."});
|
@@ -1 +1 @@
|
||||
CKEDITOR.plugins.setLang("embedbase","de",{pathName:"Medienobjekt",title:"Media Embed",button:"Insert Media Embed",unsupportedUrlGiven:"Die angegebene URL wird nicht unterstützt.",unsupportedUrl:"The URL {url} is not supported by Media Embed.",fetchingFailedGiven:"Abrufen des Inhalts für die angegebene URL ist fehlgeschlagen.",fetchingFailed:"Abrufen des Inhalts für {url} ist fehlgeschlagen.",fetchingOne:"Fetching oEmbed response...",fetchingMany:"Fetching oEmbed responses, {current} of {max} done..."});
|
||||
CKEDITOR.plugins.setLang("embedbase","de",{pathName:"Medienobjekt",title:"Media Embed (Medieninhalte)",button:"Medieninhalte einfügen",unsupportedUrlGiven:"Die angegebene URL wird nicht unterstützt.",unsupportedUrl:"Die URL {url} wird von Media Embed nicht unterstützt.",fetchingFailedGiven:"Abrufen des Inhalts für die angegebene URL ist fehlgeschlagen.",fetchingFailed:"Abrufen des Inhalts für {url} ist fehlgeschlagen.",fetchingOne:"Empfangen der Medieninhalte...",fetchingMany:"Medieninhalte werden abgerufen, {current} von {max} empfangen..."});
|
1
vendor/unisharp/laravel-ckeditor/plugins/embedbase/lang/es-mx.js
vendored
Normal file
1
vendor/unisharp/laravel-ckeditor/plugins/embedbase/lang/es-mx.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
CKEDITOR.plugins.setLang("embedbase","es-mx",{pathName:"objeto multimedia",title:"Empotrar multimedia",button:"Insertar multimedia empotrado",unsupportedUrlGiven:"La URL especificada no es soportada.",unsupportedUrl:"La URL {url} no es soportada para empotrar multimedia",fetchingFailedGiven:"No se pudo obtener el contenido de la URL dada.",fetchingFailed:"No se pudo obtener el contenido de {url}.",fetchingOne:"Recuperar o Incrustar respuesta ...",fetchingMany:"Recuperar o Incrustar respuestas, {current} de {max} listo..."});
|
1
vendor/unisharp/laravel-ckeditor/plugins/embedbase/lang/es.js
vendored
Normal file
1
vendor/unisharp/laravel-ckeditor/plugins/embedbase/lang/es.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
CKEDITOR.plugins.setLang("embedbase","es",{pathName:"objeto media",title:"Media incrustado",button:"Insertar Media incrustado",unsupportedUrlGiven:"La URL especificada no está soportada.",unsupportedUrl:"La URL {url} no está soportada por Medio Inscrustado.",fetchingFailedGiven:"Fallo al recuperar el contenido de la URL dada.",fetchingFailed:"Fallo al recuperar contenido de {url}.",fetchingOne:"Recuperando respuesta oEmbed...",fetchingMany:"Recuperando respuestas oEmbed, {current} de {max} hecho..."});
|
@@ -1 +1 @@
|
||||
CKEDITOR.plugins.setLang("embedbase","fr",{pathName:"objet média",title:"Média Intégré",button:"Insérer le média intégré",unsupportedUrlGiven:"L'URL spécifiée n'est pas supportée.",unsupportedUrl:"L'URL {url} n'est pas supportée par Média Intégré",fetchingFailedGiven:"Échec de la récupération du contenu de l'URL donnée.",fetchingFailed:"Échec de la récupération du contenu pour {url}.",fetchingOne:"Récupération de la réponse oEmbed...",fetchingMany:"Récupération des réponse oEmbed, {current} sur {max} effectué..."});
|
||||
CKEDITOR.plugins.setLang("embedbase","fr",{pathName:"objet média",title:"Incorporation de média",button:"Incorporer un média",unsupportedUrlGiven:"L'URL spécifiée n'est pas supportée.",unsupportedUrl:"L'URL {url} n'est pas supportée par l'incorporation de média.",fetchingFailedGiven:"Échec de la récupération du contenu de l'URL donnée.",fetchingFailed:"Échec de la récupération du contenu pour {url}.",fetchingOne:"Récupération de la réponse oEmbed...",fetchingMany:"Récupération des réponses oEmbed, {current} sur {max} effectué..."});
|
1
vendor/unisharp/laravel-ckeditor/plugins/embedbase/lang/hr.js
vendored
Normal file
1
vendor/unisharp/laravel-ckeditor/plugins/embedbase/lang/hr.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
CKEDITOR.plugins.setLang("embedbase","hr",{pathName:"objekt medija",title:"Media Embed",button:"Umetanje Media Embed",unsupportedUrlGiven:"Navedeni URL nije podržan",unsupportedUrl:"URL {url} nije podržan od strane Media Embed-a.",fetchingFailedGiven:"Nije moguće dohvatiti sadržaj danog URL-a.",fetchingFailed:"Nije moguće dohvatiti sadržaj za {url}.",fetchingOne:"Dohvaćanje oEmbed odgovora...",fetchingMany:"Dohvaćanje oEmbed odgovora, {current} od {max} gotovo..."});
|
1
vendor/unisharp/laravel-ckeditor/plugins/embedbase/lang/hu.js
vendored
Normal file
1
vendor/unisharp/laravel-ckeditor/plugins/embedbase/lang/hu.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
CKEDITOR.plugins.setLang("embedbase","hu",{pathName:"média objektum",title:"Média beágyazása",button:"Beágyazott média beszúrása",unsupportedUrlGiven:"A megadott URL nem támogatott.",unsupportedUrl:"Az URL-t {url} a média beágyazása nem támogatja.",fetchingFailedGiven:"Nem sikerült a megadott URL-hez tartalmat kinyerni.",fetchingFailed:"Nem sikerült az {url}-nek a tartalmát kinyerni.",fetchingOne:"oEmbed válasz kinyerése...",fetchingMany:"oEmbed válasz kinyerése folyamatban, {current} a {max}-ból kész..."});
|
1
vendor/unisharp/laravel-ckeditor/plugins/embedbase/lang/ja.js
vendored
Normal file
1
vendor/unisharp/laravel-ckeditor/plugins/embedbase/lang/ja.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
CKEDITOR.plugins.setLang("embedbase","ja",{pathName:"media object",title:"Media Embed",button:"Insert Media Embed",unsupportedUrlGiven:"指定されたURLはサポートされていません。",unsupportedUrl:"The URL {url} is not supported by Media Embed.",fetchingFailedGiven:"Failed to fetch content for the given URL.",fetchingFailed:"Failed to fetch content for {url}.",fetchingOne:"Fetching oEmbed response...",fetchingMany:"Fetching oEmbed responses, {current} of {max} done..."});
|
1
vendor/unisharp/laravel-ckeditor/plugins/embedbase/lang/oc.js
vendored
Normal file
1
vendor/unisharp/laravel-ckeditor/plugins/embedbase/lang/oc.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
CKEDITOR.plugins.setLang("embedbase","oc",{pathName:"objècte mèdia",title:"Incorporacion de mèdia",button:"Incorporar un mèdia",unsupportedUrlGiven:"L'URL especificada es pas suportada.",unsupportedUrl:"L'URL {url} es pas suportada per l'incorporacion de mèdia.",fetchingFailedGiven:"Fracàs de la recuperacion del contengut de l'URL donada.",fetchingFailed:"Fracàs de la recuperacion del contengut per {url}.",fetchingOne:"Recuperacion de la responsa oEmbed...",fetchingMany:"Recuperacion de las responsas oEmbed, {current} sus {max} efectuat..."});
|
1
vendor/unisharp/laravel-ckeditor/plugins/embedbase/lang/pt.js
vendored
Normal file
1
vendor/unisharp/laravel-ckeditor/plugins/embedbase/lang/pt.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
CKEDITOR.plugins.setLang("embedbase","pt",{pathName:"objeto de media",title:"Embeber media",button:"Insert Media Embed",unsupportedUrlGiven:"O URL especificado não é suportado.",unsupportedUrl:"The URL {url} is not supported by Media Embed.",fetchingFailedGiven:"Failed to fetch content for the given URL.",fetchingFailed:"Failed to fetch content for {url}.",fetchingOne:"Fetching oEmbed response...",fetchingMany:"Fetching oEmbed responses, {current} of {max} done..."});
|
1
vendor/unisharp/laravel-ckeditor/plugins/embedbase/lang/sk.js
vendored
Normal file
1
vendor/unisharp/laravel-ckeditor/plugins/embedbase/lang/sk.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
CKEDITOR.plugins.setLang("embedbase","sk",{pathName:"media objekt",title:"Media Embed",button:"Vložte Media Embed",unsupportedUrlGiven:"Zadaná URL nie je podporovaná.",unsupportedUrl:"URL {url} nie je podporovaná Media Embedom.",fetchingFailedGiven:"Nepodarilo sa získať obsah zo zadanej URL.",fetchingFailed:"Nepodarilo sa získať obsah z {url}.",fetchingOne:"Získavanie oEmbed odpovede...",fetchingMany:"Získavanie oEmbed odpovede, {current} z {max} hotových..."});
|
@@ -1 +1 @@
|
||||
CKEDITOR.plugins.setLang("embedbase","sv",{pathName:"mediaobjekt",title:"Media Embed",button:"Insert Media Embed",unsupportedUrlGiven:"Den angivna URL:en stöds inte.",unsupportedUrl:"The URL {url} is not supported by Media Embed.",fetchingFailedGiven:"Lyckades inte hämta innehållet från den angivna URL:en.",fetchingFailed:"Lyckades inte hämta innehåll från {url}.",fetchingOne:"Hämtar oEmbed-svar...",fetchingMany:"Hämtar oEmbed-svar, {current} av {max} färdiga..."});
|
||||
CKEDITOR.plugins.setLang("embedbase","sv",{pathName:"mediaobjekt",title:"Mediainbäddning",button:"Lägg in mediainbäddning",unsupportedUrlGiven:"Den angivna URL:en stöds inte.",unsupportedUrl:"URL:en {url} stöds inte av mediainbäddningen.",fetchingFailedGiven:"Lyckades inte hämta innehållet från den angivna URL:en.",fetchingFailed:"Lyckades inte hämta innehåll från {url}.",fetchingOne:"Hämtar oEmbed-svar...",fetchingMany:"Hämtar oEmbed-svar, {current} av {max} färdiga..."});
|
@@ -1 +1 @@
|
||||
CKEDITOR.plugins.setLang("embedbase","zh-cn",{pathName:"媒体对象",title:"嵌入媒体",button:"插入媒体",unsupportedUrlGiven:"不支持指定的 URL。",unsupportedUrl:"嵌入媒体不支持此 URL {url}。",fetchingFailedGiven:"无法抓取此 URL 的内容。",fetchingFailed:"无法抓取 {url} 的内容。",fetchingOne:"正在抓取……",fetchingMany:"正在抓取,{max} 中的 {current} ……"});
|
||||
CKEDITOR.plugins.setLang("embedbase","zh-cn",{pathName:"媒体对象",title:"嵌入媒体",button:"插入媒体",unsupportedUrlGiven:"不支持指定的 URL",unsupportedUrl:"嵌入媒体不支持此 URL {url}",fetchingFailedGiven:"无法抓取此 URL 的内容",fetchingFailed:"无法抓取 {url} 的内容",fetchingOne:"正在抓取...",fetchingMany:"正在抓取,{max} 中的 {current} ..."});
|
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
|
||||
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
(function(){CKEDITOR.plugins.add("embedbase",{lang:"cs,da,de,en,eo,eu,fr,gl,id,it,ko,ku,nb,nl,pl,pt-br,ru,sv,tr,ug,uk,zh,zh-cn",requires:"widget,notificationaggregator",onLoad:function(){CKEDITOR._.jsonpCallbacks={}},init:function(){CKEDITOR.dialog.add("embedBase",this.path+"dialogs/embedbase.js")}});var l={_attachScript:function(e,c){var d=new CKEDITOR.dom.element("script");d.setAttribute("src",e);d.on("error",c);CKEDITOR.document.getBody().append(d);return d},sendRequest:function(e,c,d,a){function b(){g&&
|
||||
(g.remove(),delete CKEDITOR._.jsonpCallbacks[h],g=null)}var k={};c=c||{};var h=CKEDITOR.tools.getNextNumber(),g;c.callback="CKEDITOR._.jsonpCallbacks["+h+"]";CKEDITOR._.jsonpCallbacks[h]=function(a){setTimeout(function(){b();d(a)})};g=this._attachScript(e.output(c),function(){b();a&&a()});k.cancel=b;return k}};CKEDITOR.plugins.embedBase={createWidgetBaseDefinition:function(e){var c,d=e.lang.embedbase;return{mask:!0,template:"\x3cdiv\x3e\x3c/div\x3e",pathName:d.pathName,_cache:{},urlRegExp:/^((https?:)?\/\/|www\.)/i,
|
||||
init:function(){this.on("sendRequest",function(a){this._sendRequest(a.data)},this,null,999);this.on("dialog",function(a){a.data.widget=this},this);this.on("handleResponse",function(a){if(!a.data.html){var b=this._responseToHtml(a.data.url,a.data.response);null!==b?a.data.html=b:(a.data.errorMessage="unsupportedUrl",a.cancel())}},this,null,999)},loadContent:function(a,b){function c(e){f.response=e;d.editor.widgets.instances[d.id]?d._handleResponse(f)&&(d._cacheResponse(a,e),b.callback&&b.callback()):
|
||||
(CKEDITOR.warn("embedbase-widget-invalid"),f.task&&f.task.done())}b=b||{};var d=this,e=this._getCachedResponse(a),f={noNotifications:b.noNotifications,url:a,callback:c,errorCallback:function(a){d._handleError(f,a);b.errorCallback&&b.errorCallback(a)}};if(e)setTimeout(function(){c(e)});else return b.noNotifications||(f.task=this._createTask()),this.fire("sendRequest",f),f},isUrlValid:function(a){return this.urlRegExp.test(a)&&!1!==this.fire("validateUrl",a)},getErrorMessage:function(a,b,c){(c=e.lang.embedbase[a+
|
||||
(c||"")])||(c=a);return(new CKEDITOR.template(c)).output({url:b||""})},_sendRequest:function(a){var b=this,c=l.sendRequest(this.providerUrl,{url:encodeURIComponent(a.url)},a.callback,function(){a.errorCallback("fetchingFailed")});a.cancel=function(){c.cancel();b.fire("requestCanceled",a)}},_handleResponse:function(a){var b={url:a.url,html:"",response:a.response};if(!1!==this.fire("handleResponse",b))return a.task&&a.task.done(),this._setContent(a.url,b.html),!0;a.errorCallback(b.errorMessage);return!1},
|
||||
_handleError:function(a,b){a.task&&(a.task.cancel(),a.noNotifications||e.showNotification(this.getErrorMessage(b,a.url),"warning"))},_responseToHtml:function(a,b){return"photo"==b.type?'\x3cimg src\x3d"'+CKEDITOR.tools.htmlEncodeAttr(b.url)+'" alt\x3d"'+CKEDITOR.tools.htmlEncodeAttr(b.title||"")+'" style\x3d"max-width:100%;height:auto" /\x3e':"video"==b.type||"rich"==b.type?b.html:null},_setContent:function(a,b){this.setData("url",a);this.element.setHtml(b)},_createTask:function(){if(!c||c.isFinished())c=
|
||||
new CKEDITOR.plugins.notificationAggregator(e,d.fetchingMany,d.fetchingOne),c.on("finished",function(){c.notification.hide()});return c.createTask()},_cacheResponse:function(a,b){this._cache[a]=b},_getCachedResponse:function(a){return this._cache[a]}}},_jsonp:l}})();
|
||||
(function(){var l={_attachScript:function(e,c){var d=new CKEDITOR.dom.element("script");d.setAttribute("src",e);d.on("error",c);CKEDITOR.document.getBody().append(d);return d},sendRequest:function(e,c,d,a){function b(){g&&(g.remove(),delete CKEDITOR._.jsonpCallbacks[h],g=null)}var k={};c=c||{};var h=CKEDITOR.tools.getNextNumber(),g;c.callback="CKEDITOR._.jsonpCallbacks["+h+"]";CKEDITOR._.jsonpCallbacks[h]=function(a){setTimeout(function(){b();d(a)})};g=this._attachScript(e.output(c),function(){b();
|
||||
a&&a()});k.cancel=b;return k}};CKEDITOR.plugins.add("embedbase",{lang:"az,ca,cs,da,de,de-ch,en,eo,es,es-mx,eu,fr,gl,hr,hu,id,it,ja,ko,ku,nb,nl,oc,pl,pt,pt-br,ru,sk,sv,tr,ug,uk,zh,zh-cn",requires:"dialog,widget,notificationaggregator",onLoad:function(){CKEDITOR._.jsonpCallbacks={}},init:function(){CKEDITOR.dialog.add("embedBase",this.path+"dialogs/embedbase.js")}});CKEDITOR.plugins.embedBase={createWidgetBaseDefinition:function(e){var c,d=e.lang.embedbase;return{mask:!0,template:"\x3cdiv\x3e\x3c/div\x3e",
|
||||
pathName:d.pathName,_cache:{},urlRegExp:/^((https?:)?\/\/|www\.)/i,init:function(){this.on("sendRequest",function(a){this._sendRequest(a.data)},this,null,999);this.on("dialog",function(a){a.data.widget=this},this);this.on("handleResponse",function(a){if(!a.data.html){var b=this._responseToHtml(a.data.url,a.data.response);null!==b?a.data.html=b:(a.data.errorMessage="unsupportedUrl",a.cancel())}},this,null,999)},loadContent:function(a,b){function c(e){f.response=e;d.editor.widgets.instances[d.id]?d._handleResponse(f)&&
|
||||
(d._cacheResponse(a,e),b.callback&&b.callback()):(CKEDITOR.warn("embedbase-widget-invalid"),f.task&&f.task.done())}b=b||{};var d=this,e=this._getCachedResponse(a),f={noNotifications:b.noNotifications,url:a,callback:c,errorCallback:function(a){d._handleError(f,a);b.errorCallback&&b.errorCallback(a)}};if(e)setTimeout(function(){c(e)});else return b.noNotifications||(f.task=this._createTask()),this.fire("sendRequest",f),f},isUrlValid:function(a){return this.urlRegExp.test(a)&&!1!==this.fire("validateUrl",
|
||||
a)},getErrorMessage:function(a,b,c){(c=e.lang.embedbase[a+(c||"")])||(c=a);return(new CKEDITOR.template(c)).output({url:b||""})},_sendRequest:function(a){var b=this,c=l.sendRequest(this.providerUrl,{url:encodeURIComponent(a.url)},a.callback,function(){a.errorCallback("fetchingFailed")});a.cancel=function(){c.cancel();b.fire("requestCanceled",a)}},_handleResponse:function(a){var b={url:a.url,html:"",response:a.response};if(!1!==this.fire("handleResponse",b))return a.task&&a.task.done(),this._setContent(a.url,
|
||||
b.html),!0;a.errorCallback(b.errorMessage);return!1},_handleError:function(a,b){a.task&&(a.task.cancel(),a.noNotifications||e.showNotification(this.getErrorMessage(b,a.url),"warning"))},_responseToHtml:function(a,b){return"photo"==b.type?'\x3cimg src\x3d"'+CKEDITOR.tools.htmlEncodeAttr(b.url)+'" alt\x3d"'+CKEDITOR.tools.htmlEncodeAttr(b.title||"")+'" style\x3d"max-width:100%;height:auto" /\x3e':"video"==b.type||"rich"==b.type?(b.html=b.html.replace(/<iframe/g,'\x3ciframe tabindex\x3d"-1"'),b.html):
|
||||
null},_setContent:function(a,b){this.setData("url",a);this.element.setHtml(b)},_createTask:function(){if(!c||c.isFinished())c=new CKEDITOR.plugins.notificationAggregator(e,d.fetchingMany,d.fetchingOne),c.on("finished",function(){c.notification.hide()});return c.createTask()},_cacheResponse:function(a,b){this._cache[a]=b},_getCachedResponse:function(a){return this._cache[a]}}},_jsonp:l}})();
|
Reference in New Issue
Block a user