@ckeditor/ckeditor5-clipboard
Advanced tools
Comparing version 18.0.0 to 19.0.0
Changelog | ||
========= | ||
## [19.0.0](https://github.com/ckeditor/ckeditor5-clipboard/compare/v18.0.0...v19.0.0) (2020-04-29) | ||
### Other changes | ||
* Handled `paste` and `drop` events no longer propagate up the DOM tree. Closes [ckeditor/ckeditor5#6464](https://github.com/ckeditor/ckeditor5/issues/6464). ([70aa7ba](https://github.com/ckeditor/ckeditor5-clipboard/commit/70aa7ba)) | ||
## [18.0.0](https://github.com/ckeditor/ckeditor5-clipboard/compare/v17.0.0...v18.0.0) (2020-03-19) | ||
@@ -5,0 +12,0 @@ |
{ | ||
"name": "@ckeditor/ckeditor5-clipboard", | ||
"version": "18.0.0", | ||
"version": "19.0.0", | ||
"description": "Clipboard integration for CKEditor 5.", | ||
@@ -13,12 +13,12 @@ "keywords": [ | ||
"dependencies": { | ||
"@ckeditor/ckeditor5-core": "^18.0.0", | ||
"@ckeditor/ckeditor5-engine": "^18.0.0", | ||
"@ckeditor/ckeditor5-utils": "^18.0.0" | ||
"@ckeditor/ckeditor5-core": "^19.0.0", | ||
"@ckeditor/ckeditor5-engine": "^19.0.0", | ||
"@ckeditor/ckeditor5-utils": "^19.0.0" | ||
}, | ||
"devDependencies": { | ||
"@ckeditor/ckeditor5-basic-styles": "^18.0.0", | ||
"@ckeditor/ckeditor5-block-quote": "^18.0.0", | ||
"@ckeditor/ckeditor5-editor-classic": "^18.0.0", | ||
"@ckeditor/ckeditor5-link": "^18.0.0", | ||
"@ckeditor/ckeditor5-paragraph": "^18.0.0", | ||
"@ckeditor/ckeditor5-basic-styles": "^19.0.0", | ||
"@ckeditor/ckeditor5-block-quote": "^19.0.0", | ||
"@ckeditor/ckeditor5-editor-classic": "^19.0.0", | ||
"@ckeditor/ckeditor5-link": "^19.0.0", | ||
"@ckeditor/ckeditor5-paragraph": "^19.0.0", | ||
"eslint": "^5.5.0", | ||
@@ -25,0 +25,0 @@ "eslint-config-ckeditor5": "^2.0.0", |
@@ -19,2 +19,3 @@ /** | ||
import HtmlDataProcessor from '@ckeditor/ckeditor5-engine/src/dataprocessor/htmldataprocessor'; | ||
import EventInfo from '@ckeditor/ckeditor5-utils/src/eventinfo'; | ||
@@ -79,4 +80,12 @@ /** | ||
this.fire( 'inputTransformation', { content, dataTransfer } ); | ||
const eventInfo = new EventInfo( this, 'inputTransformation' ); | ||
this.fire( eventInfo, { content, dataTransfer } ); | ||
// If CKEditor handled the input, do not bubble the original event any further. | ||
// This helps external integrations recognize that fact and act accordingly. | ||
// https://github.com/ckeditor/ckeditor5-upload/issues/92 | ||
if ( eventInfo.stop.called ) { | ||
evt.stop(); | ||
} | ||
view.scrollToTheSelection(); | ||
@@ -100,2 +109,3 @@ }, { priority: 'low' } ); | ||
model.insertContent( modelFragment ); | ||
evt.stop(); | ||
} | ||
@@ -102,0 +112,0 @@ }, { priority: 'low' } ); |
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
34661
521
+ Added@ckeditor/ckeditor5-core@19.0.1(transitive)
+ Added@ckeditor/ckeditor5-engine@19.0.1(transitive)
+ Added@ckeditor/ckeditor5-utils@19.0.2(transitive)
- Removed@ckeditor/ckeditor5-core@18.0.0(transitive)
- Removed@ckeditor/ckeditor5-engine@18.0.0(transitive)
- Removed@ckeditor/ckeditor5-utils@18.0.0(transitive)