Skip to content

Commit 88162aa

Browse files
committed
Bump v0.17.26
1 parent 39bfa5d commit 88162aa

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

dist/css/grapes.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/grapes.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/grapes.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/api/assets.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,16 @@ const assetManager = editor.AssetManager;
2020

2121
## Available Events
2222

23-
* `asset:add` - Added new asset. The [Asset] is passed as an argument to the callback.
23+
* `asset:open` - Asset Manager opened.
24+
* `asset:close` - Asset Manager closed.
2425
* `asset:remove` - Asset removed. The [Asset] is passed as an argument to the callback.
2526
* `asset:update` - Asset updated. The updated [Asset] and the object containing changes are passed as arguments to the callback.
2627
* `asset:upload:start` - Before the upload is started.
2728
* `asset:upload:end` - After the upload is ended.
2829
* `asset:upload:error` - On any error in upload, passes the error as an argument.
2930
* `asset:upload:response` - On upload response, passes the result as an argument.
3031
* `asset` - Catch-all event for all the events mentioned above. An object containing all the available data about the triggered event is passed as an argument to the callback.
32+
* `asset:custom` - Event for handling custom Asset Manager UI.
3133

3234
## Methods
3335

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "grapesjs",
33
"description": "Free and Open Source Web Builder Framework",
4-
"version": "0.17.25",
4+
"version": "0.17.26",
55
"author": "Artur Arseniev",
66
"license": "BSD-3-Clause",
77
"homepage": "http://grapesjs.com",
@@ -103,7 +103,6 @@
103103
"build": "npm run check && run-s build:*",
104104
"build:js": "grapesjs-cli build --targets=\"> 1%, ie 11, safari 8, not dead\" --statsOutput=\"stats.json\" --localePath=\"src/i18n/locale\"",
105105
"build:css": "sass src/styles/scss/main.scss dist/css/grapes.min.css --no-source-map --style=compressed --load-path=node_modules",
106-
"build:locale": "rm -rf ./locale && node scripts/build-locale.js && babel locale -d locale --copy-files --no-comments",
107106
"start": "run-p start:*",
108107
"start:js": "grapesjs-cli serve",
109108
"start:css": "npm run build:css -- --watch",

webpack.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export default ({ config }) => ({
99
...config.output,
1010
filename: 'grapes.min.js',
1111
libraryExport: 'default',
12-
globalObject: `typeof globalThis !== 'undefined' ? globalThis : (typeof window !== 'undefined' ? window : this)`,
1312
},
1413
devServer: {
1514
headers: { 'Access-Control-Allow-Origin': '*' },

0 commit comments

Comments
 (0)