From db7138857bd89b3025957f085e968190004154c5 Mon Sep 17 00:00:00 2001 From: Damian Konopka Date: Thu, 15 Feb 2018 10:54:42 +0100 Subject: [PATCH] Removed `ck-editor-toolbar` class from toolbar. --- src/classiceditoruiview.js | 6 ------ tests/classiceditoruiview.js | 4 ---- 2 files changed, 10 deletions(-) diff --git a/src/classiceditoruiview.js b/src/classiceditoruiview.js index bc250d9..d9826ff 100644 --- a/src/classiceditoruiview.js +++ b/src/classiceditoruiview.js @@ -46,12 +46,6 @@ export default class ClassicEditorUIView extends BoxedEditorUIView { */ this.toolbar = new ToolbarView( locale ); - this.toolbar.extendTemplate( { - attributes: { - class: 'ck-editor-toolbar' - } - } ); - /** * Editable UI view. * diff --git a/tests/classiceditoruiview.js b/tests/classiceditoruiview.js index 7f96357..b3e990d 100644 --- a/tests/classiceditoruiview.js +++ b/tests/classiceditoruiview.js @@ -44,10 +44,6 @@ describe( 'ClassicEditorUIView', () => { expect( view.toolbar ).to.be.instanceof( ToolbarView ); } ); - it( 'is given the right CSS class', () => { - expect( view.toolbar.element.classList.contains( 'ck-editor-toolbar' ) ).to.be.true; - } ); - it( 'is given a locate object', () => { expect( view.toolbar.locale ).to.equal( locale ); } );