@ckeditor/ckeditor5-ui
Advanced tools
Comparing version 12.0.0 to 12.1.0
Changelog | ||
========= | ||
## [12.1.0](https://github.com/ckeditor/ckeditor5-ui/compare/v12.0.0...v12.1.0) (2019-04-10) | ||
### Features | ||
* Implemented `ColorGridView` and `ColorTileView` components. See [ckeditor/ckeditor5#1457](https://github.com/ckeditor/ckeditor5/issues/1457). ([6be52b4](https://github.com/ckeditor/ckeditor5-ui/commit/6be52b4)) | ||
### Bug fixes | ||
* Fixed `View#render` collision when moving focus from a one editable to the other in multi-root editor. Closes https://github.com/ckeditor/ckeditor5/issues/1676. ([17e86f9](https://github.com/ckeditor/ckeditor5-ui/commit/17e86f9)) | ||
### Other changes | ||
* Optimized icons. ([5325ea8](https://github.com/ckeditor/ckeditor5-ui/commit/5325ea8)) | ||
* Updated translations. ([dcdca2e](https://github.com/ckeditor/ckeditor5-ui/commit/dcdca2e)) | ||
## [12.0.0](https://github.com/ckeditor/ckeditor5-ui/compare/v11.2.0...v12.0.0) (2019-02-28) | ||
@@ -5,0 +21,0 @@ |
{ | ||
"name": "@ckeditor/ckeditor5-ui", | ||
"version": "12.0.0", | ||
"version": "12.1.0", | ||
"description": "The UI framework and standard UI library of CKEditor 5.", | ||
@@ -12,31 +12,24 @@ "keywords": [ | ||
"dependencies": { | ||
"@ckeditor/ckeditor5-core": "^12.0.0", | ||
"@ckeditor/ckeditor5-theme-lark": "^13.0.0", | ||
"@ckeditor/ckeditor5-utils": "^12.0.0", | ||
"@ckeditor/ckeditor5-core": "^12.1.0", | ||
"@ckeditor/ckeditor5-utils": "^12.1.0", | ||
"lodash-es": "^4.17.10" | ||
}, | ||
"devDependencies": { | ||
"@ckeditor/ckeditor5-basic-styles": "^11.0.0", | ||
"@ckeditor/ckeditor5-block-quote": "^11.0.0", | ||
"@ckeditor/ckeditor5-build-balloon": "^12.0.0", | ||
"@ckeditor/ckeditor5-cloud-services": "^11.0.0", | ||
"@ckeditor/ckeditor5-easy-image": "^11.0.0", | ||
"@ckeditor/ckeditor5-editor-balloon": "^12.0.0", | ||
"@ckeditor/ckeditor5-editor-classic": "^12.0.0", | ||
"@ckeditor/ckeditor5-engine": "^13.0.0", | ||
"@ckeditor/ckeditor5-enter": "^11.0.0", | ||
"@ckeditor/ckeditor5-essentials": "^11.0.0", | ||
"@ckeditor/ckeditor5-heading": "^11.0.0", | ||
"@ckeditor/ckeditor5-image": "^13.0.0", | ||
"@ckeditor/ckeditor5-link": "^11.0.0", | ||
"@ckeditor/ckeditor5-list": "^12.0.0", | ||
"@ckeditor/ckeditor5-paragraph": "^11.0.0", | ||
"@ckeditor/ckeditor5-typing": "^12.0.0", | ||
"@ckeditor/ckeditor5-undo": "^11.0.0", | ||
"del": "^2.2.0", | ||
"@ckeditor/ckeditor5-basic-styles": "^11.1.0", | ||
"@ckeditor/ckeditor5-block-quote": "^11.0.1", | ||
"@ckeditor/ckeditor5-editor-balloon": "^12.1.0", | ||
"@ckeditor/ckeditor5-editor-classic": "^12.1.0", | ||
"@ckeditor/ckeditor5-engine": "^13.1.0", | ||
"@ckeditor/ckeditor5-enter": "^11.0.1", | ||
"@ckeditor/ckeditor5-essentials": "^11.0.1", | ||
"@ckeditor/ckeditor5-heading": "^11.0.1", | ||
"@ckeditor/ckeditor5-image": "^13.0.1", | ||
"@ckeditor/ckeditor5-link": "^11.0.1", | ||
"@ckeditor/ckeditor5-list": "^12.0.1", | ||
"@ckeditor/ckeditor5-paragraph": "^11.0.1", | ||
"@ckeditor/ckeditor5-typing": "^12.0.1", | ||
"eslint": "^5.5.0", | ||
"eslint-config-ckeditor5": "^1.0.11", | ||
"husky": "^1.3.1", | ||
"lint-staged": "^7.0.0", | ||
"lodash-cli": "^4" | ||
"lint-staged": "^7.0.0" | ||
}, | ||
@@ -43,0 +36,0 @@ "engines": { |
@@ -125,3 +125,3 @@ /** | ||
if ( editingView.isRenderingInProgress ) { | ||
editingView.once( 'change:isRenderingInProgress', () => update( this ) ); | ||
updateAfterRender( this ); | ||
} else { | ||
@@ -139,3 +139,18 @@ update( this ); | ||
} | ||
// In a case of a multi-root editor, a callback will be attached more than once (one callback for each root). | ||
// While executing one callback the `isRenderingInProgress` observable is changing what causes executing another | ||
// callback and render is called inside the already pending render. | ||
// We need to be sure that callback is executed only when the value has changed from `true` to `false`. | ||
// See https://github.com/ckeditor/ckeditor5/issues/1676. | ||
function updateAfterRender( view ) { | ||
editingView.once( 'change:isRenderingInProgress', ( evt, name, value ) => { | ||
if ( !value ) { | ||
update( view ); | ||
} else { | ||
updateAfterRender( view ); | ||
} | ||
} ); | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
345776
3
17
122
8267
- Removed@ckeditor/ckeditor5-theme-lark@13.0.1(transitive)
- Removed@ckeditor/ckeditor5-ui@12.1.0(transitive)