fullmarks.tinymceplugins.asciisvg is a TinyMCE plugin for Plone to render a function of a graph as SVG and it requires a browser that can render SVG.
It is based on the TinyMCE plugin written by David Lippman as part of the IMathAS project: http://www.imathas.com/. A demo of the IMathAS version of the plugin is available here: http://www.imathas.com/editordemo/demo.html
For FullMarks (and Plone), the plugin has been modified to always render SVG and not use any fallbacks that generate images server-side.
This plugin was developed as part of the FullMarks project funded by the Shuttleworth Foundation, an open educational repository of model questions and answers. See http://www.fullmarks.org.za and http://github.com/fullmarks for more information.
Add as an egg to your buildout and rerun buildout:
Navigate to Add-ons in the Site Setup area of your Plone site.
Activate the TinyMCE ASCIISvg plugin
· Plone CMS
What's New in This Release: [ read full changelog ]
· Prevent users from adding an invalid function to the graph. Show an error and ask them to re-enter the function.
· use single quotes when adding equations to dropdown list since double quotes don't work on Chrome.
· use regexp syntax for string replacement since the global match flag (eg s.replace(substr, newsubstr, 'g') is not supported by Chrome.