@wiris/mathtype-ckeditor5 7.29.0 → 7.31.0

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/plugin.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wiris/mathtype-ckeditor5",
3
- "version": "7.29.0",
3
+ "version": "7.31.0",
4
4
  "description": "MathType Web for CKEditor5 editor",
5
5
  "keywords": [
6
6
  "chem",
@@ -39,6 +39,6 @@
39
39
  "@ckeditor/ckeditor5-engine": ">=23.0.0",
40
40
  "@ckeditor/ckeditor5-ui": ">=23.0.0",
41
41
  "@ckeditor/ckeditor5-widget": ">=23.0.0",
42
- "@wiris/mathtype-html-integration-devkit": "1.8.0"
42
+ "@wiris/mathtype-html-integration-devkit": "1.8.1"
43
43
  }
44
44
  }
package/src/plugin.js CHANGED
@@ -262,7 +262,6 @@ export default class MathType extends Plugin {
262
262
  const modelNode = isLatex
263
263
  ? writer.createText(Parser.initParse(formula, editor.config.get('language')))
264
264
  : writer.createElement('mathml', { formula });
265
- modelNode.data = formula;
266
265
 
267
266
  // Find allowed parent for element that we are going to insert.
268
267
  // If current parent does not allow to insert element but one of the ancestors does