@ckeditor/ckeditor5-autoformat
Advanced tools
Comparing version 1.0.0-beta.1 to 1.0.0-beta.2
Changelog | ||
========= | ||
## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-autoformat/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2018-04-10) | ||
### Bug fixes | ||
* Autoformat should ignore transparent batches. Closes [#56](https://github.com/ckeditor/ckeditor5-autoformat/issues/56). ([e42f987](https://github.com/ckeditor/ckeditor5-autoformat/commit/e42f987)) | ||
## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-autoformat/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (2018-03-15) | ||
@@ -5,0 +12,0 @@ |
{ | ||
"name": "@ckeditor/ckeditor5-autoformat", | ||
"version": "1.0.0-beta.1", | ||
"version": "1.0.0-beta.2", | ||
"description": "Autoformatting feature for CKEditor 5.", | ||
@@ -10,20 +10,20 @@ "keywords": [ | ||
"dependencies": { | ||
"@ckeditor/ckeditor5-core": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-engine": "^1.0.0-beta.1" | ||
"@ckeditor/ckeditor5-core": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-engine": "^1.0.0-beta.2" | ||
}, | ||
"devDependencies": { | ||
"@ckeditor/ckeditor5-basic-styles": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-block-quote": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-cloudservices": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-editor-classic": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-enter": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-heading": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-list": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-paragraph": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-typing": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-undo": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-basic-styles": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-block-quote": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-cloud-services": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-editor-classic": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-enter": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-heading": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-list": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-paragraph": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-typing": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-undo": "^1.0.0-beta.2", | ||
"eslint": "^4.15.0", | ||
"eslint-config-ckeditor5": "^1.0.7", | ||
"husky": "^0.14.3", | ||
"lint-staged": "^6.0.0" | ||
"lint-staged": "^7.0.0" | ||
}, | ||
@@ -36,3 +36,3 @@ "engines": { | ||
"license": "(GPL-2.0 OR LGPL-2.1 OR MPL-1.1)", | ||
"homepage": "https://ckeditor5.github.io", | ||
"homepage": "https://ckeditor.com", | ||
"bugs": "https://github.com/ckeditor/ckeditor5-autoformat/issues", | ||
@@ -39,0 +39,0 @@ "repository": { |
@@ -17,3 +17,3 @@ CKEditor 5 autoformat feature | ||
See the [`@ckeditor/ckeditor5-autoformat` package](https://ckeditor5.github.io/docs/nightly/ckeditor5/latest/api/autoformat.html) page in [CKEditor 5 documentation](https://ckeditor5.github.io/docs/nightly/ckeditor5/latest/). | ||
See the [`@ckeditor/ckeditor5-autoformat` package](https://docs.ckeditor.com/ckeditor5/latest/api/autoformat.html) page in [CKEditor 5 documentation](https://docs.ckeditor.com/ckeditor5/latest/). | ||
@@ -20,0 +20,0 @@ ## License |
@@ -66,3 +66,7 @@ /** | ||
editor.model.document.on( 'change', () => { | ||
editor.model.document.on( 'change', ( evt, batch ) => { | ||
if ( batch.type == 'transparent' ) { | ||
return; | ||
} | ||
const changes = Array.from( editor.model.document.differ.getChanges() ); | ||
@@ -69,0 +73,0 @@ const entry = changes[ 0 ]; |
@@ -143,3 +143,7 @@ /** | ||
editor.model.document.on( 'change', () => { | ||
editor.model.document.on( 'change', ( evt, batch ) => { | ||
if ( batch.type == 'transparent' ) { | ||
return; | ||
} | ||
const selection = editor.model.document.selection; | ||
@@ -146,0 +150,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
24868
397
0