@ckeditor/ckeditor5-heading
Advanced tools
Comparing version 1.0.0-beta.1 to 1.0.0-beta.2
Changelog | ||
========= | ||
## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-heading/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2018-04-10) | ||
### Other changes | ||
* Aligned `ElementDefinition` usage to the changes in the engine. See [ckeditor/ckeditor5#742](https://github.com/ckeditor/ckeditor5/issues/742). ([96d24f4](https://github.com/ckeditor/ckeditor5-heading/commit/96d24f4)) | ||
* Increased the specificity of CSS rules. Introduced the `.ck` class for editor UI components (see: [ckeditor/ckeditor5#494](https://github.com/ckeditor/ckeditor5/issues/494)). ([915ec69](https://github.com/ckeditor/ckeditor5-heading/commit/915ec69)) | ||
### BREAKING CHANGES | ||
* In the custom format of the heading feature configuration the `view.style`, `view.class` and `view.attribute` properties are now called `view.styles`, `view.classes` and `view.attributes`. | ||
## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-heading/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (2018-03-15) | ||
@@ -5,0 +17,0 @@ |
{ | ||
"name": "@ckeditor/ckeditor5-heading", | ||
"version": "1.0.0-beta.1", | ||
"version": "1.0.0-beta.2", | ||
"description": "Headings feature for CKEditor 5.", | ||
@@ -10,20 +10,20 @@ "keywords": [ | ||
"dependencies": { | ||
"@ckeditor/ckeditor5-core": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-ui": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-utils": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-engine": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-paragraph": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-theme-lark": "^1.0.0-beta.1" | ||
"@ckeditor/ckeditor5-core": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-ui": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-utils": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-engine": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-paragraph": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-theme-lark": "^1.0.0-beta.2" | ||
}, | ||
"devDependencies": { | ||
"@ckeditor/ckeditor5-cloudservices": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-editor-classic": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-enter": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-image": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-typing": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-undo": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-cloud-services": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-editor-classic": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-enter": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-image": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-typing": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-undo": "^1.0.0-beta.2", | ||
"eslint": "^4.15.0", | ||
"eslint-config-ckeditor5": "^1.0.7", | ||
"husky": "^0.14.3", | ||
"lint-staged": "^6.0.0" | ||
"lint-staged": "^7.0.0" | ||
}, | ||
@@ -36,3 +36,3 @@ "engines": { | ||
"license": "(GPL-2.0 OR LGPL-2.1 OR MPL-1.1)", | ||
"homepage": "https://ckeditor5.github.io", | ||
"homepage": "https://ckeditor.com", | ||
"bugs": "https://github.com/ckeditor/ckeditor5-heading/issues", | ||
@@ -39,0 +39,0 @@ "repository": { |
@@ -17,3 +17,3 @@ CKEditor 5 headings feature | ||
See the [`@ckeditor/ckeditor5-heading` package](https://ckeditor5.github.io/docs/nightly/ckeditor5/latest/api/heading.html) page in [CKEditor 5 documentation](https://ckeditor5.github.io/docs/nightly/ckeditor5/latest/). | ||
See the [`@ckeditor/ckeditor5-heading` package](https://docs.ckeditor.com/ckeditor5/latest/api/heading.html) page in [CKEditor 5 documentation](https://docs.ckeditor.com/ckeditor5/latest/). | ||
@@ -20,0 +20,0 @@ ## License |
@@ -66,3 +66,3 @@ /** | ||
*/ | ||
execute( options = {} ) { | ||
execute( options ) { | ||
const model = this.editor.model; | ||
@@ -73,6 +73,2 @@ const document = model.document; | ||
if ( !this.modelElements.includes( modelElement ) ) { | ||
return; | ||
} | ||
model.change( writer => { | ||
@@ -79,0 +75,0 @@ const blocks = Array.from( document.selection.getSelectedBlocks() ) |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
57511
46
0
407