@zzish/math-rich-input 0.1.38 → 0.1.39
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/index.js +1 -0
- package/package.json +1 -1
- package/src/MathRichInput.jsx +2 -0
package/dist/index.js
CHANGED
|
@@ -22718,6 +22718,7 @@ var MathRichInput = /*#__PURE__*/function (_React$Component) {
|
|
|
22718
22718
|
_defineProperty(_assertThisInitialized(_this2), "handleInput", function (event) {
|
|
22719
22719
|
try {
|
|
22720
22720
|
// console.log("handleInput")
|
|
22721
|
+
if (event.nativeEvent.isComposing) return;
|
|
22721
22722
|
var raw_text = elementToMarkedRawText(_this2.editableDiv, null, 0, _this2.enableHtml());
|
|
22722
22723
|
|
|
22723
22724
|
var params = _this2._getRangeParams();
|
package/package.json
CHANGED
package/src/MathRichInput.jsx
CHANGED
|
@@ -1143,6 +1143,8 @@ export default class MathRichInput extends React.Component {
|
|
|
1143
1143
|
handleInput = (event) => {
|
|
1144
1144
|
try {
|
|
1145
1145
|
// console.log("handleInput")
|
|
1146
|
+
if (event.nativeEvent.isComposing) return;
|
|
1147
|
+
|
|
1146
1148
|
let raw_text = elementToMarkedRawText(
|
|
1147
1149
|
this.editableDiv,
|
|
1148
1150
|
null,
|