@wiris/mathtype-tinymce6 8.13.1 → 8.13.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/README.md CHANGED
@@ -43,10 +43,6 @@ Easily include quality math equations in your documents and digital content.
43
43
  // @see: https://github.com/wiris/html-integrations/issues/134#issuecomment-905448642
44
44
  draggable_modal: true,
45
45
 
46
- // This option allows you to introduce mathml formulas with wiris plugins.
47
- // Not enabling this, will provide formulas from beeing created and rendered.
48
- extended_valid_elements: "*[.*]",
49
-
50
46
  // You could set a different language for MathType editor:
51
47
  // language: 'fr_FR',
52
48
  // mathTypeParameters: {
@@ -255,6 +255,12 @@ export const currentInstance = null;
255
255
  integrationModelProperties.integrationParameters = editor.options.get("mathTypeParameters");
256
256
  }
257
257
 
258
+ // This option allows us to introduce MathML formulas.
259
+ editor.options.register("extended_valid_elements", {
260
+ processor: "string",
261
+ default: "*[.*]",
262
+ });
263
+
258
264
  integrationModelProperties.scriptName = "plugin.min.js";
259
265
  integrationModelProperties.environment = {};
260
266
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wiris/mathtype-tinymce6",
3
- "version": "8.13.1",
3
+ "version": "8.13.3",
4
4
  "description": "MathType Web for TinyMCE6 editor",
5
5
  "keywords": [
6
6
  "chem",
@@ -32,7 +32,7 @@
32
32
  "prepack": "yarn && npm run build"
33
33
  },
34
34
  "dependencies": {
35
- "@wiris/mathtype-html-integration-devkit": "1.17.8"
35
+ "@wiris/mathtype-html-integration-devkit": "1.17.10"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@babel/core": "^7.24.4",