Does this depend on the WIRIS web service

Created on 22 March 2024, 3 months ago
Updated 27 March 2024, 3 months ago

Problem/Motivation

I wanted to ask whether using this module requires communication with the WIRIS web service because we tried an earlier version of the module and we found that the communication slowed down the content-editing AND the overall delivery of the front end to our test users.

At the time, I spoke with the WIRIS team who very kindly did some tweaking their end to enable faster operation for us given that our project is a 100% not-for-profit one but I see mention of connection to the service here.

Please advise ;-)

Thanks

πŸ’¬ Support request
Status

Active

Version

3.0

Component

Miscellaneous

Created by

πŸ‡¬πŸ‡§United Kingdom SirClickALot Somerset

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @SirClickALot
  • πŸ‡§πŸ‡ͺBelgium BramDriesen Belgium πŸ‡§πŸ‡ͺ

    Hi there! Good question, I'm actually not 100% sure. I did spot the following though:

    This npm module uses remotely hosted services to render MathML data. In case of wanting to install these services on your own backend, please contact support@wiris.com.

    Source: https://www.npmjs.com/package/@wiris/mathtype-ckeditor5#user-content-ser...

    In my very quick testing I did see multiple outgoing request to
    - https://www.wiris.net/demo/plugins/app/configurationjs
    - https://data.wiris.cloud/telemetry/v1
    - https://www.wiris.net/demo/editor/editor?lang=[object%20Object]&stats-ed...
    - https://www.wiris.net/demo/hand/hand.js?httpstatus=true
    ...

    So I guess the answer is yes. There are options to self host things going from the documentation, but you seem to need a license for that as well.

    Which also raises the question to me I still don't understand how the licensing is being handled for Wiris. I only adopted the module to make it D9 compatible and now D10 :) but I was not part of the "core development" of the module. So still have to figure things out about that aspect.

  • πŸ‡¬πŸ‡§United Kingdom SirClickALot Somerset

    Thankyou @BramDriesen, good pointers.

    Reading this...

    Do you think that is referring to the eventual Drupal rendered page or, I seems sensible to me, only for rendering the MathML in the pane within the editor itself.

    This is a crucial consideration for us because, as stated, the WIRIS CKEditor plugin is not responsible for site rendering, we use MathJax for that that and so we really don't want yet another dependency loaded in the front end for site visitors if we don't really need it.

    It also begs the question if we use MathJax in the front end, why not use it in the editor's rendering pane too?

  • πŸ‡§πŸ‡ͺBelgium BramDriesen Belgium πŸ‡§πŸ‡ͺ

    The only dependency the Drupal module declares is: "@wiris/mathtype-html-integration-devkit" which is not requiring anything really beside what is already in Drupal: https://github.com/wiris/html-integrations/blob/stable/packages/ckeditor...

    I did not have to add the MathType script in order for it to render, so I guess this is included by the plugin somehow. I do believe this is also using MathJax actually. But not 100% sure on that.

  • πŸ‡¬πŸ‡§United Kingdom SirClickALot Somerset

    To follow up further,

    Installing the module on a local development site results in it working happily working...

    When pushed onto a live-dev (hosted) site...

    This pretty quickly becomes...

    I have managed to successfully negotiate free access for our non-profit educational site and I have been told that 'an adjustment' has been made WIRS' end and that the trial status will disappear soon.

    I will keep you up to date.

  • πŸ‡§πŸ‡ͺBelgium BramDriesen Belgium πŸ‡§πŸ‡ͺ

    How does the licensing actually work? Do they need to whitelist your site or something? Never really figured that part out.

    As for the rendering, it currently does look a bit different between the back-end and the front-end.

    It looks like it's currently just HTML that is trying to do it's best at rendering this. I guess if you have a dependency installed like MathJax or MathType the rendering looks different.

Production build 0.69.0 2024