@khanacademy/perseus-editor 2.5.2 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/es/index.js +1 -1
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/widgets/image-editor.tsx +5 -1
- package/tsconfig-build.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Perseus editors",
|
|
4
4
|
"author": "Khan Academy",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "2.
|
|
6
|
+
"version": "2.6.0",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@khanacademy/kas": "^0.3.1",
|
|
25
25
|
"@khanacademy/kmath": "^0.1.1",
|
|
26
|
-
"@khanacademy/perseus": "^7.
|
|
26
|
+
"@khanacademy/perseus": "^7.2.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@khanacademy/wonder-blocks-button": "^4.0.8",
|
|
@@ -329,7 +329,11 @@ const ImageEditor: any = createReactClass({
|
|
|
329
329
|
this.setUrl(url, size[0], size[1], true);
|
|
330
330
|
} catch (error) {
|
|
331
331
|
this.setState({
|
|
332
|
-
backgroundImageError: `There was an error loading the image URL: ${
|
|
332
|
+
backgroundImageError: `There was an error loading the image URL: ${JSON.stringify(
|
|
333
|
+
error,
|
|
334
|
+
null,
|
|
335
|
+
2,
|
|
336
|
+
)}`,
|
|
333
337
|
});
|
|
334
338
|
}
|
|
335
339
|
},
|