Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

v1.0.0-beta.1

Compare
Choose a tag to compare
@Reinmar Reinmar released this 15 Mar 11:50
· 1009 commits to master since this release

Features

  • Implemented the IconView#fillColor observable which fills child .ck-icon__fill paths with the color (see ckeditor/ckeditor5-theme-lark#148). (728a691)

  • Initial implementation of the ButtonDropdownView. Closes #333. (6e9c6e4)

    Also:

    • Allowed vertical layout of the ToolbarView thanks to the #isVertical attribute.
    • Implemented ToolbarView#className attribute.
    • Implemented DropdownView#isEnabled attribute along with the CSS class binding.
  • Updated UI components to bring the support for the refreshed Lark theme (see ckeditor/ckeditor5#645). (623d536)

Bug fixes

Other changes

  • Added a CSS class to the SplitButtonView when the arrow is on (see ckeditor/ckeditor5-theme-lark#134). (d490d61)
  • Added the .ck-content CSS class to the EditableUIView in order to simplify styling the editor content. Closes #176. (f38ae70)
  • Align feature class naming to a new scheme. (1c500f6)
  • Aligned code to changes (config.lang to config.languages). Part of the Translation Service v2 (ckeditor/ckeditor5#624). (876f681)
  • ComponentFactory.names() will return original component names (instead of normalized names). Closes #376. (b6b39d7)
  • CSS classes should be prefixed with ck- instead of cke-. Closes #112. (7973f83)
  • Introduced SplitButtonView and new dropdown creation helpers (createDropdown(), addListToDropdown() and addToolbarToDropdown()) Closes #344. Closes #356. (0f26ca8)
  • Migrated the package styles from SASS to PostCSS to bring theme support and avoid duplicates in some editor builds. Closes #144. Closes ckeditor/ckeditor5#420. (f152dfc)
  • Moved ck-button-icon mixin from ckeditor5-theme-lark. (8757d27)
  • Removed the .ck-editor-toolbar and .ck-editor-toolbar-container classes (see ckeditor/ckeditor5-theme-lark#135). (352d056)
  • Rename ContextualToolbar to BalloonToolbar. Closes ckeditor/ckeditor5#550. (28f59df)
  • The closeDropdownOnBlur() helper should use clickOutsideHandler(). Decorated the View#render() method. Closes #311. (269e97b)
  • Updated translations. (f657be2)

BREAKING CHANGES

  • Renamed contextual/contextualtoolbar~ContextualToolbar to balloon/balloontoolbar~BalloonToolbar.
  • Renamed contextualToolbar configuration option to balloonToolbar.
  • Removed DropdownModel interface – you can use dropdown properties directly now. See #356.
  • Removed createButtonDropdown() and ButtonDropdownView. See #356.
  • Removed createListDropdown() and ListDropdownView. See #356.
  • The DOM structure of the dropdown component has changed. Please refer to the documentation to find out more.
  • Basic properties of the balloon panel component have changed (i.e. the location of the arrow, the default positions), which may have an impact on existing integrations.
  • The styles are no longer developed in SASS which means the .scss files became unavailable. Please refer to the Theme Customization guide to learn more about migration to PostCSS.