Class constructor Doc cannot be invoked without 'new'
See original GitHub issue版本:“element-tiptap”: “^1.26.0”, 按照文档的代码直接粘贴的,报错
TypeError: Class constructor Doc cannot be invoked without 'new'
TypeError: Class constructor Extension cannot be invoked without 'new'
经过修改官方的codesandbox的"element-tiptap": “1.25.3”,为"element-tiptap": “1.26.0”,一样会报错,并且无法正常显示编辑器,希望作者在发布新版本前测试一下
还有README中的USAGE中的data(){}的语法都不对,你可以直接粘贴到IDE试试,作为用法介绍最好贴一个正确的入门code
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:16 (6 by maintainers)
Top Results From Across the Web
Javascript ES6 TypeError: Class constructor Client cannot be ...
When I try to execute nodemon command I always see this error TypeError: Class constructor Client cannot be invoked without 'new'.
Read more >Class constructor cannot be invoked without 'new' in TS
The "Class constructor cannot be invoked without new" error occurs when the target property in tsconfig.json is set to lower than es6 or...
Read more >`TypeError: Class constructor cannot be invoked without 'new ...
Bug report. Getting the following error in my project: TypeError: Class constructor cannot be invoked without 'new'.
Read more >Class constructor NodeEnvironment cannot be invoked ...
Class constructor NodeEnvironment cannot be invoked without 'new' ... Ran all test suites matching /db-connection/i. ... Hi @Luiz_Avila, A similar ...
Read more >Class constructor SweetAlert cannot be invoked without 'new ...
Uncaught TypeError : Class constructor SweetAlert cannot be invoked without 'new' ... Hi,. After updating meteor version, I can not use the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same problem. I don’t use the type script, please fix it
fixed in
v1.26.2
. Sorry for the delay.