by Ian and Han, updated by Dylan.
This is a TinyMCE plugin to let you use MathQuill to edit equations
that are rendered as images. The actual plugin is in
vendor/tinymce/jscripts/tiny_mce/plugins/mathquill
.
Please note that this is a beta version, so bugs and unimplemented features are all over the place.
MathQuill's sources are included in the repo as a submodule, whenever it
changes you must run make
to build the sources so the plugin, as included in
demo.html
, can use it. (If make
isn't working, try make clean && make
.)
If you don't know how submodules work, the quick-and-dirty is that when you
git clone
or git pull
, you should run git submodule update --init
, and
when you change anything in the submodule, you MUST commit the change to the
OUTER repo (which requires committing within the submodule first) BEFORE
you next run git submodule update
, because it discards changes to
submodules. You should also read more about submodules.
Finally, many browsers restrict file://
-protocol pages within iframes from
communicating with container pages (for good reason), so for demo.html
to
work you may have to run python -m SimpleHTTPServer
and visit
http://localhost:8000/demo.html
(or do something equivalent).
Currently using TinyMce 4.5.5 and MathQuill v0.10.1.