MathJax-edit depends on MathJax. It uses a slight modification of MathJax, which marks inferred mrows in the HTML page.
You may check editing of MathJax formulas in the sample page sample1.html.
Call MathJax, MathJax-edit and call-mathjax-edit in your web page, as follows:
Edit path/to/ to match the paths to your scripts. Make sure you use the modified version of MathJax (or make sure that your formulas explicitly contain all mrows).
All formulas in your web page should be in MathML.
For debugging purposes you may set verbose mode as follows:
Consult the documentation for the API of MathJax-edit. Consult call-mathjax-edit.js and its documentation as an example.
var correction = new MathJaxCorrection().
correction.applyCorrection(correctionText, correctionType)where correctionText is the text of the correction formula.
MathJax.Hub.Update(ancestor)where ancestor is any ancestor containing the corrected formula.
This software is free software; you may redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation Version 2, June 1991, aka "copyleft" or the GPL.
This software is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details.
Along with this software you should have received a copy of the GNU General Public License. If not, see http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
MathJax-edit, Copyright © 2012-2013 Simon Pepping, License: GNU General Public License Version 2, June 1991.