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

t/277: StickyToolbarView should support a configurable vertical offset from the top of the page #279

Merged
merged 7 commits into from
Jul 24, 2017

Conversation

oleq
Copy link
Member

@oleq oleq commented Jul 19, 2017

Suggested merge commit message (convention)

Other: StickyToolbarView should support a configurable vertical offset from the top of the page. Closes ckeditor/ckeditor5#5390.

Also implemented the normalizeToolbarConfig() utility.

BREAKING CHANGE: StickyToolbarView#limiterOffset has been renamed to StickyToolbarView#limiterBottomOffset.

@oleq oleq requested a review from szymonkups July 20, 2017 11:39
* @returns {Object} A normalized toolbar config object.
*/
export default function normalizeToolbarConfig( config ) {
if ( config instanceof Array ) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Array.isArray() please.

@Reinmar Reinmar merged commit 245f0fa into master Jul 24, 2017
@Reinmar Reinmar deleted the t/277 branch July 24, 2017 09:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

StickyToolbarView should support a configurable vertical offset from the top of the page
2 participants