filerobot-image-editor
Advanced tools
Comparing version 3.12.15 to 3.12.16
@@ -29,2 +29,7 @@ # Changelog | ||
------------- | ||
## 3.12.16 - 2020-3-05 | ||
### Added | ||
- `exitFullscreenModal` callback function inside `onSaveAs` function for turning the fullscreen off in case it's opened. | ||
- `dontCleanQuery` property inside `cloudimage` object for avoid cleaning the query of the passed image's url and appending it to the cloudimage url. | ||
## 3.12.15 - 2020-2-25 | ||
@@ -38,7 +43,7 @@ ### Improved | ||
- `finishButtonLabel` for customizing the label of the finish button. | ||
- `imageName` & `imageMime` to the returned object in the callbacks passed in default/downlaod mode. | ||
- `imageName` & `imageMime` to the returned object in the callbacks passed in default/download mode. | ||
### Fixed | ||
- The icon of fullscreen at the footer which wasn't shown for some OS users. | ||
- The issue of not changing width or height of image before start editing. | ||
- The icon of fullscreen at the footer wasn't shown for some OS users. | ||
- The issue of not changing the width or height of the image before start editing. | ||
@@ -306,2 +311,2 @@ ## 3.12.14 - 2020-2-20 | ||
- possibility to change watermark input among url, gallery and file upload | ||
- possibility to change watermark input among url, gallery and file upload |
@@ -11,2 +11,3 @@ "use strict"; | ||
var toggleModalFullscreen = function toggleModalFullscreen(configElementId) { | ||
var exit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; | ||
// It should be .getElementById but it is not as user might have multiple blocks with same ID (which is not right) | ||
@@ -26,7 +27,7 @@ // but we do that for making sure right implementation most of the time | ||
if (!document.fullscreenElement) { | ||
if (!document.fullscreenElement && !exit) { | ||
element.requestFullscreen().catch(function (err) { | ||
alert("Error attempting to enable full-screen mode: ".concat(err.message, " (").concat(err.name, ")")); | ||
}); | ||
} else if (document.exitFullscreen) { | ||
} else if (document.exitFullscreen && document.fullscreenElement) { | ||
document.exitFullscreen(); | ||
@@ -33,0 +34,0 @@ } |
{ | ||
"name": "filerobot-image-editor", | ||
"version": "3.12.15", | ||
"version": "3.12.16", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "description": "Edit, resize, and filter any image!", |
> Repository includes React version and Vanilla JS adapter for standalone usage | ||
[![Release](https://img.shields.io/badge/release-v3.12.15-blue.svg)](https://github.com/scaleflex/filerobot-image-editor/releases) | ||
[![Release](https://img.shields.io/badge/release-v3.12.16-blue.svg)](https://github.com/scaleflex/filerobot-image-editor/releases) | ||
[![Contributions welcome](https://img.shields.io/badge/contributions-welcome-orange.svg)](#contributing) | ||
@@ -143,3 +143,3 @@ [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT) | ||
```html | ||
<script src="https://cdn.scaleflex.it/plugins/filerobot-image-editor/3.12.15/filerobot-image-editor.min.js"></script> | ||
<script src="https://cdn.scaleflex.it/plugins/filerobot-image-editor/3.12.16/filerobot-image-editor.min.js"></script> | ||
``` | ||
@@ -146,0 +146,0 @@ |
Sorry, the diff of this file is too big to display
795210
15462