Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Commit 4dac786

Browse files
committed
Renamed the 'cke-' CSS class prefix to 'ck-'.
1 parent f38ae70 commit 4dac786

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/editorui/boxed/boxededitoruiview.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export default class BoxedEditorUIView extends EditorUIView {
6767
role: 'application',
6868
dir: 'ltr',
6969
lang: locale.language,
70-
'aria-labelledby': `cke-editor__aria-label_${ ariaLabelUid }`
70+
'aria-labelledby': `ck-editor__aria-label_${ ariaLabelUid }`
7171
},
7272

7373
children: [
@@ -106,8 +106,8 @@ export default class BoxedEditorUIView extends EditorUIView {
106106

107107
voiceLabel.extendTemplate( {
108108
attributes: {
109-
id: `cke-editor__aria-label_${ ariaLabelUid }`,
110-
class: 'cke-voice-label'
109+
id: `ck-editor__aria-label_${ ariaLabelUid }`,
110+
class: 'ck-voice-label'
111111
}
112112
} );
113113

tests/editorui/boxed/boxededitoruiview.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ describe( 'BoxedEditorUIView', () => {
3232
expect( view.element.classList.contains( 'ck-rounded-corners' ) ).to.be.true;
3333
expect( element.attributes[ 'aria-labelledby' ].value )
3434
.to.equal( view.element.firstChild.id )
35-
.to.match( /^cke-editor__aria-label_\w+$/ );
35+
.to.match( /^ck-editor__aria-label_\w+$/ );
3636
} );
3737

3838
it( 'bootstraps the voice label from template', () => {
3939
const voiceLabel = view.element.firstChild;
4040

41-
expect( voiceLabel.classList.contains( 'cke-voice-label' ) ).to.be.true;
41+
expect( voiceLabel.classList.contains( 'ck-voice-label' ) ).to.be.true;
4242
expect( voiceLabel.textContent ).to.equal( 'Rich Text Editor' );
4343
} );
4444

theme/components/label/label.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
display: block;
88
}
99

10-
.cke-voice-label {
10+
.ck-voice-label {
1111
display: none;
1212
}

0 commit comments

Comments
 (0)