@ckeditor/ckeditor5-paragraph
Advanced tools
Comparing version 0.6.1 to 0.7.0
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.). |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46755
22
848
+ Added@ckeditor/ckeditor5-core@0.8.1(transitive)
+ Added@ckeditor/ckeditor5-engine@0.10.00.9.0(transitive)
+ Added@ckeditor/ckeditor5-utils@0.9.1(transitive)
- Removed@ckeditor/ckeditor5-core@0.7.0(transitive)
- Removed@ckeditor/ckeditor5-engine@0.8.0(transitive)
- Removed@ckeditor/ckeditor5-utils@0.8.0(transitive)