Socket
Socket
Sign inDemoInstall

@ckeditor/ckeditor5-paragraph

Package Overview
Dependencies
Maintainers
1
Versions
648
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-paragraph - npm Package Compare versions

Comparing version 33.0.0 to 34.0.0

26

package.json
{
"name": "@ckeditor/ckeditor5-paragraph",
"version": "33.0.0",
"version": "34.0.0",
"description": "Paragraph feature for CKEditor 5.",

@@ -15,16 +15,16 @@ "keywords": [

"dependencies": {
"@ckeditor/ckeditor5-core": "^33.0.0",
"@ckeditor/ckeditor5-ui": "^33.0.0",
"@ckeditor/ckeditor5-utils": "^33.0.0"
"@ckeditor/ckeditor5-core": "^34.0.0",
"@ckeditor/ckeditor5-ui": "^34.0.0",
"@ckeditor/ckeditor5-utils": "^34.0.0"
},
"devDependencies": {
"@ckeditor/ckeditor5-basic-styles": "^33.0.0",
"@ckeditor/ckeditor5-clipboard": "^33.0.0",
"@ckeditor/ckeditor5-editor-classic": "^33.0.0",
"@ckeditor/ckeditor5-engine": "^33.0.0",
"@ckeditor/ckeditor5-enter": "^33.0.0",
"@ckeditor/ckeditor5-heading": "^33.0.0",
"@ckeditor/ckeditor5-link": "^33.0.0",
"@ckeditor/ckeditor5-typing": "^33.0.0",
"@ckeditor/ckeditor5-undo": "^33.0.0"
"@ckeditor/ckeditor5-basic-styles": "^34.0.0",
"@ckeditor/ckeditor5-clipboard": "^34.0.0",
"@ckeditor/ckeditor5-editor-classic": "^34.0.0",
"@ckeditor/ckeditor5-engine": "^34.0.0",
"@ckeditor/ckeditor5-enter": "^34.0.0",
"@ckeditor/ckeditor5-heading": "^34.0.0",
"@ckeditor/ckeditor5-link": "^34.0.0",
"@ckeditor/ckeditor5-typing": "^34.0.0",
"@ckeditor/ckeditor5-undo": "^34.0.0"
},

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

@@ -6,3 +6,4 @@ CKEditor 5 paragraph feature

[![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master)
[![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://travis-ci.com/ckeditor/ckeditor5)
[![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5)
![Dependency Status](https://img.shields.io/librariesio/release/npm/@ckeditor/ckeditor5-paragraph)

@@ -9,0 +10,0 @@ This package implements paragraph support for CKEditor 5.

@@ -36,2 +36,3 @@ /**

* the new paragraph will be inserted.
* @param {Object} attributes Attributes keys and values to set on a inserted paragraph
* @fires execute

@@ -41,2 +42,4 @@ */

const model = this.editor.model;
const attributes = options.attributes;
let position = options.position;

@@ -47,2 +50,6 @@

if ( attributes ) {
model.schema.setAllowedAttributes( paragraph, attributes, writer );
}
if ( !model.schema.checkChild( position.parent, paragraph ) ) {

@@ -49,0 +56,0 @@ const allowedParent = model.schema.findAllowedParent( position, paragraph );

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