0

i downloaded the nicedit with mathtype js plugin files but i cannot setup the editor i get the window.opener is null error second thing i cannot find the com.wiris.jsEditor class in any js files

<i><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
<textarea name="area"></textarea>
<div id="editorContainer">

</div>
<script src="../js/nicEdit.js"></script>
<script>
    _wrs_currentPath = "/var/www/html/nicedit/"
    nicedit_wiris_path = "nicedit_wiris"

</script>
<script src="../nicedit_wiris/core/WIRISplugins.js?viewer_image"></script>
<script src="../nicedit_wiris/nicedit_wiris.js"></script>
<script src="../nicedit_wiris/core/core.js"></script>
<script src="../nicedit_wiris/core/display.js"></script>
<script src="../nicedit_wiris/core/displaymathml.js"></script>
<script src="../nicedit_wiris/core/cas.js"></script>
 <script src="../nicedit_wiris/core/editor.js"></script>


<script>
    bkLib.onDomLoaded(function () {
        nicEditors.allTextAreas()
        // editor = new com.wiris.jsEditor.JsEditor('editor', null);
    });
</script>
</body>
</html></i>

1 Answers1

-1

unfortunately, we do not give support to NicEdit anymore. The version of the MathType plugin that you have is 5 years old and does not work for the current version of NicEditor.

On the other hand, we do have MathType plugins implementations for the main HTML editors like TinyMCE, CKEditor or Froala.

In case you really need to use NicEdit, you could build your own implementation upon our Generic integration. In that case, we will give some assistance. Please, find some documentation below.

https://www.npmjs.com/package/@wiris/mathtype-generic

Best!

Wiris Support
  • 450
  • 2
  • 7