@khanacademy/perseus-editor 14.10.2 → 14.10.3
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/dist/es/index.js +9 -1
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/es/index.js
CHANGED
|
@@ -46,7 +46,7 @@ import arrowCounterClockwise from '@phosphor-icons/core/bold/arrow-counter-clock
|
|
|
46
46
|
|
|
47
47
|
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
48
48
|
const libName = "@khanacademy/perseus-editor";
|
|
49
|
-
const libVersion = "14.10.
|
|
49
|
+
const libVersion = "14.10.3";
|
|
50
50
|
addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
51
51
|
|
|
52
52
|
function _extends() {
|
|
@@ -35295,6 +35295,14 @@ class LabelImageEditor extends React.Component {
|
|
|
35295
35295
|
if (url) {
|
|
35296
35296
|
Util.getImageSize(url, (width, height) => {
|
|
35297
35297
|
this.props.onChange({
|
|
35298
|
+
/**
|
|
35299
|
+
* Sending `imageUrl` up again
|
|
35300
|
+
* (even though we did so at the beginning of handleImageChange)
|
|
35301
|
+
* because we ran into a race condition (LEMS-2583) where
|
|
35302
|
+
* `imageUrl` was getting set to an empty string if measuring
|
|
35303
|
+
* happened too fast.
|
|
35304
|
+
*/
|
|
35305
|
+
imageUrl: url,
|
|
35298
35306
|
imageWidth: width,
|
|
35299
35307
|
imageHeight: height
|
|
35300
35308
|
});
|