diff --git a/src/editorui/boxed/boxededitoruiview.js b/src/editorui/boxed/boxededitoruiview.js index 01706143..f91d9dba 100644 --- a/src/editorui/boxed/boxededitoruiview.js +++ b/src/editorui/boxed/boxededitoruiview.js @@ -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. diff --git a/tests/editorui/boxed/boxededitoruiview.js b/tests/editorui/boxed/boxededitoruiview.js index de31caa6..29ad60d9 100644 --- a/tests/editorui/boxed/boxededitoruiview.js +++ b/tests/editorui/boxed/boxededitoruiview.js @@ -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;