Sfoglia il codice sorgente

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

Aleksander Nowodzinski 9 anni fa
parent
commit
e7503a28ec
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      packages/ckeditor5-ui/src/editableui/editableuiview.js

+ 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' ) ]
 			}
 		} );
 	}