Skip to content

Commit

Permalink
Bump v1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
artf committed Sep 20, 2018
1 parent bc1f778 commit 98cdf03
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ Demo: http://grapesjs.com/demo.html
'style.css': ed => ed.getCss(),
'some-file.txt': 'My custom content',
},
img: async ed => {
const images = await fetchImagesByStructue(ed.getComponents());
return images;
// Where `images` is an object like this:
// { 'img1.png': '...png content', 'img2.jpg': '...jpg content' }
},
'index.html': ed => `<body>${ed.getHtml()}</body>`
}
`
Expand Down
8 changes: 4 additions & 4 deletions dist/grapesjs-plugin-export.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/grapesjs-plugin-export.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "grapesjs-plugin-export",
"version": "1.0.4",
"version": "1.0.5",
"description": "Export GrapesJS templates to ZIP",
"main": "dist/grapesjs-plugin-export.min.js",
"scripts": {
Expand Down

0 comments on commit 98cdf03

Please sign in to comment.