Ver código fonte

Updated class names to follow project naming guidelines. Fixes #63.

Aleksander Nowodzinski 9 anos atrás
pai
commit
0ccb9d3666

+ 1 - 1
packages/ckeditor5-ui/src/editorui/boxed/boxededitoruiview.js

@@ -56,7 +56,7 @@ export default class BoxedEditorUIView extends EditorUIView {
 				{
 					tag: 'div',
 					attributes: {
-						class: 'ck-editor__top ck-reset-all',
+						class: 'ck-editor__top ck-reset_all',
 						role: 'presentation'
 					}
 				},

+ 1 - 1
packages/ckeditor5-ui/src/editorui/editoruiview.js

@@ -51,7 +51,7 @@ export default class EditorUIView extends View {
 
 		new Template( {
 			attributes: {
-				class: 'ck-body ck-reset-all'
+				class: 'ck-body ck-reset_all'
 			}
 		} ).apply( bodyElement );
 

+ 1 - 1
packages/ckeditor5-ui/src/iconmanager/iconmanagerview.js

@@ -24,7 +24,7 @@ export default class IconManagerView extends View {
 			tag: 'svg',
 			ns: 'http://www.w3.org/2000/svg',
 			attributes: {
-				class: 'ck-icon-manager-sprite'
+				class: 'ck-icon-manager__sprite'
 			}
 		} );
 

+ 1 - 1
packages/ckeditor5-ui/tests/iconmanager/iconmanagerview.js

@@ -27,7 +27,7 @@ describe( 'IconManagerView', () => {
 	describe( 'constructor', () => {
 		it( 'creates element from template', () => {
 			expect( view.element.tagName ).to.equal( 'svg' );
-			expect( view.element.getAttribute( 'class' ) ).to.equal( 'ck-icon-manager-sprite' );
+			expect( view.element.getAttribute( 'class' ) ).to.equal( 'ck-icon-manager__sprite' );
 		} );
 	} );