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

Issue with webpack #67

Closed
ruchernchong opened this issue May 9, 2017 · 5 comments
Closed

Issue with webpack #67

ruchernchong opened this issue May 9, 2017 · 5 comments

Comments

@ruchernchong
Copy link

Installed the latest version of CKEditor and having an error with initiating it.

TypeError: CKEDITOR.replace() is not a function

I have included the following in my app.js

window.CKEDITOR = require('ckeditor')
@mlewand
Copy link
Contributor

mlewand commented Jun 6, 2017

Hi @ruchern, thanks for reporting the issue. This is a general CKEditor issue, so as such should be reported in https://github.com/ckeditor/ckeditor-dev repo.

Just a moment ago we got a report saying that CKE doesn't play well with TypeScript (ckeditor/ckeditor4#474) definition, however it looks to me that it's simply a webpack issue that the reporter is facing, in fact it looks pretty much the same thing that you've reported here. However I can't do a in-depth research on this ATM.

Can I ask you to take a look at ckeditor/ckeditor4#474 to see if it's the same issue there? Once we have a clarification we'll extract a general webpack feature request.

@mlewand mlewand closed this as completed Jun 6, 2017
@ruchernchong
Copy link
Author

ruchernchong commented Jun 6, 2017

Hi @mlewand,

Thank you for the reply. I will look into the issue as suggested and return with an update.

@ruchernchong
Copy link
Author

Hi @mlewand,

Apparently, #474 did not solve my problem. I am finding other ways to integrate this. It might be an issue integrating with Vue.js.

@mlewand
Copy link
Contributor

mlewand commented Jun 16, 2017

@ruchern Let us know, as you have more feedback on that. If you find any troubles/need to discuss anything, feel free to ask here.

@ruchernchong
Copy link
Author

ruchernchong commented Jun 23, 2017

@mlewand Sorry for the long follow-up as I am a bit busy with other stuff lately. Is this CKEditor compatible with ES6 (ES2015)?

I have tried using the require() and import method and it still does not work.

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

2 participants