Fix GrapeJS image resizing
This commit is contained in:
parent
94897b18fd
commit
c7427596b1
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@
|
|||
var encodedSrc = (s && s[1]) || encodeURIComponent(src);
|
||||
var dynamicSrc = '/editorapi/img?src=' + encodedSrc + '&method=resize¶ms=' + $(this).width() + '%2C' + $(this).height();
|
||||
imgs.push({
|
||||
cls: $(this).attr('class'),
|
||||
cls: $(this).attr('class').split(' ')[0],
|
||||
dynamicSrc: dynamicSrc,
|
||||
src: src,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue