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

Use contenteditable instead of contentEditable attribute in EditableUIView class to enable editing.

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

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

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