Переглянути джерело

Fixed: Reverted class attribute definition in EditableUIView back to array form for better extensibility.

Aleksander Nowodzinski 9 роки тому
батько
коміт
e7503a28ec

+ 1 - 1
packages/ckeditor5-ui/src/editableui/editableuiview.js

@@ -49,7 +49,7 @@ export default class EditableUIView extends View {
 		this.applyTemplateToElement( editableElement, {
 			attributes: {
 				contenteditable: bind.to( 'isEditable' ),
-				class: bind.to( 'isFocused', value => value ? 'ck-focused' : 'ck-blurred' )
+				class: [ bind.to( 'isFocused', value => value ? 'ck-focused' : 'ck-blurred' ) ]
 			}
 		} );
 	}