jensweigel Posted November 9, 2015 Share Posted November 9, 2015 Hi guys! Im currently trying to integrate the MathJax plugin (http://ckeditor.com/addon/mathjax) for CKEditor. But it doesnt work. Does any one use this plugin? It is instaled correctly, is checked in the Field input, all requered plugins are installed, I dont get any JavaScript error but dont see any button. Any suggestions? Link to comment Share on other sites More sharing options...
jensweigel Posted November 11, 2015 Author Share Posted November 11, 2015 So solved it by myself! It was the name for the toolbar option. It wasent mathjax and not MathJax its Mathjax. Such a stupid mistake … 1 Link to comment Share on other sites More sharing options...
MuchDev Posted November 11, 2015 Share Posted November 11, 2015 I have not failed. I've just found 10,000 ways that won't work. Thomas Edison Link to comment Share on other sites More sharing options...
Alex CA Posted February 8, 2018 Share Posted February 8, 2018 @jensweigel Could you or someone please list out the steps on how you were able to integrate Mathjax? I am kind of new to Processwire and am working with Processwire 2.7 and ckeditor (module version 1.5.4) Thanks! Link to comment Share on other sites More sharing options...
elabx Posted February 9, 2018 Share Posted February 9, 2018 Download the plugin from the site and uncompress it. Upload the plugin folder under site/modules/IputfieldCKEditor/plugins, activate the plugin in the field configuration in PW (at the very bottom you will see a group of checkboxes that already includes the PW CKEditor plugins for image upload and links, you should see the uploaded plugin now). Check it. As stated above, add the correct option in the toolbar configuration. and you should see it in the editor now. 2 Link to comment Share on other sites More sharing options...
Alex CA Posted February 14, 2018 Share Posted February 14, 2018 @jensweigel @elabx I downloaded the mathjax plugin and also the other dependencies which included clipboard,dialogui,lineutiles,notification and widget. When I go the group of checkboxes , I am able to see my field on my page as long as keep mathjax and widget plugins unchecked. As soon as i check them, there is a blank space in edit page option where the field is present. However, when I view the page, the data that had been entered (before I checked these plugins) is displayed (without the latex rendering). I also tried the toolbar option(through PW GUI) of both Mathjax and mathjax, but it didn't work Could it be because of the version? The CKeditor page states its for version 4.3+ and I have the Processeswire module version of 1.5.4 Is there any other alternative. Here is a snippet of my config file CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. For example: // config.uiColor = '#AADC6E'; config.extraPlugins = 'widget'; config.extraPlugins = 'lineutils'; config.extraPlugins = 'dialogui'; config.extraPlugins = 'dialog'; config.extraPlugins = 'notification'; config.extraPlugins = 'clipboard'; config.extraPlugins = 'mathjax'; }; Link to comment Share on other sites More sharing options...
tpr Posted February 14, 2018 Share Posted February 14, 2018 FYI I have added this plugin to AdminOnSteroids module and will be available in the next update. Works fine in the admin with the latest PW, on the frontend it needs manual initialization (of course). Link to comment Share on other sites More sharing options...
Alex CA Posted February 14, 2018 Share Posted February 14, 2018 @tpr I am looking for something on PW 2.7. It is going to be difficult for me to upgrade cause I have just been brought into this project and am new to PW itself Link to comment Share on other sites More sharing options...
tpr Posted February 14, 2018 Share Posted February 14, 2018 Sorry, I missed that part, then it's not an option for you. Link to comment Share on other sites More sharing options...
dragan Posted May 2, 2018 Share Posted May 2, 2018 On 2/14/2018 at 7:13 PM, tpr said: FYI I have added this plugin to AdminOnSteroids module and will be available in the next update. Works fine in the admin with the latest PW, on the frontend it needs manual initialization (of course). Thanks for adding it! I have just added it today where I think the client could probably use it (instead of making images for each formula). btw here is the link / instruction for the frontend: https://docs.ckeditor.com/ckeditor4/latest/guide/dev_mathjax.html#displaying-on-target-page Link to comment Share on other sites More sharing options...
dragan Posted May 2, 2018 Share Posted May 2, 2018 Actually, hold on... I just added this JS, but it doesn't work. Is there anything else that one needs to do / add? @tpr and ideas? I'm using PW 3.0.99. Tried to load it via Cloudflare, and also with a local copy (with and without AIOM). Don't know what I did, but got it to work finally... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now