@ckeditor/ckeditor5-cloud-services
Advanced tools
Comparing version 16.0.0 to 17.0.0
Changelog | ||
========= | ||
## [17.0.0](https://github.com/ckeditor/ckeditor5-cloud-services/compare/v16.0.0...v17.0.0) (2020-02-19) | ||
### Other changes | ||
* Changed the `CloudServices` plugin to a context plugin. Part of [ckeditor/ckeditor5#5891](https://github.com/ckeditor/ckeditor5/issues/5891). ([12ca96d](https://github.com/ckeditor/ckeditor5-cloud-services/commit/12ca96d)) | ||
## [16.0.0](https://github.com/ckeditor/ckeditor5-cloud-services/compare/v15.0.0...v16.0.0) (2019-12-04) | ||
@@ -5,0 +12,0 @@ |
@@ -5,3 +5,3 @@ Software License Agreement | ||
**CKEditor 5 Cloud Services** – https://github.com/ckeditor/ckeditor5-cloud-services <br> | ||
Copyright (c) 2003-2019, [CKSource](http://cksource.com) Frederico Knabben. All rights reserved. | ||
Copyright (c) 2003-2020, [CKSource](http://cksource.com) Frederico Knabben. All rights reserved. | ||
@@ -8,0 +8,0 @@ Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). |
{ | ||
"name": "@ckeditor/ckeditor5-cloud-services", | ||
"version": "16.0.0", | ||
"version": "17.0.0", | ||
"description": "CKEditor 5's Cloud Services integration layer.", | ||
@@ -12,7 +12,7 @@ "keywords": [ | ||
"dependencies": { | ||
"@ckeditor/ckeditor-cloud-services-core": "^16.0.0", | ||
"@ckeditor/ckeditor5-core": "^16.0.0" | ||
"@ckeditor/ckeditor-cloud-services-core": "^17.0.0", | ||
"@ckeditor/ckeditor5-core": "^17.0.0" | ||
}, | ||
"devDependencies": { | ||
"@ckeditor/ckeditor5-editor-classic": "^16.0.0", | ||
"@ckeditor/ckeditor5-editor-classic": "^17.0.0", | ||
"eslint": "^5.5.0", | ||
@@ -19,0 +19,0 @@ "eslint-config-ckeditor5": "^2.0.0", |
/** | ||
* @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. | ||
* @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. | ||
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license | ||
@@ -10,3 +10,3 @@ */ | ||
import Plugin from '@ckeditor/ckeditor5-core/src/plugin'; | ||
import ContextPlugin from '@ckeditor/ckeditor5-core/src/contextplugin'; | ||
import Token from '@ckeditor/ckeditor-cloud-services-core/src/token/token'; | ||
@@ -22,3 +22,3 @@ | ||
*/ | ||
export default class CloudServices extends Plugin { | ||
export default class CloudServices extends ContextPlugin { | ||
/** | ||
@@ -35,4 +35,3 @@ * @inheritdoc | ||
init() { | ||
const editor = this.editor; | ||
const config = editor.config; | ||
const config = this.context.config; | ||
@@ -193,6 +192,16 @@ const options = config.get( 'cloudServices' ) || {}; | ||
/** | ||
* Document ID, used by the `RealTimeCollaborativeEditing` plugin. All editor instances created with the same document ID will collaborate. | ||
* It means that each document needs a different document ID if you do not want to start collaboration between these documents. | ||
* The ID is usually a primary key of the document in the database, but you are free to provide whatever identifier fits your scenario. | ||
* An optional parameter used for integration with CKEditor Cloud Services when uploading the editor build to cloud services. | ||
* | ||
* Whenever the editor build or the configuration changes, this parameter should be set to a new, unique value to differentiate | ||
* the new bundle (build + configuration) from the old ones. | ||
* | ||
* @member {String} module:cloud-services/cloudservices~CloudServicesConfig#bundleVersion | ||
*/ | ||
/** | ||
* The document ID used by the `RealTimeCollaborativeEditing` plugin. All editor instances created with the same document ID will | ||
* collaborate. It means that each document needs a different document ID if you do not want to start collaboration between these | ||
* documents. The ID is usually a primary key of the document in the database but you are free to provide whatever identifier fits your | ||
* scenario. | ||
* | ||
* Note: Unlike most plugins, `RealTimeCollaborativeEditing` is not included in any CKEditor 5 build and needs to be installed manually. | ||
@@ -199,0 +208,0 @@ * Check [Collaboration overview](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/overview.html) for more details. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16525
186
+ Added@ckeditor/ckeditor-cloud-services-core@17.0.0(transitive)
+ Added@ckeditor/ckeditor5-core@17.0.0(transitive)
+ Added@ckeditor/ckeditor5-engine@17.0.0(transitive)
+ Added@ckeditor/ckeditor5-utils@17.0.0(transitive)
- Removed@ckeditor/ckeditor-cloud-services-core@16.0.0(transitive)
- Removed@ckeditor/ckeditor5-core@16.0.0(transitive)
- Removed@ckeditor/ckeditor5-engine@16.0.0(transitive)
- Removed@ckeditor/ckeditor5-utils@16.0.0(transitive)