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
707
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 0.6.1 to 0.7.0

src/paragraphcommand.js

12

CHANGELOG.md
Changelog
=========
## [0.7.0](https://github.com/ckeditor/ckeditor5-paragraph/compare/v0.6.1...v0.7.0) (2017-04-05)
### Bug fixes
* Paragraph command should correctly update its `value` and `isEnabled` properties. Closes [#16](https://github.com/ckeditor/ckeditor5-paragraph/issues/16). ([931e02f](https://github.com/ckeditor/ckeditor5-paragraph/commit/931e02f))
### Features
* Implemented `ParagraphCommand`, previously part of the `HeadingCommand`. Closes [#14](https://github.com/ckeditor/ckeditor5-paragraph/issues/14). ([876877d](https://github.com/ckeditor/ckeditor5-paragraph/commit/876877d))
* Named existing plugin(s). ([46dc9b8](https://github.com/ckeditor/ckeditor5-paragraph/commit/46dc9b8))
## [0.6.1](https://github.com/ckeditor/ckeditor5-paragraph/compare/v0.6.0...v0.6.1) (2017-03-06)
Internal changes only (updated dependencies, documentation, etc.).

22

package.json
{
"name": "@ckeditor/ckeditor5-paragraph",
"version": "0.6.1",
"version": "0.7.0",
"description": "Paragraph feature for CKEditor 5.",
"keywords": [],
"dependencies": {
"@ckeditor/ckeditor5-core": "^0.7.0",
"@ckeditor/ckeditor5-engine": "^0.8.0",
"@ckeditor/ckeditor5-utils": "^0.8.0"
"@ckeditor/ckeditor5-core": "^0.8.0",
"@ckeditor/ckeditor5-engine": "^0.9.0",
"@ckeditor/ckeditor5-utils": "^0.9.0"
},
"devDependencies": {
"@ckeditor/ckeditor5-basic-styles": "^0.7.1",
"@ckeditor/ckeditor5-clipboard": "^0.4.1",
"@ckeditor/ckeditor5-clipboard": "^0.5.0",
"@ckeditor/ckeditor5-dev-lint": "^2.0.2",
"@ckeditor/ckeditor5-editor-classic": "^0.7.1",
"@ckeditor/ckeditor5-enter": "^0.8.0",
"@ckeditor/ckeditor5-heading": "^0.8.0",
"@ckeditor/ckeditor5-link": "^0.5.1",
"@ckeditor/ckeditor5-typing": "^0.8.0",
"@ckeditor/ckeditor5-undo": "^0.7.1",
"@ckeditor/ckeditor5-editor-classic": "^0.7.2",
"@ckeditor/ckeditor5-enter": "^0.9.0",
"@ckeditor/ckeditor5-heading": "^0.9.0",
"@ckeditor/ckeditor5-link": "^0.6.0",
"@ckeditor/ckeditor5-typing": "^0.9.0",
"@ckeditor/ckeditor5-undo": "^0.8.0",
"gulp": "^3.9.0",

@@ -22,0 +22,0 @@ "guppy-pre-commit": "^0.4.0"

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

import ParagraphCommand from './paragraphcommand';
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';

@@ -35,2 +36,9 @@

*/
static get pluginName() {
return 'paragraph/paragraph';
}
/**
* @inheritDoc
*/
init() {

@@ -70,2 +78,4 @@ const editor = this.editor;

}, { priority: 'low' } );
editor.commands.set( 'paragraph', new ParagraphCommand( editor ) );
}

@@ -72,0 +82,0 @@ }

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

import Paragraph from '../src/paragraph';
import ParagraphCommand from '../src/paragraphcommand';
import VirtualTestEditor from '@ckeditor/ckeditor5-core/tests/_utils/virtualtesteditor';

@@ -341,2 +342,8 @@ import {

} );
describe( 'command', () => {
it( 'should be set in the editor', () => {
expect( editor.commands.get( 'paragraph' ) ).to.be.instanceof( ParagraphCommand );
} );
} );
} );

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