微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

我如何将通用 wiris 编辑器链接到外部服务器以生成图像

如何解决我如何将通用 wiris 编辑器链接到外部服务器以生成图像

我在 HTML 页面中有一个通用的 wiris 编辑器,代码如下

  <html>
    <head>
      <script src="node_modules/@wiris/mathtype-generic/wirisplugin-generic.js"></script>
    </head>
    <body>
      <div id="toolbar"></div>
      <div id="htmlEditor" contenteditable="true">Try me!</div>

      <script>
        var genericIntegrationProperties = {};
        genericIntegrationProperties.target = document.getElementById('htmlEditor');
        genericIntegrationProperties.toolbar = document.getElementById('toolbar');

        // GenericIntegration instance.
        var genericIntegrationInstance = new WirisPlugin.GenericIntegration(genericIntegrationProperties);
        genericIntegrationInstance.init();
        genericIntegrationInstance.listeners.fire('onTargetReady',{});
      </script>
    </body>
  </html>

所以这里使用 wiris 远程服务器来生成图像并进行一些计算, 我想在 tomcat 上有一个独立的服务器,我想知道如何集成它们, 参考了这些文档,但我发现很难理解如何使用 wiris-generic war 文件的集成过程。 https://docs.wiris.com/en/mathtype/mathtype_web/integrations/config-table

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。