Skip to content

Commit e8fbde9

Browse files
nkCreationdimitrov-adrian
authored andcommitted
Add height and width
Mentioned in #21
1 parent a5aaf3c commit e8fbde9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/custom-plugins/editorjs-uploader.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ export default class Uploader {
4747
const response = {
4848
success: 1,
4949
file: {
50+
width: file.width,
51+
height: file.height,
5052
size: file.filesize,
5153
name: file.filename_download,
5254
title: file.title,

0 commit comments

Comments
 (0)