-
Notifications
You must be signed in to change notification settings - Fork 78
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
Importing @ckeditor/ckeditor5-build-classic breaks @babel/preset-env #44
Comments
For now I created a mixin that loads the script dynamically from the CDN.
Then I use it like this, along with a
|
Hello, please take a look at our guide about integrating CKEditor 5 with Vue.js. Does it solve your problem? |
No, since I need support for IE 11. I was using https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/vuejs.html#using-es6-modules before. |
Bear in mind that CKEditor 5 doesn't run on IE11. If you're interested in this topic please vote there or leave a note, we're experimenting with it a little now. |
Ok, then we can close this. |
As the title suggests, whenever I import the
@ckeditor/ckeditor5-build-classic
it breaks my application after running babel with@babel/preset-env
.The generated file starts with this line
var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));
. It seems like it is double parsing it or something, I'm not sure. But when I comment out that part theapp.es5.js
is working.I am using Laravel Mix with webpack and babel like this:
I am importing the build like this:
import ClassicEditor from "@ckeditor/ckeditor5-build-classic"
The text was updated successfully, but these errors were encountered: