From b1e3b27d3b6a2296805d395f0cdc266d9471577d Mon Sep 17 00:00:00 2001 From: Stefan Neculai Date: Thu, 25 May 2017 11:21:51 +0000 Subject: [PATCH] Prepare release 2.6.1. --- js/third_party/image_aviary.min.js | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 js/third_party/image_aviary.min.js diff --git a/js/third_party/image_aviary.min.js b/js/third_party/image_aviary.min.js new file mode 100644 index 000000000..2058d6fde --- /dev/null +++ b/js/third_party/image_aviary.min.js @@ -0,0 +1,7 @@ +/*! + * froala_editor v2.6.1 (https://www.froala.com/wysiwyg-editor) + * License https://froala.com/wysiwyg-editor/terms/ + * Copyright 2014-2017 Froala Labs + */ + +!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&module.exports?module.exports=function(b,c){return void 0===c&&(c="undefined"!=typeof window?require("jquery"):require("jquery")(b)),a(c)}:a(window.jQuery)}(function(a){if(a.extend(a.FE.DEFAULTS,{aviaryKey:"542e1ff5d5144b9b81cef846574ba6cf",aviaryScriptURL:"https://dme0ih8comzn4.cloudfront.net/imaging/v3/editor.js"}),a.FE.PLUGINS.imageAviary=function(b){function c(a,b){var c=document.createElement("script");c.type="text/javascript",c.src=a,c.innerText="",c.onload=b,document.getElementsByTagName("head")[0].appendChild(c)}function d(){c(b.opts.aviaryScriptURL,e)}function e(){g=new Aviary.Feather({apiKey:b.opts.aviaryKey,displayImageSize:!0,theme:"minimum",onSave:function(c,d){var e=new Image;e.crossOrigin="Anonymous",e.onload=function(){var c=document.createElement("CANVAS"),d=c.getContext("2d");c.height=this.height,c.width=this.width,d.drawImage(this,0,0);for(var e=c.toDataURL("image/png"),f=atob(e.split(",")[1]),i=[],j=0;j-1&&a.FE.DEFAULTS.imageEditButtons.splice(a.FE.DEFAULTS.imageEditButtons.indexOf("imageStyle"),1),a.FE.DEFAULTS.imageEditButtons.push("aviary")}); \ No newline at end of file diff --git a/package.json b/package.json index 05e04bb71..702f1c065 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "froala-editor", - "version": "2.6.0", + "version": "2.6.1", "description": "A beautiful jQuery WYSIWYG HTML rich text editor. High performance and modern design make it easy to use for developers and loved by users.", "keywords": [ "froala",