@ckeditor/ckeditor5-indent
Advanced tools
Comparing version 23.1.0 to 24.0.0
{ | ||
"name": "@ckeditor/ckeditor5-indent", | ||
"version": "23.1.0", | ||
"version": "24.0.0", | ||
"description": "Block indentation feature for CKEditor 5.", | ||
@@ -13,11 +13,11 @@ "keywords": [ | ||
"dependencies": { | ||
"@ckeditor/ckeditor5-core": "^23.1.0", | ||
"@ckeditor/ckeditor5-utils": "^23.1.0" | ||
"@ckeditor/ckeditor5-core": "^24.0.0", | ||
"@ckeditor/ckeditor5-utils": "^24.0.0" | ||
}, | ||
"devDependencies": { | ||
"@ckeditor/ckeditor5-editor-classic": "^23.1.0", | ||
"@ckeditor/ckeditor5-engine": "^23.1.0", | ||
"@ckeditor/ckeditor5-heading": "^23.1.0", | ||
"@ckeditor/ckeditor5-paragraph": "^23.1.0", | ||
"@ckeditor/ckeditor5-ui": "^23.1.0" | ||
"@ckeditor/ckeditor5-editor-classic": "^24.0.0", | ||
"@ckeditor/ckeditor5-engine": "^24.0.0", | ||
"@ckeditor/ckeditor5-heading": "^24.0.0", | ||
"@ckeditor/ckeditor5-paragraph": "^24.0.0", | ||
"@ckeditor/ckeditor5-ui": "^24.0.0" | ||
}, | ||
@@ -24,0 +24,0 @@ "engines": { |
@@ -17,2 +17,4 @@ /** | ||
const DEFAULT_ELEMENTS = [ 'paragraph', 'heading1', 'heading2', 'heading3', 'heading4', 'heading5', 'heading6' ]; | ||
/** | ||
@@ -83,4 +85,6 @@ * The block indentation feature. | ||
// Enable block indentation by default in paragraph and default headings. | ||
const knownElements = [ 'paragraph', 'heading1', 'heading2', 'heading3', 'heading4', 'heading5', 'heading6' ]; | ||
// Enable block indentation to heading configuration options. If it is not defined enable in paragraph and default headings. | ||
const options = editor.config.get( 'heading.options' ); | ||
const configuredElements = options && options.map( option => option.model ); | ||
const knownElements = configuredElements || DEFAULT_ELEMENTS; | ||
@@ -87,0 +91,0 @@ knownElements.forEach( elementName => { |
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
67643
577
+ Added@ckeditor/ckeditor5-core@24.0.0(transitive)
+ Added@ckeditor/ckeditor5-engine@24.0.0(transitive)
+ Added@ckeditor/ckeditor5-utils@24.0.0(transitive)
- Removed@ckeditor/ckeditor5-core@23.1.0(transitive)
- Removed@ckeditor/ckeditor5-engine@23.1.0(transitive)
- Removed@ckeditor/ckeditor5-utils@23.1.0(transitive)