@Houfeng 感谢分享,然后我在web上调用的时候,出现这个错误,请问是怎么回事呢?非常感谢~
错误提示: Uncaught TypeError: Function.prototype.toString requires that 'this' be a Function

调用代码:
<textarea name="editor" id="editor"></textarea>
<script>
//获取textarea dom对象
var ele_textarea = document.getElementById('editor');
//实例化Mditor
var editor = new Mditor(ele_textarea);
</script>