Fixing encoding a bit for space.
This commit is contained in:
parent
2993bc400a
commit
62629c6a3d
2 changed files with 2 additions and 583 deletions
|
|
@ -1098,7 +1098,7 @@ function initGridWidget(root, opts = {}) {
|
||||||
cellSize: cellSize,
|
cellSize: cellSize,
|
||||||
shapes: stripCaches(shapes)
|
shapes: stripCaches(shapes)
|
||||||
};
|
};
|
||||||
const blob = new Blob([JSON.stringify(payload, null, 2)], { type: 'application/json' });
|
const blob = new Blob([JSON.stringify(payload)], { type: 'application/json' });
|
||||||
const url = URL.createObjectURL(blob);
|
const url = URL.createObjectURL(blob);
|
||||||
const a = document.createElement('a');
|
const a = document.createElement('a');
|
||||||
a.href = url;
|
a.href = url;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue