Skip to content

Commit 98cdf03

Browse files
committed
Bump v1.0.5
1 parent bc1f778 commit 98cdf03

File tree

5 files changed

+13
-7
lines changed

5 files changed

+13
-7
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ Demo: http://grapesjs.com/demo.html
2727
'style.css': ed => ed.getCss(),
2828
'some-file.txt': 'My custom content',
2929
},
30+
img: async ed => {
31+
const images = await fetchImagesByStructue(ed.getComponents());
32+
return images;
33+
// Where `images` is an object like this:
34+
// { 'img1.png': '...png content', 'img2.jpg': '...jpg content' }
35+
},
3036
'index.html': ed => `<body>${ed.getHtml()}</body>`
3137
}
3238
`

dist/grapesjs-plugin-export.min.js

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

dist/grapesjs-plugin-export.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.

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "grapesjs-plugin-export",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "Export GrapesJS templates to ZIP",
55
"main": "dist/grapesjs-plugin-export.min.js",
66
"scripts": {

0 commit comments

Comments
 (0)