@khanacademy/perseus-editor 5.2.4 → 5.2.6
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 +4 -1
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/widgets/interactive-graph-editor.d.ts +321 -635
- package/package.json +2 -2
package/dist/es/index.js
CHANGED
|
@@ -28,7 +28,7 @@ import * as i18n$1 from '@khanacademy/wonder-blocks-i18n';
|
|
|
28
28
|
|
|
29
29
|
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
30
30
|
const libName = "@khanacademy/perseus-editor";
|
|
31
|
-
const libVersion = "5.2.
|
|
31
|
+
const libVersion = "5.2.6";
|
|
32
32
|
addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
33
33
|
|
|
34
34
|
function _extends() {
|
|
@@ -21157,6 +21157,9 @@ class Editor extends React.Component {
|
|
|
21157
21157
|
// eg. If there is an "image 2" already present in the editor and we're
|
|
21158
21158
|
// about to paste in two new images, return
|
|
21159
21159
|
// { "image 1": "image 3", "image 2": "image 4" }
|
|
21160
|
+
//
|
|
21161
|
+
// TODO switch to UUIDs rather than these fragile IDs
|
|
21162
|
+
// see: LEMS-1845
|
|
21160
21163
|
|
|
21161
21164
|
// List of widgets about to be pasted as [[name, number], ...]
|
|
21162
21165
|
const widgets = _.keys(widgetData).map(name => name.split(" "));
|