I have been struggling to add mathml support for ckeditor . I have gone through few links but none seems to be working. I have even tried WIRIS plugin for ckeditor but it didn't gave me any result. For WIRIS i have followed this link. Can someone please tell me how do I Implement mathml for ckeditor.?
CKeditor Version: 4.4.5
Thanks,
Assuming you have ckeditor in place all you have to do is the following:
/path-to/ckeditor/plugins/ckeditor_wiris
Add this to the config property of ckeditor:
extraPlugins:'ckeditor_wiris'
allowedContent: true
Obviously you have to replace 'path-to' with your own path to where ckeditor is located. It should look something like this:
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<script src="path-to/ckeditor/ckeditor.js"></script>
<script src="path-to/ckeditor/plugins/ckeditor_wiris/plugin.js"></script>
</head>
<body>
<form>
<textarea name="editor1" id="editor1" rows="10" cols="80">
This is my textarea to be replaced with CKEditor.
</textarea>
<script>
CKEDITOR.replace( 'editor1', {
extraPlugins:'ckeditor_wiris',
allowedContent: true
});
</script>
</form>
</body>
</html>