Socket
Socket
Sign inDemoInstall

@ckeditor/ckeditor5-indent

Package Overview
Dependencies
Maintainers
1
Versions
600
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-indent - npm Package Compare versions

Comparing version 23.1.0 to 24.0.0

16

package.json
{
"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 => {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc