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

@ckeditor/ckeditor5-clipboard

Package Overview
Dependencies
Maintainers
1
Versions
712
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-clipboard - npm Package Compare versions

Comparing version 11.0.2 to 12.0.0

11

CHANGELOG.md
Changelog
=========
## [12.0.0](https://github.com/ckeditor/ckeditor5-clipboard/compare/v11.0.2...v12.0.0) (2019-07-04)
### Other changes
* New lines pasted as a plain text will always create a new paragraph. Closes [ckeditor/ckeditor5#1727](https://github.com/ckeditor/ckeditor5/issues/1727). ([f0eb3a0](https://github.com/ckeditor/ckeditor5-clipboard/commit/f0eb3a0))
### BREAKING CHANGES
* From now on, every new line pasted in the editor as a plain text, will create a new paragraph. Read more at [ckeditor/ckeditor5#1727](https://github.com/ckeditor/ckeditor5/issues/1727).
## [11.0.2](https://github.com/ckeditor/ckeditor5-clipboard/compare/v11.0.1...v11.0.2) (2019-06-05)

@@ -5,0 +16,0 @@

18

package.json
{
"name": "@ckeditor/ckeditor5-clipboard",
"version": "11.0.2",
"version": "12.0.0",
"description": "Clipboard integration for CKEditor 5.",

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

"dependencies": {
"@ckeditor/ckeditor5-core": "^12.1.1",
"@ckeditor/ckeditor5-engine": "^13.1.1",
"@ckeditor/ckeditor5-utils": "^12.1.1"
"@ckeditor/ckeditor5-core": "^12.2.0",
"@ckeditor/ckeditor5-engine": "^13.2.0",
"@ckeditor/ckeditor5-utils": "^13.0.0"
},
"devDependencies": {
"@ckeditor/ckeditor5-basic-styles": "^11.1.1",
"@ckeditor/ckeditor5-block-quote": "^11.1.0",
"@ckeditor/ckeditor5-editor-classic": "^12.1.1",
"@ckeditor/ckeditor5-link": "^11.0.2",
"@ckeditor/ckeditor5-paragraph": "^11.0.2",
"@ckeditor/ckeditor5-basic-styles": "^11.1.2",
"@ckeditor/ckeditor5-block-quote": "^11.1.1",
"@ckeditor/ckeditor5-editor-classic": "^12.1.2",
"@ckeditor/ckeditor5-link": "^11.1.0",
"@ckeditor/ckeditor5-paragraph": "^11.0.3",
"eslint": "^5.5.0",

@@ -25,0 +25,0 @@ "eslint-config-ckeditor5": "^1.0.11",

@@ -7,3 +7,2 @@ CKEditor 5 clipboard feature

[![Build Status](https://travis-ci.org/ckeditor/ckeditor5-clipboard.svg?branch=master)](https://travis-ci.org/ckeditor/ckeditor5-clipboard)
[![BrowserStack Status](https://automate.browserstack.com/automate/badge.svg?badge_key=d3hvenZqQVZERFQ5d09FWXdyT0ozVXhLaVltRFRjTTUyZGpvQWNmWVhUUT0tLUZqNlJ1YWRUd0RvdEVOaEptM1B2Q0E9PQ==--c9d3dee40b9b4471ff3fb516d9ecf8d09292c7e0)](https://automate.browserstack.com/public-build/d3hvenZqQVZERFQ5d09FWXdyT0ozVXhLaVltRFRjTTUyZGpvQWNmWVhUUT0tLUZqNlJ1YWRUd0RvdEVOaEptM1B2Q0E9PQ==--c9d3dee40b9b4471ff3fb516d9ecf8d09292c7e0)
[![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5-clipboard/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5-clipboard?branch=master)

@@ -10,0 +9,0 @@ <br>

@@ -21,5 +21,4 @@ /**

.replace( />/g, '&gt;' )
// Creates paragraphs for double line breaks and change single line breaks to <br>s.
.replace( /\n\n/g, '</p><p>' )
.replace( /\n/g, '<br>' )
// Creates paragraphs for every line breaks.
.replace( /\n/g, '</p><p>' )
// Preserve trailing spaces (only the first and last one – the rest is handled below).

@@ -26,0 +25,0 @@ .replace( /^\s/, '&nbsp;' )

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