Egorkin Posted March 27, 2022 Share Posted March 27, 2022 Does anyone have experience implementing the possibility of entering mathematical formulas in the editor and converting them from a text format in messages to images by a JS library? Maybe there are ready-made solutions for IPB? Link to comment Share on other sites More sharing options...
Sonya* Posted March 27, 2022 Share Posted March 27, 2022 There is a CKEditor Plugin https://ckeditor.com/cke4/addon/mathjax Demo: https://ckeditor.com/docs/ckeditor4/latest/examples/mathjax.html You can install it as described here Probably it is something you can use. There is also a commercial plugin https://demo.wiris.com/integrations/ckeditor/?_ga=2.109282758.2129336030.1648405326-1761670519.1648405326 that makes images Link to comment Share on other sites More sharing options...
Egorkin Posted March 27, 2022 Author Share Posted March 27, 2022 44 minutes ago, Sonya* said: There is also a commercial plugin I connected Wires, the editor itself works fine, inserts formulas, but they are not parsed on the pages. Is it the same with Mathjax? Do I need to connect a parser library of this format? Link to comment Share on other sites More sharing options...
Sonya* Posted March 27, 2022 Share Posted March 27, 2022 47 minutes ago, Egorkin said: Do I need to connect a parser library of this format? Normally, you just install editor plugins, and they do what they have to do. I have not tried these plugins myself. Have you tried Wiris support? Link to comment Share on other sites More sharing options...
Stuart Silvester Posted March 28, 2022 Share Posted March 28, 2022 I believe you will need to add the MathJax library to your community in order to render content created by the above MathJax CKEditor plugin - https://www.mathjax.org/#gettingstarted Sonya*, Marc Stridgen and Egorkin 3 Link to comment Share on other sites More sharing options...
Egorkin Posted March 29, 2022 Author Share Posted March 29, 2022 On 3/27/2022 at 10:52 PM, Sonya* said: Have you tried Wiris support? Yes, there is a connected one on the test forum. The formulas draw perfectly, but after insertion they are not parsed in messages. Also, apparently, it is necessary to connect the converter. 17 hours ago, Stuart Silvester said: I believe you will need to add the MathJax library to your community in order to render content created by the above MathJax CKEditor plugin - https://www.mathjax.org/#gettingstarted Yes, thanks, I'll try and share the result 🙂 Is there a similar parser for Wiris? I haven't found it yet... Link to comment Share on other sites More sharing options...
Recommended Posts