@khanacademy/perseus 6.4.1 → 6.4.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/CHANGELOG.md +17 -0
- package/dist/es/index.js +6 -5
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/util/tex.ts +8 -6
- package/tsconfig-build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @khanacademy/perseus
|
|
2
2
|
|
|
3
|
+
## 6.4.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 12b65f5e: Fix an issue where Graphie labels were sometimes incorrectly positioned when
|
|
8
|
+
MathJax 3 was injected as the TeX renderer.
|
|
9
|
+
- Updated dependencies [8d1745c1]
|
|
10
|
+
- @khanacademy/math-input@6.0.1
|
|
11
|
+
|
|
12
|
+
## 6.4.2
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [36e3a212]
|
|
17
|
+
- Updated dependencies [fa735526]
|
|
18
|
+
- @khanacademy/math-input@6.0.0
|
|
19
|
+
|
|
3
20
|
## 6.4.1
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/dist/es/index.js
CHANGED
|
@@ -9092,12 +9092,13 @@ var Tex$1 = {
|
|
|
9092
9092
|
// We use createElement instead of JSX here because we can't name this file tex.tsx;
|
|
9093
9093
|
// that name is already taken.
|
|
9094
9094
|
render( /*#__PURE__*/React.createElement(TeX, {
|
|
9095
|
-
children: text
|
|
9096
|
-
|
|
9097
|
-
|
|
9098
|
-
|
|
9095
|
+
children: text,
|
|
9096
|
+
onRender: () => {
|
|
9097
|
+
if (callback) {
|
|
9098
|
+
doCallback(elem, callback);
|
|
9099
|
+
}
|
|
9099
9100
|
}
|
|
9100
|
-
});
|
|
9101
|
+
}), $katexHolder[0]);
|
|
9101
9102
|
}
|
|
9102
9103
|
},
|
|
9103
9104
|
// Function to restore a node to a non-math-processed state
|