@ckeditor/ckeditor5-autoformat
Advanced tools
Comparing version 26.0.0 to 27.0.0
{ | ||
"name": "@ckeditor/ckeditor5-autoformat", | ||
"version": "26.0.0", | ||
"version": "27.0.0", | ||
"description": "Autoformatting feature for CKEditor 5.", | ||
@@ -14,20 +14,20 @@ "keywords": [ | ||
"dependencies": { | ||
"ckeditor5": "^26.0.0" | ||
"ckeditor5": "^27.0.0" | ||
}, | ||
"devDependencies": { | ||
"@ckeditor/ckeditor5-basic-styles": "^26.0.0", | ||
"@ckeditor/ckeditor5-block-quote": "^26.0.0", | ||
"@ckeditor/ckeditor5-code-block": "^26.0.0", | ||
"@ckeditor/ckeditor5-core": "^26.0.0", | ||
"@ckeditor/ckeditor5-basic-styles": "^27.0.0", | ||
"@ckeditor/ckeditor5-block-quote": "^27.0.0", | ||
"@ckeditor/ckeditor5-code-block": "^27.0.0", | ||
"@ckeditor/ckeditor5-core": "^27.0.0", | ||
"@ckeditor/ckeditor5-dev-utils": "^24.0.0", | ||
"@ckeditor/ckeditor5-editor-classic": "^26.0.0", | ||
"@ckeditor/ckeditor5-engine": "^26.0.0", | ||
"@ckeditor/ckeditor5-enter": "^26.0.0", | ||
"@ckeditor/ckeditor5-heading": "^26.0.0", | ||
"@ckeditor/ckeditor5-horizontal-line": "^26.0.0", | ||
"@ckeditor/ckeditor5-list": "^26.0.0", | ||
"@ckeditor/ckeditor5-paragraph": "^26.0.0", | ||
"@ckeditor/ckeditor5-theme-lark": "^26.0.0", | ||
"@ckeditor/ckeditor5-typing": "^26.0.0", | ||
"@ckeditor/ckeditor5-undo": "^26.0.0", | ||
"@ckeditor/ckeditor5-editor-classic": "^27.0.0", | ||
"@ckeditor/ckeditor5-engine": "^27.0.0", | ||
"@ckeditor/ckeditor5-enter": "^27.0.0", | ||
"@ckeditor/ckeditor5-heading": "^27.0.0", | ||
"@ckeditor/ckeditor5-horizontal-line": "^27.0.0", | ||
"@ckeditor/ckeditor5-list": "^27.0.0", | ||
"@ckeditor/ckeditor5-paragraph": "^27.0.0", | ||
"@ckeditor/ckeditor5-theme-lark": "^27.0.0", | ||
"@ckeditor/ckeditor5-typing": "^27.0.0", | ||
"@ckeditor/ckeditor5-undo": "^27.0.0", | ||
"webpack": "^4.43.0", | ||
@@ -34,0 +34,0 @@ "webpack-cli": "^3.3.11" |
@@ -50,2 +50,3 @@ /** | ||
* - `[] ` or `[ ] ` – A paragraph will be changed to a to-do list. | ||
* - `[x] ` or `[ x ] ` – A paragraph will be changed to a checked to-do list. | ||
* | ||
@@ -68,2 +69,9 @@ * @private | ||
} | ||
if ( commands.get( 'checkTodoList' ) ) { | ||
blockAutoformatEditing( this.editor, this, /^\[\s?x\s?\]\s$/, () => { | ||
this.editor.execute( 'todoList' ); | ||
this.editor.execute( 'checkTodoList' ); | ||
} ); | ||
} | ||
} | ||
@@ -70,0 +78,0 @@ |
@@ -99,4 +99,5 @@ /** | ||
// Only lists should be formatted inside the lists. | ||
// Only list commands and custom callbacks can be applied inside a list. | ||
if ( blockToFormat.is( 'element', 'listItem' ) && | ||
typeof callbackOrCommand !== 'function' && | ||
![ 'numberedList', 'bulletedList', 'todoList' ].includes( callbackOrCommand ) | ||
@@ -103,0 +104,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
71014
523
+ Added@ckeditor/ckeditor5-clipboard@27.1.0(transitive)
+ Added@ckeditor/ckeditor5-core@27.1.0(transitive)
+ Added@ckeditor/ckeditor5-engine@27.1.0(transitive)
+ Added@ckeditor/ckeditor5-enter@27.1.0(transitive)
+ Added@ckeditor/ckeditor5-paragraph@27.1.0(transitive)
+ Added@ckeditor/ckeditor5-select-all@27.1.0(transitive)
+ Added@ckeditor/ckeditor5-typing@27.1.0(transitive)
+ Added@ckeditor/ckeditor5-ui@27.1.0(transitive)
+ Added@ckeditor/ckeditor5-undo@27.1.0(transitive)
+ Added@ckeditor/ckeditor5-upload@27.1.0(transitive)
+ Added@ckeditor/ckeditor5-utils@27.1.0(transitive)
+ Added@ckeditor/ckeditor5-widget@27.1.0(transitive)
+ Addedckeditor5@27.1.0(transitive)
- Removed@ckeditor/ckeditor5-clipboard@26.0.0(transitive)
- Removed@ckeditor/ckeditor5-core@26.0.0(transitive)
- Removed@ckeditor/ckeditor5-engine@26.0.0(transitive)
- Removed@ckeditor/ckeditor5-enter@26.0.0(transitive)
- Removed@ckeditor/ckeditor5-paragraph@26.0.0(transitive)
- Removed@ckeditor/ckeditor5-select-all@26.0.0(transitive)
- Removed@ckeditor/ckeditor5-typing@26.0.0(transitive)
- Removed@ckeditor/ckeditor5-ui@26.0.0(transitive)
- Removed@ckeditor/ckeditor5-undo@26.0.0(transitive)
- Removed@ckeditor/ckeditor5-upload@26.0.0(transitive)
- Removed@ckeditor/ckeditor5-utils@26.0.0(transitive)
- Removed@ckeditor/ckeditor5-widget@26.0.0(transitive)
- Removedckeditor5@26.0.0(transitive)
Updatedckeditor5@^27.0.0