First thing first, let see a demo – ASCIIMath and ASCIIsvg plugins for TinyMCE
- Download source: zip format.
- Install plugins (asciimath,asciisvg) under lib/editor/tinymce/tiny_mce/3.5.8/plugins/ (or any other tinymce version)
- Navigate to “Home / ► Site administration / ► Appearance / ► Additional HTML”(additionalhtmlhead) and add the following code: <script type=”text/javascript” src=”/lib/editor/tinymce/tiny_mce/3.5.8/plugins/asciimath/js/ASCIIMathMLwFallback.js”></script> <script type=”text/javascript”> var AMTcgiloc = “http://www.imathas.com/cgi-bin/mimetex.cgi”; //change me </script>
- Edit “lib/editor/tinymce/lib.php” and add the relevant “plugins: ‘xhtmlxtras,template,pagebreak,asciimath,asciisvg‘,”
- Add the plugin’s button to the TinyMCE toolbar on “Home / ► Site administration / ► Plugins / ► Text editors / ► TinyMCE HTML editor / ► General settings” (editor_tinymce | customtoolbar) : “,asciimath,asciimathcharmap,asciisvg“
You Are ready to go 🙂
תודה על הפוסט
על אילו גרסאות של moodle מדובר?