Skip to content

Commit

Permalink
Chore: Release of a new version v3.12.16🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmeeedMostafa committed Mar 5, 2021
1 parent 333dc75 commit e17132b
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 13 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -26,6 +26,11 @@ Types of changes:
- ...

-------------
## 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
### Improved
- The styles of footer for the editor with changing the full-screen icon.
Expand Down
4 changes: 2 additions & 2 deletions README.md
@@ -1,6 +1,6 @@
> 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)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![Scaleflex team](https://img.shields.io/badge/%3C%2F%3E%20with%20%E2%99%A5%20by-the%20Scaleflex%20team-6986fa.svg)](https://www.scaleflex.it/en/home)
Expand Down Expand Up @@ -140,7 +140,7 @@ or use your custom color scheme
Use the latest CDNized plugin version:

```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>
```

### <a name="quick_start"></a>Quick start
Expand Down

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions build/3/filerobot-image-editor.min.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions examples/js-with-cloudimage/README.md
Expand Up @@ -46,6 +46,10 @@ Your Cloudimage customer token.
Cloudimage account to get one. The subscription takes less than a
minute and is totally free.

#### `cloudimage.dontCleanQuery`: boolean (optional)

Normally the passed image's url's query is cleaned before processing to cloudimage url for avoiding conflicts or overriding, but with this property if you passed it `true` no query cleaning would be happen but it is not guaranteed that the results would be as expected.

#### `onComplete(url: string)`: function (required)

Callback, triggers on complete processing image.
Expand Down
4 changes: 3 additions & 1 deletion examples/js-with-filerobot/README.md
Expand Up @@ -50,14 +50,16 @@ minute and is totally free.

Filerobot Container name.

#### `filerobot.onSaveAs(triggerUpload: function)`: function (optional - but for showing saveAs button then it's required)
#### `filerobot.onSaveAs(triggerUpload: function, exitFullscreenModal: function)`: function (optional - but for showing saveAs button then it's required)

The save as new image button is shown when this function is provided, and it is called after clicking the save as button and before uploading process as uploading is called through manually through this function.

* `triggerUpload(overrides: object)`: function - The function that triggers the upload process to be handled from the plugin's side.

* **overrides**: object (default: {}) - Object which overrides the passed properties/values (uploadParams) at the filerobot config if it is not provided or some property is passed and another not the original property passed in the uploadParams object of filerobot config would be used. it accepts the exact properties of `filerobot.uploadParams` below.

* `exitFullscreenModal`: a callback function for closing the modal fullscreen off in case it is opened or fullscreened.

#### `filerobot.uploadParams`: object

* **dir**: string (default: '/') - specify the folder where you want to upload the file. If the folder doesn't exist, it will be created.
Expand Down
2 changes: 1 addition & 1 deletion examples/js/src/index.html
Expand Up @@ -297,7 +297,7 @@ <h2>Ready to get started?</h2>
Include the following script into your project
</p>
<figure class="highlight">
<pre><code class="javascript">&lt;script src="https://cdn.scaleflex.it/plugins/filerobot-image-editor/3.12.15/filerobot-image-editor.min.js"/&gt;&lt;/script&gt;</code></pre>
<pre><code class="javascript">&lt;script src="https://cdn.scaleflex.it/plugins/filerobot-image-editor/3.12.16/filerobot-image-editor.min.js"/&gt;&lt;/script&gt;</code></pre>
</figure>
</div>

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "filerobot-image-editor",
"version": "3.12.15",
"version": "3.12.16",
"main": "dist/index.js",
"description": "Edit, resize, and filter any image!",
"author": "scaleflex",
Expand Down

0 comments on commit e17132b

Please sign in to comment.