@ckeditor/ckeditor5-undo
Advanced tools
Comparing version 32.0.0 to 33.0.0
{ | ||
"name": "@ckeditor/ckeditor5-undo", | ||
"version": "32.0.0", | ||
"version": "33.0.0", | ||
"description": "Undo feature for CKEditor 5.", | ||
@@ -15,16 +15,16 @@ "keywords": [ | ||
"dependencies": { | ||
"@ckeditor/ckeditor5-core": "^32.0.0", | ||
"@ckeditor/ckeditor5-engine": "^32.0.0", | ||
"@ckeditor/ckeditor5-ui": "^32.0.0" | ||
"@ckeditor/ckeditor5-core": "^33.0.0", | ||
"@ckeditor/ckeditor5-engine": "^33.0.0", | ||
"@ckeditor/ckeditor5-ui": "^33.0.0" | ||
}, | ||
"devDependencies": { | ||
"@ckeditor/ckeditor5-basic-styles": "^32.0.0", | ||
"@ckeditor/ckeditor5-clipboard": "^32.0.0", | ||
"@ckeditor/ckeditor5-editor-classic": "^32.0.0", | ||
"@ckeditor/ckeditor5-enter": "^32.0.0", | ||
"@ckeditor/ckeditor5-heading": "^32.0.0", | ||
"@ckeditor/ckeditor5-paragraph": "^32.0.0", | ||
"@ckeditor/ckeditor5-typing": "^32.0.0", | ||
"@ckeditor/ckeditor5-table": "^32.0.0", | ||
"@ckeditor/ckeditor5-utils": "^32.0.0" | ||
"@ckeditor/ckeditor5-basic-styles": "^33.0.0", | ||
"@ckeditor/ckeditor5-clipboard": "^33.0.0", | ||
"@ckeditor/ckeditor5-editor-classic": "^33.0.0", | ||
"@ckeditor/ckeditor5-enter": "^33.0.0", | ||
"@ckeditor/ckeditor5-heading": "^33.0.0", | ||
"@ckeditor/ckeditor5-paragraph": "^33.0.0", | ||
"@ckeditor/ckeditor5-typing": "^33.0.0", | ||
"@ckeditor/ckeditor5-table": "^33.0.0", | ||
"@ckeditor/ckeditor5-utils": "^33.0.0" | ||
}, | ||
@@ -31,0 +31,0 @@ "engines": { |
@@ -62,3 +62,3 @@ /** | ||
this.listenTo( editor.data, 'set', ( evt, data ) => { | ||
// We can assume that the object exists and it has `batchType` property. | ||
// We can assume that the object exists and it has a `batchType` property. | ||
// It was ensured with a higher priority listener before. | ||
@@ -65,0 +65,0 @@ const options = data[ 1 ]; |
@@ -105,7 +105,7 @@ /** | ||
if ( isRedoBatch ) { | ||
// If this batch comes from `redoCommand`, add it to `undoCommand` stack. | ||
// If this batch comes from `redoCommand`, add it to the `undoCommand` stack. | ||
this._undoCommand.addBatch( batch ); | ||
} else if ( !isUndoBatch ) { | ||
// If the batch neither comes from `redoCommand` or `undoCommand` then this is a new, regular batch. | ||
// Add the batch to the `undoCommand` stack and clear `redoCommand` stack. | ||
// If the batch comes neither from `redoCommand` nor from `undoCommand` then it is a new, regular batch. | ||
// Add the batch to the `undoCommand` stack and clear the `redoCommand` stack. | ||
this._undoCommand.addBatch( batch ); | ||
@@ -112,0 +112,0 @@ this._redoCommand.clearStack(); |
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
82443
7
+ Added@ckeditor/ckeditor5-core@33.0.0(transitive)
+ Added@ckeditor/ckeditor5-engine@33.0.0(transitive)
+ Added@ckeditor/ckeditor5-ui@33.0.0(transitive)
+ Added@ckeditor/ckeditor5-utils@33.0.0(transitive)
- Removed@ckeditor/ckeditor5-core@32.0.0(transitive)
- Removed@ckeditor/ckeditor5-engine@32.0.0(transitive)
- Removed@ckeditor/ckeditor5-ui@32.0.0(transitive)
- Removed@ckeditor/ckeditor5-utils@32.0.0(transitive)