Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Function.prototype.toString requires that 'this' be a Function #50

Open
Sylor-huang opened this issue Jun 23, 2018 · 0 comments

Comments

@Sylor-huang
Copy link

Sylor-huang commented Jun 23, 2018

@Houfeng 感谢分享,然后我在web上调用的时候,出现这个错误,请问是怎么回事呢?非常感谢~

错误提示: Uncaught TypeError: Function.prototype.toString requires that 'this' be a Function
qq20180623-213617

调用代码:

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

</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant