@zzish/math-rich-input 0.1.19 → 0.1.21

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 CHANGED
@@ -21020,7 +21020,6 @@ function elementToMarkedRawText(element) {
21020
21020
  var raw_text = result.join(""); // remove any zero-width spaces we added to the html
21021
21021
 
21022
21022
  raw_text = raw_text.replace(SMALL_SPACE_REG_EXP, '');
21023
- console.log("Marked raw text: " + raw_text);
21024
21023
  return raw_text;
21025
21024
  }
21026
21025
  function replaceMarksWithMath(markedRawText, latex) {
@@ -22580,8 +22579,6 @@ var MathRichInput = /*#__PURE__*/function (_React$Component) {
22580
22579
  });
22581
22580
 
22582
22581
  _defineProperty(_assertThisInitialized(_this2), "handleToolbarButtonClick", function (event, buttonName) {
22583
- console.log("button name: ", buttonName);
22584
-
22585
22582
  try {
22586
22583
  if (buttonName === "Equation") {
22587
22584
  _this2.showEquationEditor(true);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zzish/math-rich-input",
3
- "version": "0.1.19",
3
+ "version": "0.1.21",
4
4
  "description": "React component for user to enter rich text with embedded math equations.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1534,7 +1534,6 @@ export default class MathRichInput extends React.Component {
1534
1534
  };
1535
1535
 
1536
1536
  handleToolbarButtonClick = (event, buttonName) => {
1537
- console.log("button name: ", buttonName);
1538
1537
  try {
1539
1538
  if (buttonName === "Equation") {
1540
1539
  this.showEquationEditor(true);
@@ -381,8 +381,6 @@ export function elementToMarkedRawText(element, nodeToMark=null, offset=0, useHt
381
381
  // remove any zero-width spaces we added to the html
382
382
  raw_text = raw_text.replace(SMALL_SPACE_REG_EXP,'')
383
383
 
384
- console.log("Marked raw text: " + raw_text)
385
-
386
384
  return raw_text
387
385
  }
388
386