-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Turn cloud-services-core into a soft requirement #8811
Comments
Actually, from the above mentioned 5 imports of |
Oops. I confused cloud-services-core and cloud-services. We'll need to review once again how both packages are used. |
While working on the issue, I've noticed that we have an editor that adds to its built-in plugin It meant that I had to add the new plugin ( After that, some tests of the editor stopped passing. I wasn't able to mock the services. I was thinking about how to resolve the issue and together with @ma2ciek, we figured out an idea for introducing an option for replacing built-in plugins. Thanks to that, we can replace a built-in plugin with a custom mock. There are some limitations that could be improved in the future but do not interfere with the current ticket:
|
☝️ It would be quite cool if we would be able to replace plugins with dependencies as well, as it should allow making some major customizations deep in the architecture. |
While working on the issue, we figured out that we don't need the package at all. It can be merged into the Notes from our internal meeting:
|
Other (cloud-services-core): All classes available in the `@ckeditor/ckeditor-cloud-services-core` package have been moved to the `@ckeditor/ckeditor5-cloud-services` package. They should now be instantiated via factory methods on the `CloudServicesCore` plugin. Closes #8811. Feature (cloud-services): Created the `CloudServicesCore` plugin that exposes the base API for communication with CKEditor Cloud Services. MAJOR BREAKING CHANGE (cloud-services-core): The package has been merged into `@ckeditor/ckeditor5-cloud-services`. All classes that were available in the `@ckeditor/ckeditor-cloud-services-core` package have been moved to the `@ckeditor/ckeditor5-cloud-services` package. They should now be instantiated via factory methods on the `CloudServicesCore` plugin that's located in `@ckeditor/ckeditor5-cloud-services`. See #8811.
Provide a description of the task
Right now it's part of the DLL. However, it's a bit problematic because it's not a commonly used package.
Some of my thoughts:
In order to turn it into a soft requirement of other packages:
The text was updated successfully, but these errors were encountered: