Browse Source

Changed CSS class name of LinkForm component region.

Oskar Wrobel 9 years ago
parent
commit
a7e38f6b96

+ 2 - 2
packages/ckeditor5-link/src/ui/linkformview.js

@@ -34,12 +34,12 @@ export default class LinkFormView extends FormView {
 				tag: 'div',
 				attributes: {
 					class: [
-						'ck-link-form_actions'
+						'ck-link-form-actions'
 					]
 				}
 			}
 		];
 
-		this.register( 'actions', 'div.ck-link-form_actions' );
+		this.register( 'actions', 'div.ck-link-form-actions' );
 	}
 }

+ 1 - 1
packages/ckeditor5-link/tests/ui/linkformview.js

@@ -28,7 +28,7 @@ describe( 'LinkFormView', () => {
 
 		it( 'should register "actions" region', () => {
 			expect( view.regions.get( 1 ).name ).to.equal( 'actions' );
-			expect( view.regions.get( 1 ).element ).to.equal( view.element.querySelector( '.ck-link-form_actions' ) );
+			expect( view.regions.get( 1 ).element ).to.equal( view.element.querySelector( '.ck-link-form-actions' ) );
 		} );
 	} );
 } );

+ 1 - 1
packages/ckeditor5-link/theme/components/linkballoonpanel.scss

@@ -5,7 +5,7 @@
 	padding: ck-spacing();
 
 	// Box to accommodate buttons.
-	.ck-link-form_actions {
+	.ck-link-form-actions {
 		clear: both;
 		padding-top: ck-spacing();