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

Commit

Permalink
Other: Removed legacy width and height attributes from the BoxedEdito…
Browse files Browse the repository at this point in the history
…rUIView. Closes #25.
  • Loading branch information
oleq committed Oct 4, 2017
2 parents 14ef629 + 739e12f commit ffa419a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
16 changes: 0 additions & 16 deletions src/editorui/boxed/boxededitoruiview.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,6 @@ export default class BoxedEditorUIView extends EditorUIView {
const t = this.t;
const ariaLabelUid = uid();

/**
* The UI's width.
*
* @observable
* @member {Number} #width
*/
this.set( 'width', null );

/**
* The UI's height.
*
* @observable
* @member {Number} #height
*/
this.set( 'height', null );

/**
* Collection of the child views located in the top (`.ck-editor__top`)
* area of the UI.
Expand Down
5 changes: 0 additions & 5 deletions tests/editorui/boxed/boxededitoruiview.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ describe( 'BoxedEditorUIView', () => {
expect( view.main ).to.be.instanceof( ViewCollection );
} );

it( 'sets "width" and "height" attributes', () => {
expect( view.width ).to.equal( null );
expect( view.height ).to.equal( null );
} );

it( 'bootstraps the view element from template', () => {
expect( view.element.classList.contains( 'ck-editor' ) ).to.be.true;
expect( view.element.classList.contains( 'ck-reset' ) ).to.be.true;
Expand Down

0 comments on commit ffa419a

Please sign in to comment.