Hmm, now I can unzip the mpluga.zip file. Besides, I have also unzipped https://github.com/electrolinux/moodle-ckeditor.
Therefore, I think I got both ckeditor with dragmath as well as tinymce with dramath.
First, I tried ckeditor . After copying ckeditor in my root path, I added javascript in <head> like
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
and inserted the following codes in body:
<textarea id="editor1" name="editor1"></textarea>
<script type="text/javascript">
CKEDITOR.replace( "editor1" );</script>
The ckEditor works, but without dragmath....
Secondly, I tried to embed tinymce into my project.
<scriptlanguage="javascript"type="text/javascript"src="tiny_mce/tiny_mce.js"></script>
<scriptlanguage="javascript"type="text/javascript">
tinyMCE.init({
theme :"advanced",
mode :"textareas"
});
</script>
The above codes were inserted into my <head> session and I created a textarea in the <body>, but the tinymce did not display...PS: There many .js file in the folder, I am not sure which is the correct src...
How can I solve the above problems??? Appreciate your helps!
What I need is sth like the moodle reply dialog box, only with dragmath will do. Thanks