phptinymceasciimath

How to get image for asciimath formula when form submitted


I'm using asciimath plugin for tinyMCE which creates image when Tex formula is entered. But when I submit the form instead of image created only formula entered gets posted, I need the image created and need to save in the database.

Is there any solution for this?


Solution

  • The whole point of using this plugin is to eliminate the need to generate images.

    Instead, you can use MathJax, a free and open source JavaScript display engine to convert this formula back to an image.