8
0
Aleksander Nowodzinski 6 лет назад
Родитель
Сommit
a2bce6fe4f

+ 1 - 1
packages/ckeditor5-table/src/ui/colorinputview.js

@@ -107,7 +107,7 @@ export default class ColorInputView extends View {
 			attributes: {
 				class: [
 					'ck',
-					'ck-input-color-picker',
+					'ck-input-color',
 					bind.if( 'hasError', 'ck-error' )
 				],
 				id: bind.to( 'id' ),

+ 1 - 1
packages/ckeditor5-table/tests/ui/colorinputview.js

@@ -210,7 +210,7 @@ describe( 'ColorInputView', () => {
 
 		it( 'should set the template', () => {
 			expect( view.element.classList.contains( 'ck' ) ).to.be.true;
-			expect( view.element.classList.contains( 'ck-input-color-picker' ) ).to.be.true;
+			expect( view.element.classList.contains( 'ck-input-color' ) ).to.be.true;
 			expect( view.element.firstChild ).to.equal( inputView.element );
 			expect( view.element.lastChild ).to.equal( view._dropdownView.element );
 		} );

+ 1 - 1
packages/ckeditor5-table/theme/colorinput.css

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  */
 
-.ck.ck-input-color-picker {
+.ck.ck-input-color {
 	width: 100%;
 	display: flex;