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

i/5692: The main editor toolbar should respect the config.toolbar.shouldGroupWhenFull configuration #45

Merged
merged 2 commits into from Nov 20, 2019

Conversation

oleq
Copy link
Member

@oleq oleq commented Nov 18, 2019

Suggested merge commit message (convention)

Feature: The main editor toolbar should respect the config.toolbar.shouldGroupWhenFull configuration (see ckeditor/ckeditor5#5692).


Additional information

Requires ckeditor/ckeditor5-core#201.

@coveralls
Copy link

coveralls commented Nov 18, 2019

Pull Request Test Coverage Report for Build 324

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 319: 0.0%
Covered Lines: 70
Relevant Lines: 70

💛 - Coveralls

const shouldGroupWhenFull = this.config.get( 'toolbar.shouldGroupWhenFull' );
const view = new DecoupledEditorUIView( this.locale, this.editing.view, {
editableElement: this.sourceElement,
shouldToolbarGroupWhenFull: shouldGroupWhenFull === undefined ? true : shouldGroupWhenFull
Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

@Reinmar Reinmar left a comment

Choose a reason for hiding this comment

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

As commented in the other PR.

@Reinmar Reinmar merged commit 35b3cbf into master Nov 20, 2019
@Reinmar Reinmar deleted the i/5692 branch November 20, 2019 11:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
3 participants