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

@ckeditor/ckeditor5-paragraph

Package Overview
Dependencies
Maintainers
1
Versions
799
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 43.3.1 to 44.0.0-alpha.0

7

dist/index.js

@@ -96,8 +96,8 @@ /**

if (!model.canEditAt(position)) {
return;
return null;
}
model.change((writer)=>{
return model.change((writer)=>{
position = this._findPositionToInsertParagraph(position, writer);
if (!position) {
return;
return null;
}

@@ -110,2 +110,3 @@ const paragraph = writer.createElement('paragraph');

writer.setSelection(paragraph, 'in');
return writer.createPositionAt(paragraph, 0);
});

@@ -112,0 +113,0 @@ }

@@ -44,3 +44,3 @@ /**

attributes?: Record<string, unknown>;
}): void;
}): Position | null;
/**

@@ -47,0 +47,0 @@ * Returns the best position to insert a new paragraph.

{
"name": "@ckeditor/ckeditor5-paragraph",
"version": "43.3.1",
"version": "44.0.0-alpha.0",
"description": "Paragraph feature for CKEditor 5.",

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

"dependencies": {
"@ckeditor/ckeditor5-core": "43.3.1",
"@ckeditor/ckeditor5-ui": "43.3.1",
"@ckeditor/ckeditor5-utils": "43.3.1"
"@ckeditor/ckeditor5-core": "44.0.0-alpha.0",
"@ckeditor/ckeditor5-ui": "44.0.0-alpha.0",
"@ckeditor/ckeditor5-utils": "44.0.0-alpha.0"
},

@@ -21,0 +21,0 @@ "author": "CKSource (http://cksource.com/)",

@@ -6,12 +6,10 @@ CKEditor&nbsp;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://app.travis-ci.com/github/ckeditor/ckeditor5)
[![CircleCI](https://circleci.com/gh/ckeditor/ckeditor5.svg?style=shield)](https://app.circleci.com/pipelines/github/ckeditor/ckeditor5?branch=master)
This package implements paragraph support for CKEditor&nbsp;5.
## Documentation
## Installation
See the [`@ckeditor/ckeditor5-paragraph` package](https://ckeditor.com/docs/ckeditor5/latest/api/paragraph.html) page in [CKEditor&nbsp;5 documentation](https://ckeditor.com/docs/ckeditor5/latest/).
This plugin is part of the `ckeditor5` package. Install the whole package to use it.
## Installation
```bash

@@ -21,4 +19,12 @@ npm install ckeditor5

## Create free account
If you want to check full CKEditor&nbsp;5 capabilities, sign up for a [free non-commitment 14-day trial](https://portal.ckeditor.com/signup).
## Documentation
See the [`@ckeditor/ckeditor5-paragraph` package](https://ckeditor.com/docs/ckeditor5/latest/api/paragraph.html) page in [CKEditor&nbsp;5 documentation](https://ckeditor.com/docs/ckeditor5/latest/).
## License
Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license).

@@ -40,3 +40,3 @@ /**

attributes?: Record<string, unknown>;
}): void;
}): Position | null;
/**

@@ -43,0 +43,0 @@ * Returns the best position to insert a new paragraph.

@@ -46,8 +46,8 @@ /**

if (!model.canEditAt(position)) {
return;
return null;
}
model.change(writer => {
return model.change(writer => {
position = this._findPositionToInsertParagraph(position, writer);
if (!position) {
return;
return null;
}

@@ -60,2 +60,3 @@ const paragraph = writer.createElement('paragraph');

writer.setSelection(paragraph, 'in');
return writer.createPositionAt(paragraph, 0);
});

@@ -62,0 +63,0 @@ }

Sorry, the diff of this file is not supported yet

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