-
Notifications
You must be signed in to change notification settings - Fork 99
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
Cannot integrate CKEditor 5 with React #48
Comments
Do you mean a config file ejected from CRA2? Perhaps they switched to Tenser sooner than Webpack managed to do so. Interesting. @ma2ciek, where did they discuss those recent performance issues and switching to Tenser? I can't find the link now :( General ticket regarding compatibility with CRA2: #40 |
Got it: facebook/react#13987 |
@eleumasc, could you share your webpack configuration? It the error still appears, it may mean that something is wrong with webpack. |
Here it is: config.zip |
Are you working on a Windows or Unix operating system? I am asking because your configuration works fine for me. If you're working on Windows, you should use the following RegExp for CKEditor 5 Builds: /@ckeditor[\\/]ckeditor5-build-.*/ |
Effectively I am working on Windows, and now it works! I can't believe that the same WebPack configuration doesn't work equally on Windows like on Linux. |
Hello .. I also used that configuration but CKEditor 5 with React still wont' work here's my config:
|
I am desperately trying to integrate CKEditor 5 with React, but it doesn't work. I have strictly followed the docs: I am aware of the Babel bug, I have tried to create the React app with both the versions 1 and 2 of create-react-app, I have tried to replace some parts of the ejected configuration (as specified in the relative issue facebook/create-react-app#5387), but none of these attempts have made my app work. The error is always the same:
TypeError: Cannot read property '0' of undefined
. I also noticed that in the WebPack configuration file Tenser is used as minification tool, not Uglify.The text was updated successfully, but these errors were encountered: