This repository has been archived by the owner on Jun 26, 2020. It is now read-only.
v11.0.0
Features
-
Implemented the
SwitchButtonView
. Closes #402. Closes #403. (105fbea)Also:
- Simplified the
ListItemView
class, which is now just a container forButtonView
(and others), - Moved
ListItemView#style
and#class
to theButtonView
(as#class
and#labelStyle
), - Enhanced the
addListToDropdown
utility with a better configuration (ListDropdownItemDefinition
) and the support for buttons, switch buttons, and separators, .ck-button
and.ck-list
becameflex
containers; the first one to allow complex inner structures (like the toggle) and the later to take control of complex list items (like.ck-switchbutton
).
- Simplified the
Bug fixes
- The
BalloonToolbar
should hide when the editable is blurred. Closes #418. (f6a02d4) - The
BlockToolbar
should add elements to theFocusTracker
only afteruiReady
is fired to avoid errors. Closes #424. (ae9fa09) - The
BlockToolbar
should hide when the editor is blurred. Closes #408. (e3bbccf)
Other changes
- Allowed list item's buttons to have an outer, visible box-shadow. Ensured the balloon panel's arrow does not cover panel's children. Closes #394. (8a64ee2)
- Updated translations. (949585d)
BREAKING CHANGES
- Most of the
ListItemView
functionality is now handled by theButtonView
, - The API of the
addListToDropdown
has changed; seeListDropdownItemDefinition
to learn more, - The
.ck-button
and.ck-list
classes are usingflex
which may have an impact on rendering.