@ckeditor/ckeditor5-clipboard
Advanced tools
Comparing version 0.4.1 to 0.5.0
Changelog | ||
========= | ||
## [0.5.0](https://github.com/ckeditor/ckeditor5-clipboard/compare/v0.4.1...v0.5.0) (2017-04-05) | ||
### Other changes | ||
* Aligned use of the `DataController` to the latest API. Closes [#14](https://github.com/ckeditor/ckeditor5-clipboard/issues/14). ([8f98e2b](https://github.com/ckeditor/ckeditor5-clipboard/commit/8f98e2b)) | ||
### Features | ||
* Named existing plugin(s). ([3d37f53](https://github.com/ckeditor/ckeditor5-clipboard/commit/3d37f53)) | ||
## [0.4.1](https://github.com/ckeditor/ckeditor5-clipboard/compare/v0.4.0...v0.4.1) (2017-03-06) | ||
Internal changes only (updated dependencies, documentation, etc.). |
{ | ||
"name": "@ckeditor/ckeditor5-clipboard", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"description": "Clipboard integration for CKEditor 5.", | ||
"keywords": [], | ||
"dependencies": { | ||
"@ckeditor/ckeditor5-core": "^0.7.0", | ||
"@ckeditor/ckeditor5-engine": "^0.8.0" | ||
"@ckeditor/ckeditor5-core": "^0.8.0", | ||
"@ckeditor/ckeditor5-engine": "^0.9.0" | ||
}, | ||
@@ -13,10 +13,10 @@ "devDependencies": { | ||
"@ckeditor/ckeditor5-basic-styles": "^0.7.1", | ||
"@ckeditor/ckeditor5-editor-classic": "^0.7.1", | ||
"@ckeditor/ckeditor5-paragraph": "^0.6.1", | ||
"@ckeditor/ckeditor5-enter": "^0.8.0", | ||
"@ckeditor/ckeditor5-heading": "^0.8.0", | ||
"@ckeditor/ckeditor5-link": "^0.5.1", | ||
"@ckeditor/ckeditor5-list": "^0.5.1", | ||
"@ckeditor/ckeditor5-typing": "^0.8.0", | ||
"@ckeditor/ckeditor5-undo": "^0.7.1", | ||
"@ckeditor/ckeditor5-editor-classic": "^0.7.2", | ||
"@ckeditor/ckeditor5-paragraph": "^0.7.0", | ||
"@ckeditor/ckeditor5-enter": "^0.9.0", | ||
"@ckeditor/ckeditor5-heading": "^0.9.0", | ||
"@ckeditor/ckeditor5-link": "^0.6.0", | ||
"@ckeditor/ckeditor5-list": "^0.6.0", | ||
"@ckeditor/ckeditor5-typing": "^0.9.0", | ||
"@ckeditor/ckeditor5-undo": "^0.8.0", | ||
"gulp": "^3.9.1", | ||
@@ -23,0 +23,0 @@ "guppy-pre-commit": "^0.4.0" |
@@ -97,2 +97,9 @@ /** | ||
*/ | ||
static get pluginName() { | ||
return 'clipboard/clipboard'; | ||
} | ||
/** | ||
* @inheritDoc | ||
*/ | ||
init() { | ||
@@ -139,5 +146,3 @@ const editor = this.editor; | ||
// we use the $clipboardHolder item. | ||
const modelFragment = dataController.viewToModel.convert( data.content, { | ||
context: [ '$clipboardHolder' ] | ||
} ); | ||
const modelFragment = dataController.toModel( data.content, '$clipboardHolder' ); | ||
@@ -144,0 +149,0 @@ doc.enqueueChanges( () => { |
Sorry, the diff of this file is not supported yet
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
47612
872
+ Added@ckeditor/ckeditor5-core@0.8.1(transitive)
+ Added@ckeditor/ckeditor5-engine@0.10.00.9.0(transitive)
+ Added@ckeditor/ckeditor5-utils@0.9.1(transitive)
- Removed@ckeditor/ckeditor5-core@0.7.0(transitive)
- Removed@ckeditor/ckeditor5-engine@0.8.0(transitive)
- Removed@ckeditor/ckeditor5-utils@0.8.0(transitive)