8
0
Prechádzať zdrojové kódy

Changed naming of block toolbar.

Damian Konopka 7 rokov pred
rodič
commit
37be365bfe

+ 1 - 1
packages/ckeditor5-ui/src/toolbar/block/view/blockbuttonview.js

@@ -38,7 +38,7 @@ export default class BlockButtonView extends ButtonView {
 
 		this.extendTemplate( {
 			attributes: {
-				class: 'ck-toolbar-block-button',
+				class: 'ck-block-toolbar-button',
 				style: {
 					top: bind.to( 'top', val => toPx( val ) ),
 					left: bind.to( 'left', val => toPx( val ) ),

+ 1 - 1
packages/ckeditor5-ui/tests/toolbar/block/view/blockbuttonview.js

@@ -14,7 +14,7 @@ describe( 'BlockButtonView', () => {
 	} );
 
 	it( 'should create element from template', () => {
-		expect( view.element.classList.contains( 'ck-toolbar-block-button' ) ).to.true;
+		expect( view.element.classList.contains( 'ck-block-toolbar-button' ) ).to.true;
 	} );
 
 	describe( 'DOM binding', () => {