Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ckeditor/ckeditor5-horizontal-line

Package Overview
Dependencies
Maintainers
1
Versions
685
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-horizontal-line - npm Package Compare versions

Comparing version 21.0.0 to 22.0.0

lang/translations/ja.po

22

package.json
{
"name": "@ckeditor/ckeditor5-horizontal-line",
"version": "21.0.0",
"version": "22.0.0",
"description": "Horizontal line feature for CKEditor 5.",

@@ -13,14 +13,14 @@ "keywords": [

"dependencies": {
"@ckeditor/ckeditor5-core": "^21.0.0",
"@ckeditor/ckeditor5-ui": "^21.0.0",
"@ckeditor/ckeditor5-widget": "^21.0.0"
"@ckeditor/ckeditor5-core": "^22.0.0",
"@ckeditor/ckeditor5-ui": "^22.0.0",
"@ckeditor/ckeditor5-widget": "^22.0.0"
},
"devDependencies": {
"@ckeditor/ckeditor5-cloud-services": "^21.0.0",
"@ckeditor/ckeditor5-engine": "^21.0.0",
"@ckeditor/ckeditor5-editor-classic": "^21.0.0",
"@ckeditor/ckeditor5-easy-image": "^21.0.0",
"@ckeditor/ckeditor5-image": "^21.0.0",
"@ckeditor/ckeditor5-paragraph": "^21.0.0",
"@ckeditor/ckeditor5-utils": "^21.0.0"
"@ckeditor/ckeditor5-cloud-services": "^22.0.0",
"@ckeditor/ckeditor5-engine": "^22.0.0",
"@ckeditor/ckeditor5-editor-classic": "^22.0.0",
"@ckeditor/ckeditor5-easy-image": "^22.0.0",
"@ckeditor/ckeditor5-image": "^22.0.0",
"@ckeditor/ckeditor5-paragraph": "^22.0.0",
"@ckeditor/ckeditor5-utils": "^22.0.0"
},

@@ -27,0 +27,0 @@ "engines": {

@@ -45,4 +45,4 @@ /**

model: 'horizontalLine',
view: ( modelElement, viewWriter ) => {
return viewWriter.createEmptyElement( 'hr' );
view: ( modelElement, { writer } ) => {
return writer.createEmptyElement( 'hr' );
}

@@ -53,13 +53,13 @@ } );

model: 'horizontalLine',
view: ( modelElement, viewWriter ) => {
view: ( modelElement, { writer } ) => {
const label = t( 'Horizontal line' );
const viewWrapper = viewWriter.createContainerElement( 'div' );
const viewHrElement = viewWriter.createEmptyElement( 'hr' );
const viewWrapper = writer.createContainerElement( 'div' );
const viewHrElement = writer.createEmptyElement( 'hr' );
viewWriter.addClass( 'ck-horizontal-line', viewWrapper );
viewWriter.setCustomProperty( 'hr', true, viewWrapper );
writer.addClass( 'ck-horizontal-line', viewWrapper );
writer.setCustomProperty( 'hr', true, viewWrapper );
viewWriter.insert( viewWriter.createPositionAt( viewWrapper, 0 ), viewHrElement );
writer.insert( writer.createPositionAt( viewWrapper, 0 ), viewHrElement );
return toHorizontalLineWidget( viewWrapper, viewWriter, label );
return toHorizontalLineWidget( viewWrapper, writer, label );
}

@@ -66,0 +66,0 @@ } );

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