Selaa lähdekoodia

Changed `ltrs-toolbar-block-button` to `ck-toolbar-block-button`.

Damian Konopka 7 vuotta sitten
vanhempi
commit
d65db0bab3

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

@@ -37,7 +37,7 @@ export default class BlockButtonView extends ButtonView {
 
 		this.extendTemplate( {
 			attributes: {
-				class: 'ltrs-toolbar-block-button',
+				class: 'ck-toolbar-block-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( 'ltrs-toolbar-block-button' ) ).to.true;
+		expect( view.element.classList.contains( 'ck-toolbar-block-button' ) ).to.true;
 	} );
 
 	describe( 'DOM binding', () => {

+ 1 - 1
packages/ckeditor5-ui/theme/components/toolbar/blocktoolbar.css

@@ -8,7 +8,7 @@
 	/* --ck-color-blocktoolbar-icon: hsla(0, 0%, 100%); */
 }
 
-.ck.ck-button.ltrs-toolbar-block-button {
+.ck.ck-button.ck-toolbar-block-button {
 	position: absolute;
 	border: 0;
 	/* font-size: var(--ltrs-font-medium); */